Re: [PHP-WIN] send XML thru POST

2004-06-11 Thread Svensson, B.A.T. (HKG)
to do a DNS lookup. > > -Original Message- > From: Joakim Ling, Lokalguiden > To: Svensson, B.A.T. (HKG); [EMAIL PROTECTED] > Sent: 11-6-2004 9:52 > Subject: Re: [PHP-WIN] send XML thru POST > > Warning: fsockopen(): php_network_getaddresses: gethostbyname faile

Re: [PHP-WIN] send XML thru POST

2004-06-11 Thread Joakim Ling, Lokalguiden
have probaly sumbited and URL instead of a host address then. Or your host address is invalid - try the IP# of the host - this may indicate a problem to do a DNS lookup. -Original Message- From: Joakim Ling, Lokalguiden To: Svensson, B.A.T. (HKG); [EMAIL PROTECTED] Sent: 11-6-2004 9:52

RE: [PHP-WIN] send XML thru POST

2004-06-11 Thread Svensson, B.A.T. (HKG)
:52 Subject: Re: [PHP-WIN] send XML thru POST Warning: fsockopen(): php_network_getaddresses: gethostbyname failed in c:\inetpub\wwwroot\tmp\telia.php on line 3 Warning: fsockopen(): unable to connect to :80 in c:\inetpub\wwwroot\tmp\telia.php on line 3 Åtgärden har slutförts. (0) Its like it cant

Re: [PHP-WIN] send XML thru POST

2004-06-11 Thread Joakim Ling, Lokalguiden
works. Any ideas? "B.A.T. Svensson" <[EMAIL PROTECTED]> skrev i meddelandet news:<[EMAIL PROTECTED]>... > And what is the error message you get then? > > -Original Message- > From: Joakim Ling, Lokalguiden > To: [EMAIL PROTECTED] > Sent: 11-6-2004

RE: [PHP-WIN] send XML thru POST

2004-06-11 Thread Svensson, B.A.T. (HKG)
And what is the error message you get then? -Original Message- From: Joakim Ling, Lokalguiden To: [EMAIL PROTECTED] Sent: 11-6-2004 9:21 Subject: [PHP-WIN] send XML thru POST Hi Im tring to send XML thru POST to a server. I have a demo in asp that works fine but how do I write this in

[PHP-WIN] send XML thru POST

2004-06-11 Thread Joakim Ling, Lokalguiden
Hi Im tring to send XML thru POST to a server. I have a demo in asp that works fine but how do I write this in php. This is the ASP demo sXML = "\r\n"); } else { if ($fp) { fputs($fp, "POST /$sUrl HTTP/1.0\r\n"); fputs($fp, "Content-Type: text/xml\r\n"); fputs($fp, "Content-Length: ".strl