File upload / download question - Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Webmaster Tech > Programming > PHP Development

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-25-2011, 02:46 AM   #1 (permalink)
Member
 
Join Date: Sep 2010
Posts: 228
Default File upload / download question

Greetings!
on my site, I have a form for clients to send detailed instructions for projects that I am working on. This information is stored in a mysql db so I can go in and look at the current project information.

What I'm attempting to do is allow users to upload files that need worked on... this file could be anything from an image that needs altered to a spreadsheet. I need to be able to accommodate every file type.

I'm able to store these files in as a BLOB, but am having a heck of a time retrieving and downloading them. I've found very little helpful information about file handling with mysql.

Any help on this would be great! a shove in the right direction!

Also, I was wondering if perhaps simply uploading the files and saving them to the server would be a viable approach? certainly would be simpler. If I did that, would there be security issues involved with people uploading potentially malicious files?

Thanks!
Lafaso870 is offline   Reply With Quote
Sponsored Links
Old 04-08-2011, 12:05 PM   #2 (permalink)
Regular User
 
Join Date: Apr 2011
Posts: 115
Default Re: File upload / download question

Security Issue shud not be a concern, as u can always secure the directory u are using.
But still it is not advisable to use flat file system.
DBMS is always a better approach as that enhances the scalability.
chunnilal is offline   Reply With Quote
Old 04-08-2011, 12:06 PM   #3 (permalink)
Regular User
 
Join Date: Apr 2011
Posts: 115
Default Re: File upload / download question

As for SQL, can u post the cod u are using to download the files frm db....
Let us see if we can modify that to give an optimum output
chunnilal is offline   Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 04:39 PM.


Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
Webmaster Forums
Web Hosting | Chicago Web Hosting | Web Hosting