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.....
.... 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.