bigfatdummy Posted February 18, 2009 Share Posted February 18, 2009 I run a website which uses linux, apache, MySql, and PHP. We website is for a construction company. The company puts the plans for the jobs on the web. Each project can have from 50 to 250 drawings (typically 36X24, but can be as large as 48x60). The files are rather large, approx 1 to 5 mb each. I currently store the files on the drive and use indexing to create the links to the files. I recently updated the site and have been trying to figure out if I could store the documents in MySQL. The documents are typically Tif, Jpg, Png, and PDF's. Is this a bad idea? Would uploading the files to mysql take too much time to be worth it? Quote Link to comment https://forums.phpfreaks.com/topic/145759-solved-suggestions-on-best-methods/ Share on other sites More sharing options...
Maq Posted February 18, 2009 Share Posted February 18, 2009 The best way to do this would be to just have one resource directory to store the images in. In MySQL you should just have path references to these files. Does this answer your question? Quote Link to comment https://forums.phpfreaks.com/topic/145759-solved-suggestions-on-best-methods/#findComment-765283 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.