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
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 to
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
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
4 matches
Mail list logo