Your best bet would probably be to use the environment variables
getenv("REQUEST_URI") will get you the URL minus the host name, so
basically it's the relative path.
getenv("HTTP_HOST") will return the hostname (www.whatever.com)
Hope this helps.
Regards,
Matt
At 09:40 AM 2/9/2001, you wrote
Well... $PHPSELF gives the full url to the current webpage..so if you are
at:
http://gamedesign.incagold.com/index.php
then $PHPSELF = http://gamedesign.incagold.com/index.php
- John Vanderbeck
- Admin, GameDesign
- Original Message -
From: "Jason Jacobs" <[EMAIL PROTECTED]>
To: <[EMAIL
2 matches
Mail list logo