Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   send variable question......How....??? (http://www.go4expert.com/forums/send-variable-questionhow-t10186/)

oliverzimmerman 22Apr2008 23:50

send variable question......How....???
Hi experts....:)

How can I send variables from a PHP script to another URL using POST without using forms and hidden variables?

many thanks for any reply.....

pete_bisby 7Feb2009 01:24

Re: send variable question......How....???
.... you can't.

The whole point of populating the POST array is via a HTML form submission, whether the inputs are enter via a user or pre-populated when they are hidden.

You can either place information within the SESSION array, making the information available later on in another PHP script/page, or by using JavaScript/AJAX and posting the information dynamically.

All times are GMT +5.5. The time now is 13:52.