Click to See Complete Forum and Search --> : Problems using ?a=a extension on web address


Delcypher
08-31-2002, 10:52 AM
hi, i just recently reinstalled apache and php and windows XP.
Apache installed fine and php installed fine. But I have a problem

if created a test file 'test.php'

<?php
echo("This will display the value of page\n $page");
?>

i then typed in the web address http://rocosite.com/test.php?page=test

It then shows nothing as if the varible doesn't exists.

to test that i added this line
if (!isset($page)) {echo("there was a problem the varible page does not exist");};


it ain't my browser because other sites that use it work with it eg.
http://tech2pc.com

Please help ME!!!
if u need phpinfo(); use address http://rocosite.com/phpinfo.php

my server isn't active all the time so i'm sorry

trooper
08-31-2002, 07:30 PM
Delcypher

Have you modified your httpd.conf file to allow apache to actually parse php files?

GM

yelvington
09-02-2002, 10:22 AM
Read the release notes that came with PHP. For security reasons, recent releases have changed the register_globals setting. Look at the manual and read up on superglobal arrays.