Hello,

This is a reply to an e-mail that you wrote on Mon, 16 Jun 2003 at 23:03,
lines prefixed by '>' were originally written by you.
> 1) Initiate Script-A through the browser.
> 2) Script-A opens a socket connection to Script-B and posts a request.
> 3) Script-B produces a formated data string based on the requst.
> 4)  Script-B then opens a socket connection to Script-A and posts the
> data.

In that case script B does not need to "open a socket connection to
Script-A" just have script B output the relevant data (e.g. using echo
statements) then adjust the function that you posted earlier so that all
the data sent back from the script (in response to your HTTP request) is
stored in a variable (a previous poster explained how to do this).  Then
split this data at a double new line, discard the first segment (this is
just the headers) and the next part will contain the output that you
require.

Hope this helps,

David.

--
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/

          Professional Web Development by David Nicholson
                    http://www.djnicholson.com/

    QuizSender.com - How well do your friends actually know you?
                     http://www.quizsender.com/
                    (developed entirely in PHP)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to