php-windows | 2002071
Date: 07/12/02
- Next message: milton thomas: "[PHP-WIN] formatted textareas"
- Previous message: Brian Huff: "[PHP-WIN] Re: Available PHP Whitepapers"
- In reply to: fungi: "[PHP-WIN] strange error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
It seems that your variables are not set as global.. check your php.ini file
and set global variables on.
"Fungi" <fungi8210 <email protected>> wrote in message
news:20020711021428.49674.qmail <email protected>
> 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
- Next message: milton thomas: "[PHP-WIN] formatted textareas"
- Previous message: Brian Huff: "[PHP-WIN] Re: Available PHP Whitepapers"
- In reply to: fungi: "[PHP-WIN] strange error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

