Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Aug 2007
    Posts
    14
    Thanks
    3
    Thanked 0 Times in 0 Posts

    about file upload

    what is the difference between uploading as a file or uploading image as a mysql query.

  • #2
    Regular Coder mlse's Avatar
    Join Date
    Mar 2005
    Posts
    624
    Thanks
    20
    Thanked 19 Times in 18 Posts
    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?

  • #3
    New Coder
    Join Date
    Aug 2007
    Posts
    14
    Thanks
    3
    Thanked 0 Times in 0 Posts
    I like to know what's the best uploading file directly to ftp or uploading image files to mysql ?

  • #4
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,464
    Thanks
    8
    Thanked 1,085 Times in 1,076 Posts
    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.

  • #5
    New Coder
    Join Date
    Aug 2007
    Posts
    14
    Thanks
    3
    Thanked 0 Times in 0 Posts
    ok thanks


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •