Home > Archive > PHP Language > May 2006 > $_SERVER['REDIRECT_URL']
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
$_SERVER['REDIRECT_URL']
|
|
| Hugh Janus 2006-05-18, 3:57 am |
| Hello, I have made a .htaccsess file with the following in it:
ErrorDocument 404 http://jaxair.com/www2/status/status.php
And the status.php has the code:
$url = $_SERVER['REDIRECT_URL'];
Now I read, in the folder if I make up a filename it would redirect the the
status.php (eg. fake.php) which it does but the $url comes up status.php and
not the fake.php.
Anything I am doing wrong??
Thanks
BW
| |
| Hugh Janus 2006-05-19, 9:57 pm |
| Fixed now
"Hugh Janus" <hugh_janus@bigfoot.com> wrote in message
news:446c2afd$1@news01.wxnz.net...
> Hello, I have made a .htaccsess file with the following in it:
> ErrorDocument 404 http://jaxair.com/www2/status/status.php
>
> And the status.php has the code:
>
> $url = $_SERVER['REDIRECT_URL'];
>
> Now I read, in the folder if I make up a filename it would redirect the
> the status.php (eg. fake.php) which it does but the $url comes up
> status.php and not the fake.php.
>
> Anything I am doing wrong??
>
> Thanks
> BW
>
|
|
|
|
|