| | #1 |
| Warrior Member Join Date: 2011
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
hi all, i have a simple POST form on my site which i need the users to upload files also. the form sends all the fields content to the DB. my question is: how should i write this in PHP - so users can upload a file and when they click submit - the location of the file, along with the other form fields are sent to the database, and the uploaded file is being uploaded. please help, thanks |
|
Looking to buy Forex Leads, Offering Forex ad swaps, Offering $15 CPL Forex Campaign
| |
| |
| | #2 |
| Hypothetical Paradox War Room Member Join Date: 2011 Location: India
Posts: 82
Thanks: 12
Thanked 20 Times in 19 Posts
|
The file upload part can be helped by this link PHP File Upload - PHP Upload Script - Upload file script Once you get the target path in a link, add up the variable at the code part where you submit the values in the database along with the other form fields. Mohit |
|
The best way to predict future is to create it ― Abraham Lincoln
| |
| |
|
| Bookmarks |
| Tags |
| file, form, php, upload |
| |