Re: Taint mode for PHP
| From: | Rasmus Lerdorf | Date: | Wed, 05 Jul 2000 16:31:33 +0000 |
| Subject: | Re: Taint mode for PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4997@lists.php.net to get a copy of this message | ||
There is a user-level error_reporting() function you can use to set this.
On Thu, 6 Jul 2000, gfunk007 wrote:
> Cool, but what else does that do? and can you do it easily for one file or
> project?
>
> -Gfunk
>
> [-= Visit my website! http://www.gfunk007.com/ - ICQ:74477509
> =-]
>
>
> ----- Original Message -----
> From: Rasmus Lerdorf <rasmus@php.net>
> To: <php@datavore.com>
> Cc: <php-general@lists.php.net>
> Sent: Thursday, July 06, 2000 2:04 AM
> Subject: Re: [PHP] Taint mode for PHP
>
>
> > > Is there a way to require that all script variables be declared before
> they
> > > can be used? Sort of like taint mode in Perl. Would also be nice if
> the
> > > parser spit back an informative error for all undeclared variables.
> >
> > Crank your error_reporting level way up. ie. set it to E_ALL in your
> > php.ini file.
> >
> > -Rasmus
> >
> >
> > --
> > 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
> >
>
>
>