php doesn't work with variables like a.php?v=100

From: Date: Wed, 22 Jan 2003 08:16:30 +0000
Subject: php doesn't work with variables like a.php?v=100
Groups: php.install 
Request: Send a blank email to php-install+get-9778@lists.php.net to get a copy of this message
Hello, I have installed php 4.2.3 for Windows, in a Apache server ( 1.3.27 ). I think I have missed some step during the installation of php. Everything is all right, and php executes correctly things like <?php echo "Hello world"; ?> but if I want to pass a variable to other php, in this way, www.localhost.com/testing.php?test=ok and the code inside testing.php is: <?php if ($test=="ok") { // I have tried as well to put strcmp (($test, "ok") == 0) echo "it works"; } else echo "oopps, ok=$ok--"; ?> I obtain the wrong message ( oopps, ok=-- ). , so ok is null. I think I need to put something more in my httpd.conf file, what I don't know what. Any idea? Abel.

« previous php.install (#9778) next »