Re: AquaticPrime Config.php + PayPal Advanced Variables Not Working
Re: AquaticPrime Config.php + PayPal Advanced Variables Not Working
- Subject: Re: AquaticPrime Config.php + PayPal Advanced Variables Not Working
- From: Sherm Pendley <email@hidden>
- Date: Tue, 3 Feb 2009 20:56:38 -0500
On Feb 3, 2009, at 7:21 PM, Chunk 1978 wrote:
$appLicense = $_POST["appLicense"];
Try this instead:
$appLicense = $_GET["appLicense"];
isn't this the correct method to incorporate
customized php variables with the AquaticPrime scripts?
It depends. When an HTML form has a "method" attribute with a value of
"POST", the form will be submitted using the HTTP POST method, and (in
PHP) the form inputs will be found in $_POST.
When you link to an ordinary URL with a query string, such as "http://foo.example/whatever.php?appLicense=Bar
", the HTTP GET method is used to send the request, and the input from
the query string is in $_GET.
If you want the receiving script to handle either one, use $_REQUEST,
which includes the contents of both $_POST and $_GET, as well as
$_COOKIES.
sherm--
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden