Orionsbelter Posted April 20, 2011 Share Posted April 20, 2011 Ok so i'm a newbie, and i in need of scripts that is possible free easy to install or to add to a sever. It needs to allow me to upload multiple files set the locations of the files in the script and it also need to be able to make decent thumbnails on each uploaded image. All setting need to be easy to change and the files needs to be clean and easily understandable for a newbie does anyone have any sugesstions?? THank you for reading Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/ Share on other sites More sharing options...
madhmad Posted April 20, 2011 Share Posted April 20, 2011 hey do u wanna upload images n create thumbnails as such Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1203993 Share on other sites More sharing options...
Orionsbelter Posted April 21, 2011 Author Share Posted April 21, 2011 yes Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1204665 Share on other sites More sharing options...
Orionsbelter Posted May 8, 2011 Author Share Posted May 8, 2011 ? Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1212530 Share on other sites More sharing options...
fugix Posted May 8, 2011 Share Posted May 8, 2011 are you asking for a script or how to create one yourself Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1212535 Share on other sites More sharing options...
spiderwell Posted May 8, 2011 Share Posted May 8, 2011 id google it theres plenty of them out there Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1212536 Share on other sites More sharing options...
Orionsbelter Posted May 8, 2011 Author Share Posted May 8, 2011 A script for now please i know there are loads available on the net but not too sure which ones would best be suited. So any suggestions would help alot Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1212537 Share on other sites More sharing options...
Orionsbelter Posted May 8, 2011 Author Share Posted May 8, 2011 id google it theres plenty of them out there Oh yeah i understand there's loads, just suggestions on which is the best or what others may have used is a lot more helpful then just searching and trying them out. Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1212539 Share on other sites More sharing options...
fugix Posted May 8, 2011 Share Posted May 8, 2011 the one that you create is the best... Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1212540 Share on other sites More sharing options...
spiderwell Posted May 9, 2011 Share Posted May 9, 2011 i used this one in the past for thumbnailing, but have since decided its not got enough features, lol ill make my own too one day. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1212543 Share on other sites More sharing options...
Orionsbelter Posted May 9, 2011 Author Share Posted May 9, 2011 the one that you create is the best... I'm a total noob the one i create will probs not work and mess up the whole sever. hehe thanks spiderwell will give it a try now. Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1212551 Share on other sites More sharing options...
Orionsbelter Posted May 9, 2011 Author Share Posted May 9, 2011 the only problem with that script is that, it doesn't support image uploading first Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1212553 Share on other sites More sharing options...
spiderwell Posted May 9, 2011 Share Posted May 9, 2011 yeah i know, like i said its only for thumbnailing, but at the time it was enough for what i needed, i have outgorwn it since, but i make my own upload scripts since thats very easy. heres a snippet for you, I have pulled it from a class i wrote so will need a little bit of adjusting. it returns an array with 2 values, key 0 is either true or false and key 1 has a message: <?php function handleUpload($fieldname) { $settings = systemcomponent::getSettings();//remove this as its irrelevant to you $upload = array(); if ((($_FILES["$fieldname"]["type"] == "image/gif") || ($_FILES["$fieldname"]["type"] == "image/jpeg") || ($_FILES["$fieldname"]["type"] == "image/pjpeg")) && ($_FILES["$fieldname"]["size"] < 200000) || ($_FILES["$fieldname"]["name"] == "")) //this bit restricts size and file type { if ($_FILES["$fieldname"]["error"] > 0 && $_FILES["$fieldname"]["error"] != 4) { $this->errors[] = "Image not saved in ImageControl->handleUpload(); || Return Code: " . $_FILES["$fieldname"]["error"] . "<br />"; //insert failed! Add error description to list of errors $upload[0] = 0; $upload[1] = "Image did not save"; return $upload; } else { $filename = str_replace("'","",$_FILES["$fieldname"]["name"]); // escape ' in file name! curse these people who not know how file naming should be done! lol if (file_exists($settings['imagedir'] . $_FILES["$fieldname"]["name"])) { $upload[0] = 0; if ($_FILES["$fieldname"]["name"] == "") { $upload[1] = "please select a file."; } else { $upload[1] = $_FILES["$fieldname"]["name"] . " already exists. "; } return $upload; } else { move_uploaded_file($_FILES["$fieldname"]["tmp_name"],$settings['imagedir'] . $filename);//change the $settings['imagedir'] to your upload directory $upload[0] = 1; $upload[1] = $filename; return $upload; } } } else { $upload[0] = 0; $upload[1] = "file type restricted or too large"; return $upload; } } ?> Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1212693 Share on other sites More sharing options...
MrCat Posted May 14, 2011 Share Posted May 14, 2011 I too would like a recommendation for a good multiple-file upload script / system. I take on board the "make one yourself" suggestion, but I don't know much Javescript and don't have time to make my own at this stage. I want something that's free that I can just download and add to my site. Any help appreciated! Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1215529 Share on other sites More sharing options...
jcbones Posted May 14, 2011 Share Posted May 14, 2011 I have used, and have suggested wizecho before. It is easy to customize, and has cool features. Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1215532 Share on other sites More sharing options...
MrCat Posted May 14, 2011 Share Posted May 14, 2011 I have used, and have suggested wizecho before. It is easy to customize, and has cool features. Are you sure that allows multiples? Their demo won't let me select more than one file at a time... Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1215535 Share on other sites More sharing options...
jcbones Posted May 15, 2011 Share Posted May 15, 2011 Yes, just remove the javascript that dis-ables the form, it allows you to submit image after image. Quote Link to comment https://forums.phpfreaks.com/topic/234257-php-upload-scripts-which-is-the-best-any-suggestions/#findComment-1215544 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.