php-windows | 2002071
Date: 07/10/02
- Next message: fungi: "Re: [PHP-WIN] strange error"
- Previous message: fungi: "Re: [PHP-WIN] strange error"
- In reply to: fungi: "Re: [PHP-WIN] strange error"
- Next in thread: fungi: "Re: [PHP-WIN] strange error"
- Reply: fungi: "Re: [PHP-WIN] strange error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
have you tried restarting IIS since u changed the register globals?
> -----Original Message-----
> From: fungi [mailto:fungi8210 <email protected>]
> Sent: Thursday, 11 July 2002 1:33 PM
> To: php-windows <email protected>
> Subject: Re: [PHP-WIN] strange error
>
>
> is register_globals suppose to be on or off?
> I heard of it is set to on will cause some security problem
> "Fungi" <fungi8210 <email protected>> ¼¶¼g©ó¶l¥ó·s»D
> :20020711033201.6519.qmail <email protected>
> > yes it is on
> >
> > "Peter" <php <email protected>>
> > ???????:DPEPKCNEFOKBCNNANCIPEEEDCFAA.php <email protected>
> > > am not sure... it works fine for me ...
> > >
> > > do you have allow_call_time_pass_reference set to on? in php.ini?
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: fungi [mailto:fungi8210 <email protected>]
> > > > Sent: Thursday, 11 July 2002 12:54 PM
> > > > To: php-windows <email protected>
> > > > Subject: Re: [PHP-WIN] strange error
> > > >
> > > >
> > > > still doesn't work..
> > > > i changed the register_globals from "off" to "on" in php.ini
> > > > and tested the original code. This time it works, but it still
> displays
> > > > undefined variable "cisco"
> > > >
> > > > why?
> > > >
> > > >
> > > >
> > > > "Peter" <php <email protected>>
> > > > ???????:DPEPKCNEFOKBCNNANCIPGEEBCFAA.php <email protected>
> > > > > try this..
> > > > >
> > > > > <?
> > > > > if ($submit)
> > > > > {
> > > > > echo("$cisco");
> > > > > }
> > > > > ?>
> > > > > and maybe add $PHP_SELF for the action.
> > > > >
> > > > >
> > > > > Cheers
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: fungi [mailto:fungi8210 <email protected>]
> > > > > > Sent: Thursday, 11 July 2002 12:14 PM
> > > > > > To: php-windows <email protected>
> > > > > > 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
> > > > > >
> > > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > > >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
- Next message: fungi: "Re: [PHP-WIN] strange error"
- Previous message: fungi: "Re: [PHP-WIN] strange error"
- In reply to: fungi: "Re: [PHP-WIN] strange error"
- Next in thread: fungi: "Re: [PHP-WIN] strange error"
- Reply: fungi: "Re: [PHP-WIN] strange error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

