开发者

Problem accessing PayPal form variable

I'm trying to get this post开发者_StackOverflow社区 value of this variable, but I can't access it.

<input type="hidden" name="on0" value="url">

I've tried $_POST['on0'] but it's not working


If the form action is POST then using $_POST['on0'] should work. (If the action is GET, you'll need to use $_GET['on0'].)

If neither of these are working, then it's likely that there is no value stored (i.e.: that the "url" is blank) or that the element name isn't "on0".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜