开发者

Problem accessing PayPal form variable

开发者 https://www.devze.com 2023-02-14 22:44 出处:网络
I\'m trying to get this post开发者_StackOverflow社区 value of this variable, but I can\'t access it.

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

精彩评论

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