Saved Bookmarks
| 1. |
Solve : Upload script Help? |
|
Answer» I need to find a upload script, similar to the one on youtube.com not graphically but a browse box and user input , and then one click uploading.. i dont want to use a database but i preffer php , i just want a simple script to upload to a folder without login/database ect , i know this is possible with php or html/ajax but i CANT figure it out can someone explain what i need to do? diablo416 Look here: http://www.w3schools.com/php/php_file_upload.asp It saves the UPLOADED file in a folder, no database.THANKS ive got it WORKING, but how can i upload .zip files , i modifyed it but still GET invalid file if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "application/zip") || ($_FILES["file"]["type"] == "application/x-zip-compressed")) && ($_FILES["file"]["size"] < 2000000))Nevermind i solved it , thanks againGood to see you got it working. |
|