note 28882 rejected from function.parse-url by jsheets

From: Date: Mon, 27 Jan 2003 01:54:11 +0000
Subject: note 28882 rejected from function.parse-url by jsheets
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-42794@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?

« previous php.notes (#42794) next »