View Full Version : about file upload
08-15-2007, 11:03 AM
what is the difference between uploading as a file or uploading image as a mysql query.
I don't know what you mean, can you elaborate and perhaps give a code example of what you're trying to do?
08-15-2007, 11:36 AM
I like to know what's the best uploading file directly to ftp or uploading image files to mysql ?
08-15-2007, 01:00 PM
It depends on the security needed.
Uploading to MySQL puts your files into an area of the server that is
more secure (harder to access) than the regular website directories.
Uploading to various website directories offers the ability to access and
manage the files more easily, but they are also easier to access for everyone
else too. You can use .htacess to secure directories, but I'm not sure if
that even comes close to MySQL security.
I'm guessing that a webhost counts either method the same as far as
maximum allowable storage, so that wouldn't make a difference.
08-15-2007, 01:10 PM
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.