note 53768 added to reserved.variables
| From: | arnan18-at-zerocom-dot-nl at osu1 dot php dot net | Date: | Sun, 12 Jun 2005 18:34:00 +0000 |
| Subject: | note 53768 added to reserved.variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-90313@lists.php.net to get a copy of this message | ||
$_SERVER['HTTP_HOST'] does return te complete file path on a normal address.
example output www.zerocom.ath.cx/files/
BUT, i noticed that this does not nessesarily works on subdomains. As i discovered, its not working
on my servers.
It just returns the base url : scripts.zerocom.ath.cx .
----
Manual Page -- http://www.php.net/manual/en/reserved.variables.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+53768
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53768&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53768&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53768&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53768&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53768&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+53768&report=yes
Search -- http://master.php.net/manage/user-notes.php