...

View Full Version : about file upload



mskocabay
08-15-2007, 12:03 PM
what is the difference between uploading as a file or uploading image as a mysql query.

mlse
08-15-2007, 12:31 PM
Hi there,

I don't know what you mean, can you elaborate and perhaps give a code example of what you're trying to do?

mskocabay
08-15-2007, 12:36 PM
I like to know what's the best uploading file directly to ftp or uploading image files to mysql ?

mlseim
08-15-2007, 02: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.

mskocabay
08-15-2007, 02:10 PM
ok thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum