Afficher un message
Vieux 12/09/2007, 11h17   #1
mmarlow@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut file_get_contents() or file() not working with URL on same server

Hi all,
I'm trying to get the contents of a file from a URL using
file_get_contents() or file(). It doesn't work, it eventually just
times out. It used to display a 'failed to open file' message but now
returns nothing at all.

- it works with any site that's not on our server, eg: google.com
- allow_url_fopen is ON (proven with the above test)
- we have two load balanced servers with identical settings, could
this be an issue?

Thanks,
Mat Marlow

  Réponse avec citation
 
Page generated in 0,04006 seconds with 9 queries