Page 1 of 1

Problems to get PHP-parameters to work

Posted: Wed Jan 01, 2003 12:44 pm
by bawen
Just installed PHP 4.2.2 in a standard RedHat8.0 installation with Apache 2.0.40 and have problems with parameter tranfer to PHP. Is there a "trick" to get it working? I assumed this was really standard (and simple).

My test case with test.php

Code: Select all

<?php
print ("Hello world $hi");
?>
results in
Hello world

when requesting
http://myweb/test.php?hi=Donald

I can not see my Donald!

Posted: Thu Jan 02, 2003 4:06 am
by laserlight
probably a case of register_globals set to off in php.ini, as is the default in PHP 4.2 series onwards.

you might want to read: viewtopic.php?t=511