$REQUEST_URI working online and not working on localhost
Posted: Fri Oct 27, 2006 6:19 am
Hi all,
I am trying to make work locally a site which is online and working.
Both online and locally I use php 4.4.1 and mysql 3.23.58 (server in Linux, local WinXp).
While all seems working, I have a problem with this line not working locally in index.php:
$nowurl=rawurlencode($REQUEST_URI);
when I try locally to display it in order to check, it gives blank, while online it shows: %2Findex.php
I think it may be the php.ini but I have no idea what to touch.
Any idea would be welcomed!
Thank you!
Luca
I am trying to make work locally a site which is online and working.
Both online and locally I use php 4.4.1 and mysql 3.23.58 (server in Linux, local WinXp).
While all seems working, I have a problem with this line not working locally in index.php:
$nowurl=rawurlencode($REQUEST_URI);
when I try locally to display it in order to check, it gives blank, while online it shows: %2Findex.php
I think it may be the php.ini but I have no idea what to touch.
Any idea would be welcomed!
Thank you!
Luca