Search found 2 matches

by Hyper
Mon Jan 15, 2007 1:37 pm
Forum: PHP - Code
Topic: Pass post data from a PHP script.
Replies: 5
Views: 755

You need to send a POST request to PayPal with your data, thus emulating FORM behavior. There are facilities in cURL and PEAR to do this. If they aren't available to you then you'll have to write custom function for that. Don't worry, someone has already done that. Take a look here.
by Hyper
Mon Jan 15, 2007 1:11 pm
Forum: PHP - Code
Topic: Returning a Variable From A Remote Script--Help!
Replies: 6
Views: 710

Kieran's way results in that line being echoed, not parsed in any way. I don't know why so I used some other way. remote script which is exporting some useful (not in this case :lol:) data: $fruits = array( 'apple', 'banana', ); var_export($fruits); // prints parsable contents of the variable above ...