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