lil Toady Posted January 7, 2007 Share Posted January 7, 2007 well that one doesnt even check for a .map extension, so i can just upload any file Link to comment
SanZoR.Sr Posted January 7, 2007 Author Share Posted January 7, 2007 Well... This is simplest what i found Link to comment
SanZoR.Sr Posted January 13, 2007 Author Share Posted January 13, 2007 This one allow upload just .map files: Select a file Set max file size: Link to comment
Lordkire Posted January 13, 2007 Share 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. Link to comment
BTH Posted January 13, 2007 Share Posted January 13, 2007 (edited) move_uploaded_file() and eregi('.map$', $_FILES['userfile']['tmp_name']) Edited January 14, 2007 by Guest Link to comment
SanZoR.Sr Posted January 14, 2007 Author Share 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 Link to comment
Recommended Posts