Apache2 and PHP4.3 something weird...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sinistre
Forum Newbie
Posts: 3
Joined: Sat Jun 29, 2002 3:31 pm

Apache2 and PHP4.3 something weird...

Post by sinistre »

Hi. I've set them up semi-successfully. It runs. But when doing this:

Code: Select all

http://web.site.com/index.php?test=hello

<?php
echo $test;
?>

I get no output. None. Nada. Zip. Nothing. Does anybody have any idea why??? This does work:

Code: Select all

<?php
$test = "Hello";
echo $test;
?>
Weird huh?
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

hey buddy... read the thing that says

"BEFORE POST READ:"

you need to use $_GET.. or turn on global variables
Post Reply