I'm trying to create a banner management system where the user can use both gif and swf files. Is there a way to get the uploaded file's extension in order to use the appropriate code for each file type to be displayed?
Use [man]pathinfo/man
great! thanx!