File uploads



Hiya all,

Need a bit of help. Doing a small upload script that i want to limit to
only uploading some file types, like .zip .ace .rar . how can I check that
only these files are being uploaded?

thanks


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 080504-0, 04/05/2008
Tested on: 05/05/2008 18:15:20
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com



.