""phpman"" <[EMAIL PROTECTED]> wrote:
> All the docs i've looked at for parsing XML takes a file as input. What's
> the proceedure for
> opening a socket connection and doing XML transmissions via TCP/IP. Do I
> need to do
> socket calls through PHP to open an XML connection (manually send all the
> HTTP headers
> and such?). Is there a built in function ; any place with these modules
> already
> written ; or should I just write them myself?
>
> -Dave

If you want to use sockets to get your XML file, see
<http://www.php.net/manual/en/ref.sockets.php>. But more than likely you
just want to get it over HTTP (without handling the sockets yourself). In
this case, you can just use fopen to get a file at a URL. See
<http://www.php.net/manual/en/function.fopen.php>.

Dean.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to