Hello, I'm trying to use $_SERVER['REQUEST_URI'] that is supposed to contain the URL the user requested, but it seems to not be so on freehostia.
More precisely, i'm doing in in a 404.php page , the page redirecting works perfectly , but in the $_SERVER['REQUEST_URI'] there isn't the old address that the user requested (like it should be) but there is always "/404.php".
The same code on my localhost works well, so i think it's not a issue of source code, i think.
There is a way to get it to work (or a workaround)?
Thanks , have a nice day.
|