In that case its probably better to just do an identical check: if ($_GET['flag'] === '1') ...
David Neilsen | 07 834 3366 | PANmedia ® On Tue, Aug 28, 2012 at 9:22 PM, jeff <[email protected]> wrote: > Hi, > > Is make it more secure if a $_GET value is escaped on an if statement? > > ie. if( $_GET['flag']=='1' ) > > Cheers, > Jeff > > > -- > NZ PHP Users Group: http://groups.google.com/group/nzphpug > To post, send email to [email protected] > To unsubscribe, send email to > [email protected] -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
