hi there,

this is the first time, the scripts arent working as they should, even with register_globals setted to ON.

file temp.php looks like this:

<?php 
  echo $var; 
?>

now, if i want to access to this file like this:

localhost/temp.php?var=12345

the browser returns me: the page cannot be found 😒

register_globals are ON and still not working.-. what must i set or edit?

runing windows xp with iis. i know i did something in php.ini once, then the scripts worked, but i don't know what?

please help,

thanks

    Did you restart Apache ( or other server ) after making the change?

    And if you get a page not found error... then its not a PHP problem, its a problem of the server not running / not returning pages. Check tos ee if Apache is started.

    You really SHOULD NOT use Register Globals anyway, use the $GET and $POST variables instead.

      i didn't have php installed on apache but iis on windows xp.

      i didn't have that problems with server EVER, so i don't know what to change or edit?

        it isn't the script problem, because it doesn't even show me the script or blank screen but the PAGE CANNO BE FOUND page 😐

        so,.. i don't know what's wrong😐

        if there is a query_string, the site doesn't work 😐

          Did you follow the install.txt instructions? It shows you exactly what you need to do to make IIS parse php files, including the restart of IIS (probably should restart the whole system since it is Windows). If you follow the instructions in install.txt and you use the zip file from php.net (not the exe or any other install file), it should be up and running in about 5 minutes max.

            i dl-ed exe file as i always do! and it always worked!

            i will download zip file and will try again,..

            thanks

              Write a Reply...