php-windows Digest 11 Jul 2002 13:03:15 -0000 Issue 1235
Topics (messages 14690 through 14710):
strange error
14690 by: fungi
14691 by: Peter
14692 by: fungi
14693 by: Peter
14694 by: fungi
14695 by: fungi
14696 by: Peter
14697 by: fungi
14698 by: fungi
14699 by: Honza Hejdrych
14701 by: fungi
14702 by: Peter
14703 by: Peter
14704 by: fungi
Re: Calling Windows DLL Files
14700 by: Luis Ferro
form variables ... back to the same page ?????
14705 by: toby z
14706 by: James Mclean
Re: curl_exec returning chopped up result on a POST operation
14707 by: Per
Re: Trapping PHP errors
14708 by: Per
second argument in strtotime seems to have no effect
14709 by: Per
Formless post question
14710 by: Rich Gray
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
try this..
<?
if ($submit)
{
echo("$cisco");
}
?>
and maybe add $PHP_SELF for the action.
Cheers
> -----Original Message-----
> From: fungi [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 11 July 2002 12:14 PM
> To: [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
>
>
--- End Message ---
--- Begin Message ---
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" <[EMAIL PROTECTED]>
???????:[EMAIL PROTECTED]
> try this..
>
> <?
> if ($submit)
> {
> echo("$cisco");
> }
> ?>
> and maybe add $PHP_SELF for the action.
>
>
> Cheers
>
> > -----Original Message-----
> > From: fungi [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 11 July 2002 12:14 PM
> > To: [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
> >
> >
--- End Message ---
--- Begin Message ---
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:[EMAIL PROTECTED]]
> Sent: Thursday, 11 July 2002 12:54 PM
> To: [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" <[EMAIL PROTECTED]>
> ???????:[EMAIL PROTECTED]
> > try this..
> >
> > <?
> > if ($submit)
> > {
> > echo("$cisco");
> > }
> > ?>
> > and maybe add $PHP_SELF for the action.
> >
> >
> > Cheers
> >
> > > -----Original Message-----
> > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, 11 July 2002 12:14 PM
> > > To: [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
>
>
--- End Message ---
--- Begin Message ---
yes it is on
"Peter" <[EMAIL PROTECTED]>
???????:[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:[EMAIL PROTECTED]]
> > Sent: Thursday, 11 July 2002 12:54 PM
> > To: [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" <[EMAIL PROTECTED]>
> > ???????:[EMAIL PROTECTED]
> > > try this..
> > >
> > > <?
> > > if ($submit)
> > > {
> > > echo("$cisco");
> > > }
> > > ?>
> > > and maybe add $PHP_SELF for the action.
> > >
> > >
> > > Cheers
> > >
> > > > -----Original Message-----
> > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, 11 July 2002 12:14 PM
> > > > To: [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
> >
> >
--- End Message ---
--- Begin Message ---
is register_globals suppose to be on or off?
I heard of it is set to on will cause some security problem
"Fungi" <[EMAIL PROTECTED]> 级糶秎ン穝籇
:[EMAIL PROTECTED]
> yes it is on
>
> "Peter" <[EMAIL PROTECTED]>
> ???????:[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:[EMAIL PROTECTED]]
> > > Sent: Thursday, 11 July 2002 12:54 PM
> > > To: [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" <[EMAIL PROTECTED]>
> > > ???????:[EMAIL PROTECTED]
> > > > try this..
> > > >
> > > > <?
> > > > if ($submit)
> > > > {
> > > > echo("$cisco");
> > > > }
> > > > ?>
> > > > and maybe add $PHP_SELF for the action.
> > > >
> > > >
> > > > Cheers
> > > >
> > > > > -----Original Message-----
> > > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, 11 July 2002 12:14 PM
> > > > > To: [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
> > >
> > >
>
>
--- End Message ---
--- Begin Message ---
have you tried restarting IIS since u changed the register globals?
> -----Original Message-----
> From: fungi [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 11 July 2002 1:33 PM
> To: [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" <[EMAIL PROTECTED]> 级糶秎ン穝籇
> :[EMAIL PROTECTED]
> > yes it is on
> >
> > "Peter" <[EMAIL PROTECTED]>
> > ???????:[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:[EMAIL PROTECTED]]
> > > > Sent: Thursday, 11 July 2002 12:54 PM
> > > > To: [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" <[EMAIL PROTECTED]>
> > > > ???????:[EMAIL PROTECTED]
> > > > > try this..
> > > > >
> > > > > <?
> > > > > if ($submit)
> > > > > {
> > > > > echo("$cisco");
> > > > > }
> > > > > ?>
> > > > > and maybe add $PHP_SELF for the action.
> > > > >
> > > > >
> > > > > Cheers
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Thursday, 11 July 2002 12:14 PM
> > > > > > To: [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
>
>
--- End Message ---
--- Begin Message ---
I just did...
it works, but it still says undefined variable
"Peter" <[EMAIL PROTECTED]>
???????:[EMAIL PROTECTED]
> have you tried restarting IIS since u changed the register globals?
>
> > -----Original Message-----
> > From: fungi [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 11 July 2002 1:33 PM
> > To: [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" <[EMAIL PROTECTED]> 级糶秎ン穝籇
> > :[EMAIL PROTECTED]
> > > yes it is on
> > >
> > > "Peter" <[EMAIL PROTECTED]>
> > > ???????:[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:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, 11 July 2002 12:54 PM
> > > > > To: [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" <[EMAIL PROTECTED]>
> > > > > ???????:[EMAIL PROTECTED]
> > > > > > try this..
> > > > > >
> > > > > > <?
> > > > > > if ($submit)
> > > > > > {
> > > > > > echo("$cisco");
> > > > > > }
> > > > > > ?>
> > > > > > and maybe add $PHP_SELF for the action.
> > > > > >
> > > > > >
> > > > > > Cheers
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > > > > Sent: Thursday, 11 July 2002 12:14 PM
> > > > > > > To: [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
> >
> >
--- End Message ---
--- Begin Message ---
I have searched for it on the web
and it seems like alot of new comers to php is having this problem
"Fungi" <[EMAIL PROTECTED]> 级糶秎ン穝籇
:[EMAIL PROTECTED]
> I just did...
> it works, but it still says undefined variable
> "Peter" <[EMAIL PROTECTED]>
> ???????:[EMAIL PROTECTED]
> > have you tried restarting IIS since u changed the register globals?
> >
> > > -----Original Message-----
> > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, 11 July 2002 1:33 PM
> > > To: [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" <[EMAIL PROTECTED]> 级糶秎ン穝籇
> > > :[EMAIL PROTECTED]
> > > > yes it is on
> > > >
> > > > "Peter" <[EMAIL PROTECTED]>
> > > > ???????:[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:[EMAIL PROTECTED]]
> > > > > > Sent: Thursday, 11 July 2002 12:54 PM
> > > > > > To: [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" <[EMAIL PROTECTED]>
> > > > > > ???????:[EMAIL PROTECTED]
> > > > > > > try this..
> > > > > > >
> > > > > > > <?
> > > > > > > if ($submit)
> > > > > > > {
> > > > > > > echo("$cisco");
> > > > > > > }
> > > > > > > ?>
> > > > > > > and maybe add $PHP_SELF for the action.
> > > > > > >
> > > > > > >
> > > > > > > Cheers
> > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > > > > > Sent: Thursday, 11 July 2002 12:14 PM
> > > > > > > > To: [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
> > >
> > >
>
>
--- End Message ---
--- Begin Message ---
Have a look at your PHP.INI, check ERROR HANDLING section.
You have probably set something like:
error_reporting = E_ALL & ~E_NOTICE
This setting means you will see all errors including warnings.
You should set this to (for example):
error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
This setting will show only errors on in your scripts.
hh
Dne 11. červenec 2002, fungi, <[EMAIL PROTECTED]> napsal:
> I have searched for it on the web
> and it seems like alot of new comers to php is having this problem
>
> "Fungi" <[EMAIL PROTECTED]> źśźgŠóślĽóˇsťD
> :[EMAIL PROTECTED]
> > I just did...
> > it works, but it still says undefined variable
> > "Peter" <[EMAIL PROTECTED]>
> > ???????:[EMAIL PROTECTED]
> > > have you tried restarting IIS since u changed the register globals?
> > >
> > > > -----Original Message-----
> > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, 11 July 2002 1:33 PM
> > > > To: [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" <[EMAIL PROTECTED]> źśźgŠóślĽóˇsťD
> > > > :[EMAIL PROTECTED]
> > > > > yes it is on
> > > > >
> > > > > "Peter" <[EMAIL PROTECTED]>
> > > > > ???????:[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:[EMAIL PROTECTED]]
> > > > > > > Sent: Thursday, 11 July 2002 12:54 PM
> > > > > > > To: [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" <[EMAIL PROTECTED]>
> > > > > > > ???????:[EMAIL PROTECTED]
> > > > > > > > try this..
> > > > > > > >
> > > > > > > > <?
> > > > > > > > if ($submit)
> > > > > > > > {
> > > > > > > > echo("$cisco");
> > > > > > > > }
> > > > > > > > ?>
> > > > > > > > and maybe add $PHP_SELF for the action.
> > > > > > > >
> > > > > > > >
> > > > > > > > Cheers
> > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > > > > > > Sent: Thursday, 11 July 2002 12:14 PM
> > > > > > > > > To: [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
> > > >
> > > >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
______________________________________________________________________
Reklama:
Jake bude pocasi? http://pocasi.seznam.cz
--- End Message ---
--- Begin Message ---
yes it works now, thanks
but is this just hiding the error?
why do i get errors at the start?
"Honza hejdrych" <[EMAIL PROTECTED]>
???????:[EMAIL PROTECTED]
Have a look at your PHP.INI, check ERROR HANDLING section.
You have probably set something like:
error_reporting = E_ALL & ~E_NOTICE
This setting means you will see all errors including warnings.
You should set this to (for example):
error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
This setting will show only errors on in your scripts.
hh
Dne 11. 鑕rvenec 2002, fungi, <[EMAIL PROTECTED]> napsal:
> I have searched for it on the web
> and it seems like alot of new comers to php is having this problem
>
> "Fungi" <[EMAIL PROTECTED]> 级糶秎ン穝籇
> :[EMAIL PROTECTED]
> > I just did...
> > it works, but it still says undefined variable
> > "Peter" <[EMAIL PROTECTED]>
> > ???????:[EMAIL PROTECTED]
> > > have you tried restarting IIS since u changed the register globals?
> > >
> > > > -----Original Message-----
> > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, 11 July 2002 1:33 PM
> > > > To: [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" <[EMAIL PROTECTED]> 级糶秎ン穝籇
> > > > :[EMAIL PROTECTED]
> > > > > yes it is on
> > > > >
> > > > > "Peter" <[EMAIL PROTECTED]>
> > > > > ???????:[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:[EMAIL PROTECTED]]
> > > > > > > Sent: Thursday, 11 July 2002 12:54 PM
> > > > > > > To: [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" <[EMAIL PROTECTED]>
> > > > > > > ???????:[EMAIL PROTECTED]
> > > > > > > > try this..
> > > > > > > >
> > > > > > > > <?
> > > > > > > > if ($submit)
> > > > > > > > {
> > > > > > > > echo("$cisco");
> > > > > > > > }
> > > > > > > > ?>
> > > > > > > > and maybe add $PHP_SELF for the action.
> > > > > > > >
> > > > > > > >
> > > > > > > > Cheers
> > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > > > > > > Sent: Thursday, 11 July 2002 12:14 PM
> > > > > > > > > To: [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
> > > >
> > > >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
______________________________________________________________________
Reklama:
Jake bude pocasi? http://pocasi.seznam.cz
--- End Message ---
--- Begin Message ---
something i just thought of ... try this ....
<?
$cisco = " "; // set $cisco to equal nothing
?>
<form>
<input type="text" name="cisco">
<input type="submit" name="submit">
</form>
<?
if( $submit ) // make a clause so that only when submit is pressed will this part run
{
echo( "$cisco" );
}
?>
see if that makes a difference
> -----Original Message-----
> From: Honza Hejdrych [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 11 July 2002 2:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] strange error
>
>
> Have a look at your PHP.INI, check ERROR HANDLING section.
> You have probably set something like:
>
> error_reporting = E_ALL & ~E_NOTICE
>
> This setting means you will see all errors including warnings.
> You should set this to (for example):
>
> error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
>
> This setting will show only errors on in your scripts.
>
> hh
>
> Dne 11. červenec 2002, fungi, <[EMAIL PROTECTED]> napsal:
>
> > I have searched for it on the web
> > and it seems like alot of new comers to php is having this problem
> >
> > "Fungi" <[EMAIL PROTECTED]> źśźgŠóślĽóˇsťD
> > :[EMAIL PROTECTED]
> > > I just did...
> > > it works, but it still says undefined variable
> > > "Peter" <[EMAIL PROTECTED]>
> > > ???????:[EMAIL PROTECTED]
> > > > have you tried restarting IIS since u changed the register globals?
> > > >
> > > > > -----Original Message-----
> > > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, 11 July 2002 1:33 PM
> > > > > To: [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" <[EMAIL PROTECTED]> źśźgŠóślĽóˇsťD
> > > > > :[EMAIL PROTECTED]
> > > > > > yes it is on
> > > > > >
> > > > > > "Peter" <[EMAIL PROTECTED]>
> > > > > > ???????:[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:[EMAIL PROTECTED]]
> > > > > > > > Sent: Thursday, 11 July 2002 12:54 PM
> > > > > > > > To: [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" <[EMAIL PROTECTED]>
> > > > > > > > ???????:[EMAIL PROTECTED]
> > > > > > > > > try this..
> > > > > > > > >
> > > > > > > > > <?
> > > > > > > > > if ($submit)
> > > > > > > > > {
> > > > > > > > > echo("$cisco");
> > > > > > > > > }
> > > > > > > > > ?>
> > > > > > > > > and maybe add $PHP_SELF for the action.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Cheers
> > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > > > > > > > Sent: Thursday, 11 July 2002 12:14 PM
> > > > > > > > > > To: [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
> > > > >
> > > > >
> > >
> > >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> ______________________________________________________________________
> Reklama:
> Jake bude pocasi? http://pocasi.seznam.cz
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
sorry my bad .. make it like this..
<?
> if( $submit ) // make a clause so that only when submit is
> pressed will this part run
> {
> echo( "$cisco" );
> }
> $cisco = " ";
> ?>
<form>
etc
> -----Original Message-----
> From: Peter [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 11 July 2002 2:17 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] strange error
>
>
> something i just thought of ... try this ....
>
>
> <?
> $cisco = " "; // set $cisco to equal nothing
> ?>
> <form>
> <input type="text" name="cisco">
> <input type="submit" name="submit">
> </form>
>
>
> <?
> if( $submit ) // make a clause so that only when submit is
> pressed will this part run
> {
> echo( "$cisco" );
> }
>
> ?>
>
> see if that makes a difference
>
> > -----Original Message-----
> > From: Honza Hejdrych [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 11 July 2002 2:02 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP-WIN] strange error
> >
> >
> > Have a look at your PHP.INI, check ERROR HANDLING section.
> > You have probably set something like:
> >
> > error_reporting = E_ALL & ~E_NOTICE
> >
> > This setting means you will see all errors including warnings.
> > You should set this to (for example):
> >
> > error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
> >
> > This setting will show only errors on in your scripts.
> >
> > hh
> >
> > Dne 11. červenec 2002, fungi, <[EMAIL PROTECTED]> napsal:
> >
> > > I have searched for it on the web
> > > and it seems like alot of new comers to php is having this problem
> > >
> > > "Fungi" <[EMAIL PROTECTED]> źśźgŠóślĽóˇsťD
> > > :[EMAIL PROTECTED]
> > > > I just did...
> > > > it works, but it still says undefined variable
> > > > "Peter" <[EMAIL PROTECTED]>
> > > > ???????:[EMAIL PROTECTED]
> > > > > have you tried restarting IIS since u changed the
> register globals?
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Thursday, 11 July 2002 1:33 PM
> > > > > > To: [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" <[EMAIL PROTECTED]> źśźgŠóślĽóˇsťD
> > > > > > :[EMAIL PROTECTED]
> > > > > > > yes it is on
> > > > > > >
> > > > > > > "Peter" <[EMAIL PROTECTED]>
> > > > > > > ???????:[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:[EMAIL PROTECTED]]
> > > > > > > > > Sent: Thursday, 11 July 2002 12:54 PM
> > > > > > > > > To: [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" <[EMAIL PROTECTED]>
> > > > > > > > > ???????:[EMAIL PROTECTED]
> > > > > > > > > > try this..
> > > > > > > > > >
> > > > > > > > > > <?
> > > > > > > > > > if ($submit)
> > > > > > > > > > {
> > > > > > > > > > echo("$cisco");
> > > > > > > > > > }
> > > > > > > > > > ?>
> > > > > > > > > > and maybe add $PHP_SELF for the action.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Cheers
> > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > > > > > > > > Sent: Thursday, 11 July 2002 12:14 PM
> > > > > > > > > > > To: [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
> > > > > >
> > > > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
> > ______________________________________________________________________
> > Reklama:
> > Jake bude pocasi? http://pocasi.seznam.cz
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
--- End Message ---
--- Begin Message ---
this is very strange
i changed the error reporting back to E_ALL & ~E_NOTICE
and reset my IIS and now it doesn't show the warning message..
"Honza hejdrych" <[EMAIL PROTECTED]>
???????:[EMAIL PROTECTED]
Have a look at your PHP.INI, check ERROR HANDLING section.
You have probably set something like:
error_reporting = E_ALL & ~E_NOTICE
This setting means you will see all errors including warnings.
You should set this to (for example):
error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
This setting will show only errors on in your scripts.
hh
Dne 11. 鑕rvenec 2002, fungi, <[EMAIL PROTECTED]> napsal:
> I have searched for it on the web
> and it seems like alot of new comers to php is having this problem
>
> "Fungi" <[EMAIL PROTECTED]> 级糶秎ン穝籇
> :[EMAIL PROTECTED]
> > I just did...
> > it works, but it still says undefined variable
> > "Peter" <[EMAIL PROTECTED]>
> > ???????:[EMAIL PROTECTED]
> > > have you tried restarting IIS since u changed the register globals?
> > >
> > > > -----Original Message-----
> > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, 11 July 2002 1:33 PM
> > > > To: [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" <[EMAIL PROTECTED]> 级糶秎ン穝籇
> > > > :[EMAIL PROTECTED]
> > > > > yes it is on
> > > > >
> > > > > "Peter" <[EMAIL PROTECTED]>
> > > > > ???????:[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:[EMAIL PROTECTED]]
> > > > > > > Sent: Thursday, 11 July 2002 12:54 PM
> > > > > > > To: [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" <[EMAIL PROTECTED]>
> > > > > > > ???????:[EMAIL PROTECTED]
> > > > > > > > try this..
> > > > > > > >
> > > > > > > > <?
> > > > > > > > if ($submit)
> > > > > > > > {
> > > > > > > > echo("$cisco");
> > > > > > > > }
> > > > > > > > ?>
> > > > > > > > and maybe add $PHP_SELF for the action.
> > > > > > > >
> > > > > > > >
> > > > > > > > Cheers
> > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: fungi [mailto:[EMAIL PROTECTED]]
> > > > > > > > > Sent: Thursday, 11 July 2002 12:14 PM
> > > > > > > > > To: [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
> > > >
> > > >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
______________________________________________________________________
Reklama:
Jake bude pocasi? http://pocasi.seznam.cz
--- End Message ---
--- Begin Message ---
Hi there,
For a complex task as such, and without needing to "rewrite" the wheel
(that means write a new scanning program) i would use:
a) a scanner that works in a networked environment and as the ability to
send the scannings to emails (i remmeber that the network scanners from
HP can do it - even if they are a bit weird to configure...)
b) create either a global mail drop box to send all scanned documents to
it or create a mail box for each patient...
c) write a much simpler pop3/imap program to handle the archiving needs
with a web interface...
For scanning, the good doctor would only need to go to the scanner,
place the document and press a button... in the scanner
For archiving, he would just go to the site and place the newly scanned
documents in the patient file...
Cheers,
Luis Ferro
TelaDigital
P.S.- warning... the HP net scanners are weird to configure as they
require a domain to "distribute" the scannings and have some limitations
with regard of the ip network settings of the scanning server and the ip
of the scanners by themselfs. They must reside in the same net mask...
which in large distributed networks is a no-no... apart from that, they
work very well...
Todd Williamsen wrote:
>Yes, I would make sure that they use IE as a browser...
>
>Now things become complicated, and I don't know what PHP's limitations are
>
>What he wants...
>
>1. to be able to press a button to scan a document
>2. that scanned document gets automatically saved in a new or existing
>folder by patient ID#
>
>Is this possible?
>
>
>"Tracker1" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
>> To: Colin McDonald
>>If he is running IE for the browser, you could write an active-x control
>>that will launch from the page, and then upload the given file to the
>>webserver.
>>
>>--
>>=======================================================================
>>Michael J. Ryan - tracker1[*at*]theroughnecks.com
>>Roughneck BBS: http://www.theroughnecks.net telnet://theroughnecks.net
>>=======================================================================
>>Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
>>One program for aim/icq/yahoo/msn/irc - http://www.trillian.cc/
>>
>>
>>" Colin McDonald" <[EMAIL PROTECTED]> wrote in message
>>news:[EMAIL PROTECTED]...
>>
>>
>>>php can only call dll's on the server, not the client end (which is what
>>>I think your doctor wants?).
>>>
>>>Todd Williamsen wrote:
>>>
>>>
>>>>I don't know if this is possible, but I figured there is a small
>>>>
>>>>
>limitation
>
>
>>>>on php....
>>>>
>>>>The scenario...
>>>>
>>>>I have a client that wants his application revamped from MS Access to
>>>>
>>>>
>mySQL
>
>
>>>>and PHP. Now, he is a doctor in an office and he scans patients
>>>>
>>>>
>>information
>>
>>
>>>>in. He wants the ability to click a button on the GUI which launches
>>>>
>>>>
>the
>
>
>>>>scan program(TWAIN32.DLL I think) then automatically saving the
>>>>
>>>>
>scanned
>
>
>>file
>>
>>
>>>>in the designated folder or location. I informed him its the scanning
>>>>applications responsibility to scan and automatically save it, so in
>>>>
>>>>
>order
>
>
>>>>to designate the location I need to either: 1. Find a program that
>>>>
>>>>
>does
>
>
>>>>that, 2. Write a new scanning application.
>>>>
>>>> I think this guy is starting to want too much, but if it is possible
>>>>
>>>>
>I
>
>
>>>>would like to give it a whirl.
>>>>
>>>>Is this possible?
>>>>
>>>>
>>>>
>>>>
>>>--- Synchronet NewsLink v1.00 Beta
>>>
>>>
>>--- Synchronet NewsLink v1.00 Beta
>> * Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net
>>
>>
>
>
>
>
>
--- End Message ---
--- Begin Message ---
hi guys
i want a form's input to go back to the page of THE
form and get processed there
how can i do that ... well that if thats possible ????
i ve been searching for the thing thru php.net but to
no use
id really appriciate any help with this
thnx a million.....
toby ......
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--- End Message ---
--- Begin Message ---
if u call ur page with a blank form tag, it will effectively call its self.
<form>
</form>
<?
process...
?>
or even
<form action=<?=$PHP_SELF?>>
</form>
$PHP_SELF refers to the same page it is called from.
good luck
> i want a form's input to go back to the page of THE
> form and get processed there
> how can i do that ... well that if thats possible ????
>
> i ve been searching for the thing thru php.net but to
> no use
Regards,
James Mclean
"Increased knowledge will help you now.
Have a mate's phone bugged."
-- /usr/games/fortune
--- End Message ---
--- Begin Message ---
John Palmer wrote:
> System:
>
> BSDI 4.1
> Apache 1.3.26
> PHP 4.1.2
> cURL 7.9.8
>
> I have the following function in PHP:
>
> function XMLExec($command)
> {
>
>
> $ch = curl_init();
> curl_setopt($ch, CURLOPT_URL, http://host.name/.cgi-bin/cgiprogram);
> curl_setopt($ch, CURLOPT_POST, 1);
> curl_setopt($ch, CURLOPT_FAILONERROR, 1);
> curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
> curl_setopt($ch, CURLOPT_POSTFIELDS, $command);
> curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
>
> $res = curl_exec($ch);
> curl_close($ch);
>
> return $res;
>
> }
>
>
> Really simple little thing. The CGI-BIN program is a C program that returns XML
>output. The first line
> is Content-type: text/html, then a blank line and then XML
>
> Problem: Sometimes, especially when the XML output is long (maybe 12k or so), the
>output that ends up in
> the $res string is all chopped up. Usually, the first part of the output is present,
>but then a huge chunk is
> missing and then a middle section is there and then the end of the output is chopped
>off.
>
> Has anyone seen this before? The only error that I can see is that when Apache
>starts, it whines about
> PHP not being compiled with EAPI. Other than that, no other problems.
>
> I'm wondering if there is a buffering problem somwhere but I havent found any
>mention of this
> on any lists
>
>
>
There has been a buffer problem with the curl module but it should be
fixed in CVS. I' not sure if this has anything to do with your problem.
http://bugs.php.net/bug.php?id=17963
/Per
--- End Message ---
--- Begin Message ---
Matt Babineau wrote:
> Does anyone know of a way to trap PHP errors and have them automatically
> emailed to an email address? I am trying to do some remote testing on a
> script but the problem it is it's server to server interaction so I
> can't see what is going on! Any ideas?
>
> Matt Babineau
> MCWD / CCFD
> -----------------------------------------
> e: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
> p: 603.943.4237
> w: <http://www.criticalcode.com/> http://www.criticalcode.com
> PO BOX 601
> Manchester, NH 03105
>
>
Look in chapter 15 Error Handling in the documentation, there is an
example that might help you.
/Per
--- End Message ---
--- Begin Message ---
Second argument in strtotime seems to have no effect.
strtotime("2001-02-02 12:01:01",981111700);
strtotime("2001-02-02 12:01:01",1000);
strtotime("2001-02-02 12:01:01",time());
strtotime("2001-02-02 12:01:01");
all gives the same output: 981111661. Am I or the function erronous?
/Per
--- End Message ---
--- Begin Message ---
I am doing a formless post to a CGI script on another site (PayPal). I am
doing this because the current site design has 2 different submit images on
a single form which need to post different data to the CGI script (after
registering the customer in the local database) dependent upon whcih image
gets clicked.
The PayPal CGI script has user interaction - the user has to login.
I am doing the formless post by using fsockopen() and fputs() to open the
http port and posting the data which seems to be working fine...and I
receive the raw http headers and html code when I read the open socket...
now for the $64m question - how can I emulate a normal form submit in
actually *loading* the page that is sent by the CGI script in the normal
fashion? If I don't read the data on the open socket then my script just
dies with no output...
Am I trying to do something very stupid here? :)
TIA
Rich
--- End Message ---