how to get url ?
- From: Donny Riyadi <donnyriyadi@xxxxxxxx>
- Date: Thu, 31 Aug 2006 15:38:54 +0200
Hi,
I'm using mod_rewrite in .htaccess on my homepage.
for example :
http://www.test.com/sony
will be rewrited to
http://www.test.com/company.php?name=sony
but I don't use the R option in the .htaccess so the shown url is still
the http://www.test.com/sony
My question is : if I use $_SERVER['PHP_SELF'] I get the
/company.php?name=sony not the /sony. How to get the /sony ??
Thanks
Donny
.
- Follow-Ups:
- Re: how to get url ?
- From: Joe Molloy
- Re: how to get url ?
- Prev by Date: Re: connecting to a mssql database
- Next by Date: Re: wirte javascript in .tpl file
- Previous by thread: ucfirst
- Next by thread: Re: how to get url ?
- Index(es):