php_tricks
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
php_tricks [2014/08/07 17:35] – juckins | php_tricks [2015/10/24 22:33] – juckins | ||
---|---|---|---|
Line 5: | Line 5: | ||
$url_base = $_SERVER[' | $url_base = $_SERVER[' | ||
- | # The web host | + | # The web host \\ |
$host = $_SERVER[' | $host = $_SERVER[' | ||
+ | |||
+ | # Just the path of the URL without the filename \\ | ||
+ | $path = substr($_SERVER[' | ||
More info on parsing the URL: http:// | More info on parsing the URL: http:// |
php_tricks.txt · Last modified: 2018/11/01 21:32 by juckins