Re: filtering filename.ext on file-upload.

From: Date: Fri, 16 Jan 2004 02:56:11 +0000
Subject: Re: filtering filename.ext on file-upload.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174758@lists.php.net to get a copy of this message
> On Friday 16 January 2004 10:10, Louie Miranda wrote: >> How can you filter the extension for files being uploaded on a system >> via form. > > Use pathinfo() to get the file extension. > > -- I suggest you check out the pear Upload class, its exactly what you need.

« previous php.general (#174758) next »