Re: leading slash in SCRIPT_NAME variable

From: Date: Thu, 02 Mar 2006 23:50:34 +0000
Subject: Re: leading slash in SCRIPT_NAME variable
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-231388@lists.php.net to get a copy of this message
Chris wrote:
Roman Rumisek wrote:
In phpinfo page SCRIPT_NAME variable is set correctly. What have effect this variable ? May be include_path setting ?
That means something in your script is modifying it. Without seeing code nobody's going to be able to help much more than that. If it's a lot of code, every 50 lines echo out $_SERVER['SCRIPT_NAME'], or if you're using functions then print it out in every function call - see where it breaks then work backwards.
I should also say don't post all of your code to the list - use http://www.pastebin.com and send us a url. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#231388) next »