Go Back   Novahq.net Forum > Computers > Tech Support

Tech Support Have a problem? Maybe we can help!

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-16-2010, 08:18 AM
pauldridge is offline pauldridge
Registered User

Join Date: Jun 2010
Posts: 1

incorporate php file upload with MySQL form?

I'm setting up a MySQL application which will both upload documents (.pdf) and store the document file name in an SQL table.

Not sure how to incorporate the file upload with simultaneously storing the file name in the SQL record. Any guidance would be helpful.

A very green php programmer
Reply With Quote
  #2  
Old 06-16-2010, 08:46 AM
Lakie is offline Lakie

Join Date: Mar 2002
Posts: 5,540

Scott, the guy that coded this site, has a nice little script for uploading files
http://phphq.net/scripts.php?script=...der#phUploader

its a simple script to get your head around, from there when the file uplaods you would just need to do a mysql insert query and insert the filename, which id assme would already be held as a variable in the script...
Reply With Quote
Reply

Tags
file upload, mysql, php


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Send Email with Attachment from the File Upload ronieperez phphq.Net Forums 2 10-24-2008 07:14 PM
phUploader File Upload Vulnerability gopat phphq.Net Forums 7 05-27-2008 12:55 PM
Form verify phUploader so they MUST upload? Lex phphq.Net Forums 1 08-27-2007 06:13 PM
CSS and PHP Form Help! Webviper2006 Web design and Programming 3 12-30-2005 04:49 PM
file to mysql db BeBop Web design and Programming 13 12-08-2004 10:31 AM


All times are GMT -5. The time now is 03:17 PM.




Powered by vBulletin®