note 40093 added to function.ctype-digit

From: Date: Sat, 21 Feb 2004 12:40:03 +0000
Subject: note 40093 added to function.ctype-digit
Groups: php.notes 
Request: Send a blank email to php-notes+get-65485@lists.php.net to get a copy of this message
<?php $username = $_SERVER['REMOTE_USER']; // using an authentication mechanisim $homedir = "/home/$username"; if (!ereg('^[^./][^/]*$', $userfile)) die('bad filename'); //die, do not process if (!ereg('^[^./][^/]*$', $username)) die('bad username'); //die, do not process //etc... ?> ---- Manual Page -- http://www.php.net/manual/en/function.ctype-digit.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40093 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40093&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40093&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65485) next »