Jump to content

gptimajo

New Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by gptimajo

  1. Hi Guys!

     

    I'm new here at PHPFreaks, I have this problem using simplexml_load_file function.

     

    I am retrieving an XML from another sub-domain of my project, it's working fine on my local server (win xp, php 5.2.14) but when I try to execute it on our testing server (linux, php 5.2.14) it returns an error something like this..

     

    Warning: simplexml_load_file() [function.simplexml-load-file]: failed to open stream: Connection timed out in [absolute path of the script] on line 3

     

    i have tried cURL and file_get_contents, still get no luck.

     

    please note that the XML is validated via w3c.org and works really fine on my local server..

     

    Thanks in advanced!

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.