note 61412 deleted from function.move-uploaded-file by bobby

From: Date: Thu, 22 Mar 2007 15:41:59 +0000
Subject: note 61412 deleted from function.move-uploaded-file by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-124722@lists.php.net to get a copy of this message
Note Submitter: the dot only dot storm at gmail dot com ---- In addition to the file extension checking. A simply way of getting the extension (regardless of size): $efilename = explode('.', $filename); $ext = $efilename[count($efilename) - 1]; Note: This is *could* cause a ~0.01s delay because you're not using COUNT() to initialize a variable by itself. Refer to googling similar: php count function performance

« previous php.notes (#124722) next »