RE: [PHP-WIN] strange error
| From: | Peter | Date: | Thu, 11 Jul 2002 02:52:11 +0000 |
| Subject: | RE: [PHP-WIN] strange error | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14691@lists.php.net to get a copy of this message | ||
try this..
<?
if ($submit)
{
echo("$cisco");
}
?>
and maybe add $PHP_SELF for the action.
Cheers
> -----Original Message-----
> From: fungi [mailto:fungi8210@yahoo.com.tw]
> Sent: Thursday, 11 July 2002 12:14 PM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] strange error
>
>
> I have problem testing PHP on my own server setup with IIS5.
> I tested my server with
>
> <?php
> phpinfo();
> ?>
>
> and everything goes fine, but when i test another program such as
>
> <html>
> <body>
> <form>
> <input type="text" name="cisco">
> <input type="submit">
> </form>
> <?php
> echo("$cisco");
> ?>
> </html>
>
> it prints out
>
> Notice: Undefined variable: cisco in
> c:\inetpub\wwwroot\fungi.php3 on line 8
>
> but when i tested it on my schools' server, it runs fine..
>
> why is this happening?
>
> ps. i am using the latest PHP version
>
>
>
>
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>