[PHP] question on getting URL

2005-01-30 Thread David Banning
I have a script called index.php on my main page and it actually is used to launch several webpages like so; http://mysite.com/index.php?id=16 When http://mysite.com runs it still uses index.php. but it doesn't show it in the address bar. All it shows is; http://mysite.com What I would like to

Re: [PHP] question on getting URL

2005-01-30 Thread Matthew Fonda
$file = basename(_FILE_); On Sun, 2005-01-30 at 01:26, David Banning wrote: I have a script called index.php on my main page and it actually is used to launch several webpages like so; http://mysite.com/index.php?id=16 When http://mysite.com runs it still uses index.php. but it doesn't