Problem in passing value
| From: | Joe Phyism | Date: | Sat, 21 Jun 2003 08:43:19 +0000 |
| Subject: | Problem in passing value | ||
| Groups: | php.lang | ||
| Request: | Send a blank email to php-lang+get-506@lists.php.net to get a copy of this message | ||
Dear all,
I am using Apache and PHP as local web server.
I have the following script as show.php
<?
if ($a==1) {
echo "True."
} else {
echo "False."
}
?>
However, when I type http://localhost/show.php?a=1, it
shows "True.", why?
Is there any problem in my setting of Apache server?
Can anyone help me? Thank you.