Hi,
I wrote the following simple php script called welcome.php
<?php
if ($name){
echo "Welcome to php, $name <br>";
}
else {
echo "Welcome to php, stranger <br>";
};
?>
when I ran it using http://localhost/welcome.php?name=aaron
the result was always "Welcome to php, stranger", while it was supposed to be "Welcome to php, aaron".
I am wondering what I did wrong....
It appears that the apache server did not pass the name=value string to the php module.
Really appreciate it if you would let me know how to solve this problem. I am running Apache2 on a linux box with PHP4 installed.
Thanks,
Aaron
😕