Re: leading slash in SCRIPT_NAME variable
| From: | Chris | Date: | Thu, 02 Mar 2006 23:48:05 +0000 |
| Subject: | Re: leading slash in SCRIPT_NAME variable | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231387@lists.php.net to get a copy of this message | ||
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.
Rumisek Chris wrote:-- Postgresql & php tutorials http://www.designmagick.com/Roman Rumisek wrote:Hi, i have configured apache 2.0.50 with mod_php 4.4.2 and $_SERVER['SCRIPT_NAME'] beginning with /// (three slash). Where have i a error ? (probably configuration) Application apache configuration: Alias /trsklad/ /.../projects/akce/src/html/ <Directory /.../projects/akce/src/html/>I don't think it's apache. Are you seeing this in a phpinfo page or in your code somewhere? If you're not using a phpinfo page then create one and see if it's in there first.AllowOverride All Order deny,allow Deny from all Allow from 127.0.0.1</Directory> Thanks Rumisek