hi guys, i found this neat little script to upload images but being a n00b and proud of it i dunno how to edit the code so i can upload diffrent image formats (jpeg,bmp) aswel as the one its currently set to (gif)
I cant remember where in the php forum but there is a good example of an upload code for multiple files as well; it has an array defining the file types.
Look at NeverMinds script his as well as others use an array or list that would be easyer to modify I would have thought.
I know you are using this on a clan site and probably won't expect hackers but that isn't the securest way to do file uploads. MIME types (ie image/jpeg) are pretty easily faked and you just do a straight copy of whatever is in the temp dir to your dir.