What is the OS and webserver you are running the script on e.g. Apache, IIS or other ?
Update: I ask because of this
In reply to Re^5: url results by poj in thread url results by bigup401