Pass post data from a PHP script.
Posted: Mon Jan 15, 2007 11:28 am
Is there anyway to pass post data from PHP, with the header function, or with any other method.
Background:-
I've got a form which posts data to a PHP script. The script then validates the data. If there's an error it goes back to the form. If there's no error it does some db updates. I need it to then pass the relivent information to paypal. Paypal take this information in the form of hidden fields in a post form. But I don't want to build a page with the FORM and a 'click here to contiue' button, I want to do it all on the server side with PHP.
Any ideas.
Background:-
I've got a form which posts data to a PHP script. The script then validates the data. If there's an error it goes back to the form. If there's no error it does some db updates. I need it to then pass the relivent information to paypal. Paypal take this information in the form of hidden fields in a post form. But I don't want to build a page with the FORM and a 'click here to contiue' button, I want to do it all on the server side with PHP.
Any ideas.