Hey whats up? Ok here is my situation. I have a code that is simple and it works. 🙂
move_uploaded_file ($photo_1, "./upload/".$photo_1_name);
move_uploaded_file ($photo_2, "./upload/".$photo_2_name);
move_uploaded_file ($photo_3, "./upload/".$photo_3_name);
move_uploaded_file ($photo_4, "./upload/".$photo_4_name);
move_uploaded_file ($photo_5, "./upload/".$photo_5_name);
move_uploaded_file ($photo_6, "./upload/".$photo_6_name);
Now... how do I get it so I can be picky on what goes in I only want .gif's .jpg and .jpeg's to go in. I have seen the File Uploads tutorial on this site but I don't know how to use it. I am very new to the whole file upload thing. Please help me out. Thank you.
Chad R. Smith