Could be a port restriction on the server. Do you have control over it?
I've just put up a test script which you could try and use as a proxy. It
uses port 80. If this works, then there's a 99% chance the problem you're
experiencing is at a firewall level.
Try this:
$xml =
file_get_contents('http://admin.teleduino.com/file_get_contents.php');
echo $xml;
Thanks,
Nathan.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Brendan Brink
Sent: Saturday, 21 August 2010 12:00 a.m.
To: [email protected]
Subject: Re: [phpug] cURL IP address
hi there Nathan,
thanks for that...
i tried the file_get_contents and got the following error:
Warning: file_get_contents(http://121.98.150.62:5574/MENU.XML)
[function.file-get-contents]: failed to open stream: Connection
refused in
/home/textvouchers/textvouchers/sell2cellltd/smartpanel/2326/testcurl.php
on line 5
maybe its an issue with the php server where my scripts are executed oN?
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]