In news: 75645bbb0703040539h40bff057y14ac642fa53725f4@xxxxxxxxxxxxxx, "Alain Roger" said: >> Hi, >> >> I would like in fact to make more precise my previous post. >> I would like in fact to restrict the file extension (and therefore >> the user possibility). >> >> My user should be able only to upload files with extension JPEG, >> BMP, GIF. >> >> How can i set those parameter ? >> >> thx. >> >> -- >> Alain >> ------------------------------------ >> Windows XP SP2 >> PostgreSQL 8.1.4 >> Apache 2.0.58 >> PHP 5 Have sent you a script by email if it's any help ,it's the one I use to date have had no problems with it ;) Chris -- Cheap As Chips Broadband http://yeah.kick-butt.co.uk Superb hosting & domain name deals http://host.kick-butt.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php