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]
|