Passing variables between PHP scripts
Posted: Sun Nov 21, 2010 1:53 pm
I don't know much about php (I understand programming in general but don't know php syntax). I need to pass variables from one php script to another (on different domain). Esentially, some variables will be returned to my first script from PayPal IPN, and that first php script will decide to what web site php script to send data passed from PayPal. I'll figure out how to if statements or loops, if necessary, but I need to know how the syntax look for passing data to second script.
Let say first php script is called first.php, and variables "value" and "price" are passed from paypal to first.php (first.php is on server datafirst.com). Now I need to pass those same variables to datasecond.com php script called second.php).
How would the syntax for sending data look like in first.php?
Let say first php script is called first.php, and variables "value" and "price" are passed from paypal to first.php (first.php is on server datafirst.com). Now I need to pass those same variables to datasecond.com php script called second.php).
How would the syntax for sending data look like in first.php?