Chrisj Posted December 20, 2012 Share Posted December 20, 2012 I'm using a php script(phpmotion), it has a page where a logged-in web visitor can enter a description into a text field, I'd like to add a function to the html page where the web vistor can Browse his computer, Select a document file from his computer, and Upload it (into a folder on my server?). What would you recommend?? Can someone help me with coding? Thanks p.s. Additionally a link is created of the uploaded document location somehow. Quote Link to comment https://forums.phpfreaks.com/topic/272229-browse-select-upload-help/ Share on other sites More sharing options...
Barand Posted December 20, 2012 Share Posted December 20, 2012 http://php.net/manual/en/features.file-upload.post-method.php Quote Link to comment https://forums.phpfreaks.com/topic/272229-browse-select-upload-help/#findComment-1400627 Share on other sites More sharing options...
Chrisj Posted December 20, 2012 Author Share Posted December 20, 2012 Thanks for that help. Much appreciated. In the phpmotion script a logged-in web visitor can enter a Description into a text field, and then proceed to upload a video file (via Browse, Select, Upload). After it's been uploaded, the Video file can be found, from searching on the web site, and the Description appears next to the Video file Thumbnail. I'd like to get help so that the link for the uploaded Document (see initial posting in this thread) appears with the search results: Description and Thumbnail. Any additional help will be appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/272229-browse-select-upload-help/#findComment-1400635 Share on other sites More sharing options...
Barand Posted December 20, 2012 Share Posted December 20, 2012 What have you got so far? Quote Link to comment https://forums.phpfreaks.com/topic/272229-browse-select-upload-help/#findComment-1400662 Share on other sites More sharing options...
Chrisj Posted December 21, 2012 Author Share Posted December 21, 2012 Thanks for your willingness to help me. Much appreciated. Regarding "What have I got so far"? I've got the phpmotion script pages. I could post the page code here, if that's what your asking. Thanks for any help. Quote Link to comment https://forums.phpfreaks.com/topic/272229-browse-select-upload-help/#findComment-1400833 Share on other sites More sharing options...
Christian F. Posted December 22, 2012 Share Posted December 22, 2012 Yep, that is what he's asking. Hard for us to help you without knowing what you've done so far, after all. Quote Link to comment https://forums.phpfreaks.com/topic/272229-browse-select-upload-help/#findComment-1400874 Share on other sites More sharing options...
Chrisj Posted December 23, 2012 Author Share Posted December 23, 2012 (edited) Thanks for the replies/help. Here is the inner_upload_video-form.htm script page code: <snip - removed hundreds of lines of 3rd party script> Please let me know what else I can provide. Thanks again Edited December 23, 2012 by PFMaBiSmAd removed wall of code Quote Link to comment https://forums.phpfreaks.com/topic/272229-browse-select-upload-help/#findComment-1401014 Share on other sites More sharing options...
PFMaBiSmAd Posted December 23, 2012 Share Posted December 23, 2012 (edited) I removed the script you posted above for a few reasons - 1) You posted it in a large, bold font, not using the forum's [ code ][ /code ] bbcode tags, that no one was going to attempt to read anyway. 2) It's a 3rd party script and you are posting the original code, a link to the author's site would have been sufficient for anyone who wanted to get or see the original code. 3) The purpose of this php help forum is to help programmers with code they are writing/modifying. If you modified that code, you didn't bother to post just the relevant portion of the code or to identify what you changed in it. 4) All you are stating are the things you want the code to do differently, without actually making the attempt to do the work yourself. That's not how programming help forums work. We are not going to try and get up to speed with a complete application, and hundreds of lines of code, for free. We have a Freelancing forum section that you should post in if you want to hire someone to make these modifications for you. 5) Your 1st post in this thread, and the thread title, indicates you want to add a file upload feature, but your next post states it already has this (which it should given the purpose of the script), but that you want to add a link (I'll assume you mean a download link) in the search results. No one here really knows what it is you want. Edited December 23, 2012 by PFMaBiSmAd Quote Link to comment https://forums.phpfreaks.com/topic/272229-browse-select-upload-help/#findComment-1401029 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.