PHP Question
I have a question that I cannot find the right approach to answer on my own:
Let's say that I server1 hosts a webpage called hello.php. When hello.php is accessed, it needs to send a variable ($test) to a page on server2 named hello2.php. What method can php use to accomplish this? |
BTW... I don't need anyone really to write out the code, just t point me in the right direction.... like curl or something maybe...?
|
Why don't you pass it through get? I believe you can send the var using HTTP_REQUEST,
by just $_GET - ing it. EDIT: I just read more about HTTP_REQUEST http://pear.php.net/manual/en/packag...client.get.php http://pear.php.net/manual/en/packag...lient.post.php I believe post is more suitable. Hope this helps. |
All times are GMT -5. The time now is 05:34 AM. |