Jump to content

Recommended Posts

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!!

Link to comment
https://forums.phpfreaks.com/topic/137825-solved-mm-file-upload-no-idea/
Share on other sites

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.

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. 

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.