Posted by ChronoFish on 11/04/04 11:33
Hi Ewoud,
Those are good resources, but unfortunately they are no applicable.
Here are some more odd issues:
Background:
First of all the code is being run from
"http://someserver/project/myscript.php" and the "include" file is
"http://someserver/standard/header.php".
So yes I am including a file through the local webserver rather than
just including the php directly - this is by design (I know it sounds
strange, but the rest of the details are unimportant).
If I do a
gethostbynamel('http://someserver/')
the correct IP comes back instantly (lets say 192.168.1.50 for this
example). If I do a
file("http://192.168.1.50/project/header.php")
This will come back as expected. If I hit the box from a different
server with
file("http://someserver/project/header.php")
this will come back as expected. It's only when I do a
file("http://someserver/project/header.php")
from the server "someserver" (i.e. the script calls a script on the
same server) does the response time-out.
-CF
Navigation:
[Reply to this message]
|