Problems to get PHP-parameters to work

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
bawen
Forum Newbie
Posts: 5
Joined: Wed Jan 01, 2003 12:44 pm
Location: Trollhättan, Sweden

Problems to get PHP-parameters to work

Post 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!
laserlight
Forum Commoner
Posts: 28
Joined: Wed Jan 01, 2003 6:41 am

Post 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
Post Reply