> How can I, using: > <INPUT TYPE=\"FILE\" NAME=\"UPLOAD_FOTO\" SIZE=\"40\"> > specify the file extension. > I want the user only to upload *.jpg. You can only check $userfile_type to detect the type of uploaded file. You can specify nor extension to browse dialog neither default path for browsing... Security, you know
Valentin Petruchek (aki Zliy Pes) http://zliypes.com.ua mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]