Re: [PHP] Can PHP do this? -- w/o using event handler

2008-03-03 Thread Brice
On Mon, Mar 3, 2008 at 8:57 AM, Louie Miranda [EMAIL PROTECTED] wrote: Could PHP do.. 1. Connect and send a parameter to a remote host 2. Wait for the host to reply -- not using event handler 3. Send XML data to the host Probably with a socket : http://php.net/manual/en/ref.sockets.php

RE: [PHP] Can PHP do this? -- w/o using event handler

2008-03-03 Thread Bastien Koert
sure, user curl (www.php.net/curl) bastien Date: Mon, 3 Mar 2008 15:57:19 +0800 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] Can PHP do this? -- w/o using event handler Could PHP do.. 1. Connect and send a parameter to a remote host 2. Wait for the host

Re: [PHP] Can PHP do this? -- w/o using event handler

2008-03-03 Thread Richard Lynch
On Mon, March 3, 2008 1:57 am, Louie Miranda wrote: Could PHP do.. 1. Connect and send a parameter to a remote host 2. Wait for the host to reply -- not using event handler 3. Send XML data to the host ?php $xml = file_get_contents(/path/to/file.xml); $s = fsockopen(remote host here); $reply

Re: [PHP] Can PHP do this? -- w/o using event handler

2008-03-03 Thread Louie Miranda
Thanks everyone. I think, I will go with the sockets. Louie On Tue, Mar 4, 2008 at 12:36 AM, Richard Lynch [EMAIL PROTECTED] wrote: On Mon, March 3, 2008 1:57 am, Louie Miranda wrote: Could PHP do.. 1. Connect and send a parameter to a remote host 2. Wait for the host to reply -- not

[PHP] Can PHP do this? -- w/o using event handler

2008-03-02 Thread Louie Miranda
Could PHP do.. 1. Connect and send a parameter to a remote host 2. Wait for the host to reply -- not using event handler 3. Send XML data to the host -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :)