|
Posted by .:J:. on 06/10/06 13:29
> Lose the quotes.
>
> <? php print
> str_replace("/","",strrchr($HTTP_SERVER_VARS['REQUEST_URI'], "/"));?>
> ?>
>
> This might work too.
>
> <? php print
> str_replace("/","",strrchr($_SERVER['REQUEST_URI'], "/"));?>
> ?>
> --
> Geoff Berrow 0110001001101100010000000110
> 001101101011011001000110111101100111001011
> 100110001101101111001011100111010101101011
Hi Geoff
It worked.
Now, how about if I'd like to remove "%20" from the URL also. so that
www.domain.com/content%20here would result in "content here" ??
I think it's a matter of multiple string replace ? How do I do that
Rgds
Jakob
Navigation:
[Reply to this message]
|