This can be a very strange problem. I've an apache server on solaris with php. I authored two php scripts that return values. Sometimes, after i run the php scripts web addresses on a single time, the apache server returns caused by one php script towards the other php page.

I attempted to reduce the issue by write two php script:

  1. hello.php - print hello
  2. world.php - print world

sometimes after i run them on a single time by url, the hello.php return world.

when i am using html pages it's working all right and so i think the issue is within the php placed on the server.

I am a flex developer and that i believed that the issue is during my flex client application but once i just run the php scripts directly, I observe that the issue is within the server itself.

somebody know this issue? thanks greatly.

I'm possibly not responding to your question but let's say you rather than making your scripts return hello in a single and world within the other rather output something a little less static such as the time and date.

echo "Script1:".date("Y-m-d H:i:s")."<br>";

echo "Script2:".date("Y-m-d H:i:s")."<br>";

This way you will be aware if this sounds like triggered by some caching.