Re: Calling http from within php
| From: | O. | Date: | Tue, 25 Jul 2000 15:30:26 +0000 |
| Subject: | Re: Calling http from within php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-8060@lists.php.net to get a copy of this message | ||
""Donald French"" <dhf@myonramp.net> wrote in message
news:00dd01bff646$8c1b3480$dca8a8c0@faxnet.cp...
>I need to be able to call another http server from within php. The output
from this second server needs to be processed prior to sending it to the
original caller.
>Can this be done in php?
What on earth is "calling another http server"? If you mean you need to get
data from an HTTP server, yes, PHP can do that. Easily. See fopen() in the
manual at www.php.net
>Also I need to open two sockets, one as the server side and one as the
client side. These are talking to an image server requesting an image,
then accepting it. This actually follows the FTP protocol. Can this also
be done in php.
Yes, PHP can do this too. See the manual under FTP functions.
The manual is a wonderful thing.
--
O.