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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com