note 23690 modified in language.variables.predefined by philip
| From: | philip@php.net | Date: | Sun, 08 Dec 2002 02:27:05 +0000 |
| Subject: | note 23690 modified in language.variables.predefined by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-40511@lists.php.net to get a copy of this message | ||
In phpinfo(), $_SERVER['PATH_TRANSLATED'] =
"D:\htdocs\bpu\members\accountCreate.php"
but echo $_SERVER['PATH_TRANSLATED'] produces:
D:\\htdocs\\bpu\\members\\accountCreate.php
(note escaped backslashes) This is useful for in strings.
--was--
In phpinfo(), $_SERVER['path_translated'] =
"D:\htdocs\bpu\members\accountCreate.php"
but echo $_SERVER['path_translated'] produces:
D:\\htdocs\\bpu\\members\\accountCreate.php
(note double slashes)
Eric Mueller
http://themepark.com
http://www.php.net/manual/en/language.variables.predefined.php