|
Posted by .:J:. on 06/10/06 12:51
"Geoff Berrow" <blthecat@ckdog.co.uk> wrote in message
news:q7fl82dqs6qjiudn9dmri0lhur3ep36oc0@4ax.com...
> Message-ID: <4487cebc$0$74096$edfadb0f@dread14.news.tele.dk> from .:J:.
> contained the following:
>
>>For example: I get this URL returned "/content" if the url requested is
>>"www.domain/content". Is there a setting I can use to avoid the backslash
>>?
>
> print str_replace("/","",strrchr("www.domain/content", "/"));
>
> --
> Geoff Berrow 0110001001101100010000000110
> 001101101011011001000110111101100111001011
> 100110001101101111001011100111010101101011
Hi Geoff
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 ?
Best regards
Jakob
Navigation:
[Reply to this message]
|