Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-15-2007, 11:03 AM   PM User | #1
mskocabay
New Coder

 
Join Date: Aug 2007
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
mskocabay is an unknown quantity at this point
about file upload

what is the difference between uploading as a file or uploading image as a mysql query.
mskocabay is offline   Reply With Quote
Old 08-15-2007, 11:31 AM   PM User | #2
mlse
Regular Coder

 
mlse's Avatar
 
Join Date: Mar 2005
Posts: 624
Thanks: 20
Thanked 19 Times in 18 Posts
mlse is on a distinguished road
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?
mlse is offline   Reply With Quote
Old 08-15-2007, 11:36 AM   PM User | #3
mskocabay
New Coder

 
Join Date: Aug 2007
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
mskocabay is an unknown quantity at this point
I like to know what's the best uploading file directly to ftp or uploading image files to mysql ?
mskocabay is offline   Reply With Quote
Old 08-15-2007, 01:00 PM   PM User | #4
mlseim
Master Coder

 
mlseim's Avatar
 
Join Date: Jun 2003
Location: Cottage Grove, Minnesota
Posts: 9,045
Thanks: 8
Thanked 1,029 Times in 1,020 Posts
mlseim has a spectacular aura aboutmlseim has a spectacular aura aboutmlseim has a spectacular aura about
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.
mlseim is offline   Reply With Quote
Old 08-15-2007, 01:10 PM   PM User | #5
mskocabay
New Coder

 
Join Date: Aug 2007
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
mskocabay is an unknown quantity at this point
ok thanks
mskocabay is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 02:29 AM.


Advertisement
Log in to turn off these ads.