shadiadiph Posted December 20, 2008 Share Posted December 20, 2008 hi sorry for another silly question I am using a form and a database to store all the info can anyone give me a heads up on how to upload a file from a form to a database? I already did a search and didn't come up with anything useful i found a script that will only upload jpegs and only uploads to an upload folder hard to index to retreive that way!! Quote Link to comment https://forums.phpfreaks.com/topic/137825-solved-mm-file-upload-no-idea/ Share on other sites More sharing options...
.josh Posted December 20, 2008 Share Posted December 20, 2008 That's odd. http://www.google.com/search?hl=en&q=php+file+upload&btnG=Google+Search seems to bring up all sorts of useful links for me. Quote Link to comment https://forums.phpfreaks.com/topic/137825-solved-mm-file-upload-no-idea/#findComment-720327 Share on other sites More sharing options...
shadiadiph Posted December 20, 2008 Author Share Posted December 20, 2008 i meant i searched in here searching on google you get 10000 links to things which might work i have tried and tested 10 from there only one actually worked and uploaded to an upload folder which anyone who visited the site could have uploaded with no way of knowing which pic belongs to which user. Quote Link to comment https://forums.phpfreaks.com/topic/137825-solved-mm-file-upload-no-idea/#findComment-720332 Share on other sites More sharing options...
.josh Posted December 20, 2008 Share Posted December 20, 2008 I could post you a script. It might work. You'd never know until you tried it. How is that any different than finding a posted script somewhere else? re: the one you found that worked You said you were trying to find an upload script. That's pretty general. Now you're saying you want an upload script that identifies who uploaded it. You're not really going to find something like that by just googling "php file upload". Those are two different things put together. You'll need something like a register/login script so people can register a unique account, so that the uploaded stuff can be tied to them. Quote Link to comment https://forums.phpfreaks.com/topic/137825-solved-mm-file-upload-no-idea/#findComment-720340 Share on other sites More sharing options...
shadiadiph Posted December 20, 2008 Author Share Posted December 20, 2008 found something thats simple and works great. uploads the files with no problems here's the link for others to use. http://php.about.com/od/phpbasics/ss/mysql_files_3.htm Quote Link to comment https://forums.phpfreaks.com/topic/137825-solved-mm-file-upload-no-idea/#findComment-720346 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.