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
$REQUEST_URI working online and not working on localhost
Moderator: General Moderators
runon both your server and your desktop pc.
Then read http://de2.php.net/security.globals
Code: Select all
<?php echo 'register_globals: ', ini_get('register_globals') ? 'on':'off'; ?>Then read http://de2.php.net/security.globals