note 89807 deleted from function.intval by cmb

From: Date: Sun, 16 Feb 2020 13:48:01 +0000
Subject: note 89807 deleted from function.intval by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-214138@lists.php.net to get a copy of this message
Note Submitter: ittasks at gmail dot com ---- when converting some optional form values to positive integers and to be on the safe side, you can use this: <?php $q=intval("0".$_REQUEST['q']); ?>

« previous php.notes (#214138) next »