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:20

>> If I write this PHP:
>> <?php print('$_SERVER['.$key.'] = '.$value.'<br />'); ?>"
>> I get this in return on the webpage:
>> $_SERVER[] =
>>
>> What have I done wrong ?
>
> You forgot the foreach loop.
>
> foreach($_SERVER as $key => $value){
> print('$_SERVER['.$key.'] = '.$value.'<br />');
> }
>
> Grtz,
> --
> Rik Wasmus
>


Hi Rik

If I write this:

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

I get tons of stuff returned, but not the last par of an URL (like:
www.domain.com/LASTPART), without the backslash ?

Rgds
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

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