Re: filter in phpself()

From: Date: Sat, 04 Apr 2009 06:48:10 +0000
Subject: Re: filter in phpself()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-291057@lists.php.net to get a copy of this message
Michael A. Peters wrote:
I was looking over the output of phpfilter() and say the following:
Input Validation and Filtering    enabled
Revision            $Revision: 1.52.2.45 $
I did recently (very recently) upgrade from php 5.2.5 to 5.2.9 and also upgraded my php pear to 1.7.2 (from whatever CentOS 5.2 had) - but I don't think pear stuff is shown in phpinfo() I don't recall seeing that before. Is it new, and is it worth looking into using it in place of (or in addition to) HTML Purifier?
Nevermind - I found the php manual for it. It has some useful stuff - IE FILTER_VALIDATE_EMAIL and FILTER_VALIDATE_INT that will reduce some of my code.

« previous php.general (#291057) next »