note 28882 added to function.parse-url

From: Date: Mon, 27 Jan 2003 00:49:45 +0000
Subject: note 28882 added to function.parse-url
Groups: php.notes 
Request: Send a blank email to php-notes+get-42791@lists.php.net to get a copy of this message
Is it possible to use the parse url function to get the extension of a file? I'm writing a simple file listing and download repository and only want to allow files with the .zip, .rar and .gif extensions. Any easy way to do this? -- http://www.php.net/manual/en/function.parse-url.php http://master.php.net/manage/user-notes.php?action=edit+28882 http://master.php.net/manage/user-notes.php?action=delete+28882 http://master.php.net/manage/user-notes.php?action=reject+28882

« previous php.notes (#42791) next »