• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AquaticPrime Config.php + PayPal Advanced Variables Not Working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: AquaticPrime Config.php + PayPal Advanced Variables Not Working
      • From: Chunk 1978 <email@hidden>
References: 
 >AquaticPrime Config.php + PayPal Advanced Variables Not Working (From: Chunk 1978 <email@hidden>)

  • Prev by Date: Re: Keyword Filtering & Weekday Selection
  • Next by Date: Re: Keyword Filtering & Weekday Selection
  • Previous by thread: Re: AquaticPrime Config.php + PayPal Advanced Variables Not Working
  • Next by thread: Re: AquaticPrime Config.php + PayPal Advanced Variables Not Working
  • Index(es):
    • Date
    • Thread