|
Posted by Gordon Burditt on 11/28/05 00:53
>I was not able to find the answer to my question in the CURL
>documentation. I understand that it may not be possible to do this
>using php.
>
>My script would get a request via POST from a client. The client would
>wait for response. In order for me to respond, I need to get a handle
>to the initial connection.
If your page is running under PHP, you already have a connection.
Output something (say, with echo or header() or something).
>This may not be possible. I think that this
>type of situations are usually handled via a coordinating daemon.
If you are making an outgoing connection to something (with, say,
fopen on a remote URL) and want to copy the response IT sends to
the request you got, look at fpassthru().
Otherwise, I don't understand your problem.
Gordon L. Burditt
Navigation:
[Reply to this message]
|