Re: script warnings...

From: Date: Fri, 10 Nov 2000 18:55:44 +0000
Subject: Re: script warnings...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-24680@lists.php.net to get a copy of this message
Change your error_reporting level in your php.ini file. They are probably set differently. Using an unitialized variable ($url) in this case will throw a warning. You should be doing: if(isset($url)) { ... } -Rasmus On Fri, 10 Nov 2000, Julia A . Case wrote: > I have a script that the form action points back at itself. Under Linux/Apache/PHP4 this > works fine. Under Win32/Apache/PHP4 it gives warnings. > > <code snippet> > > if ($url) { do some stuff } > > <input type="text" name="url"> > > Julie > > -- > [ Julia Anne Case ] [ Ships are safe inside the harbor, ] > [Programmer at large] [ but is that what ships are really for. ] > [ Admining Linux ] [ To thine own self be true. ] > [ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ] > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#24680) next »