RE: [PHP] How to make HTTP call to another address?
| From: | Jay Blanchard | Date: | Tue, 13 Jul 2004 15:50:08 +0000 |
| Subject: | RE: [PHP] How to make HTTP call to another address? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-190364@lists.php.net to get a copy of this message | ||
[snip]
I've recently set up some Tomcat/Java/Servlet stuff that provides some
high-level functions I wish to make available from PHP. In other words,
from PHP, I want to make an HTTP call to an address like:
http://mycompany.com/myservlet?request=doSomething&arg1=meat&arg2=potato
es
and then use the returned stream of data to service the original PHP
request. Clear?
[/snip]
There is always cURL http://www.php.net/curl