HI, Anyone can help , how to post variables from server side .. as from php page to other without HTML form and submistion ???
i want post method , to post my vars to another php on another server , then i have to read the body that will be printed by fopen ... so i can not use Location: example : i wwant to post to www.example.com?var=1&var2=2 and then read the the body from that link .. as 1 or 0 ..
Regards
You can use PEAR's HTTP_Request class to post vars to a site (and a lot more). You could also use HTTP_Client if you need things like cookie management.
http://pear.php.net/package/HTTP_Request http://pear.php.net/package/HTTP_Client
-- paperCrane <Justin Patrin>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php