|
Posted by Geoff Berrow on 06/10/06 12:59
Message-ID: <448ac06c$0$74158$edfadb0f@dread14.news.tele.dk> from .:J:.
contained the following:
>
>This sound a bit easier, then....,,, could my php code look like this:
>
> <? php print
>str_replace("/","",strrchr("$HTTP_SERVER_VARS['REQUEST_URI']", "/"));?>
>?
>
>I tried it, but am told from my webserver that I can not edit my php-file
>with that code ?
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
Navigation:
[Reply to this message]
|