upload in sql

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ma5ect
Forum Commoner
Posts: 35
Joined: Wed Jun 25, 2008 8:38 am

upload in sql

Post by ma5ect »

I am trying to have a feature within my site which will allow users to upload files and store them into the sql database...after uploaded i would also like them files to be downloaded only by certain users..i am stuck as to how to start with this task..i am using dreamweaver cs3..any tutorials??
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: upload in sql

Post by jayshields »

They are 3 seperate tasks. Uploading files, INSERT'ing using SQL and user login/permissions. There are thousands of tutorials on these topics, which can be found via good ol' Google.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: upload in sql

Post by Kieran Huggins »

Storing files in SQL is a bad ideal, generally.

By all means, store the information about the file there but leave the file storage in the file system where it belongs!
ma5ect
Forum Commoner
Posts: 35
Joined: Wed Jun 25, 2008 8:38 am

Re: upload in sql

Post by ma5ect »

thanx for replies...i have solved the problem

much appreciated

regards
Post Reply