FreeHostia Forums

REQUEST_URI issue in php
Page 1 of 1

Author:  max_s [ Fri Mar 19, 2010 4:13 pm ]
Post subject:  REQUEST_URI issue in php

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.

Author:  gotcha41 [ Sat Jul 17, 2010 3:38 pm ]
Post subject: 

I have the same problem and I haven't found a solution yet. What may be the cause? Other functions like $_SERVER['PHP_SELF'] work.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group