RE: [PHP] post vars not by form
| From: | Ralph Guzman | Date: | Sat, 10 Jan 2004 00:10:50 +0000 |
| Subject: | RE: [PHP] post vars not by form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174184@lists.php.net to get a copy of this message | ||
Use socket connection:
http://www.php.net/fsockopen
read the "User Contributed Notes" where you will find functions and
examples.
-----Original Message-----
From: Nabil [mailto:nabil.attar@aws-syria.com]
Sent: Thursday, January 08, 2004 2:07 PM
To: php-general@lists.php.net
Subject: [PHP] post vars not by form
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php