You are here: Re: $HTTP_SERVER_VARS['REQUEST_URI'] - help needed « All PHP « IT news, forums, messages
Re: $HTTP_SERVER_VARS['REQUEST_URI'] - help needed

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация