lil Toady Posted January 7, 2007 Posted January 7, 2007 well that one doesnt even check for a .map extension, so i can just upload any file
SanZoR.Sr Posted January 13, 2007 Author Posted January 13, 2007 This one allow upload just .map files: Select a file Set max file size:
Lordkire Posted January 13, 2007 Posted January 13, 2007 What hapens if my file has the same name as an other uploaded file? I'll just overwrite somebody other's file? Thet's not quite spam-safe... And that script has nothing of a lay-out. It would even give an empty screen if the fule is succesfuly uploaded.
BTH Posted January 13, 2007 Posted January 13, 2007 (edited) move_uploaded_file() and eregi('.map$', $_FILES['userfile']['tmp_name']) Edited January 14, 2007 by Guest
SanZoR.Sr Posted January 14, 2007 Author Posted January 14, 2007 Yes, this script will overwrite a old one... And sure you can add lay-out to upload page. Just copy that script in to layout, so it's would works fine. I have this same script on my server, look here: http://www.pixelitaivas.com/mta/upload.htm
Recommended Posts