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 Rik on 06/09/06 08:55

..:J:. wrote:
> I'd need a little help here. I'd like to get everything but the
> domain and the first backslash. As the example earlier, i'd like to
> get "content" returned not "/content".
>
> So, instead of writing:
>
> <?php echo $HTTP_SERVER_VARS['REQUEST_URI']; ?>
>
> I'd need to do what ?

foreach($_SERVER as $key => $value){
print('$_SERVER['.$key.']' = '.$value.'<br />');
}

Take your pick...

Grtz,
--
Rik Wasmus

 

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

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