Author Topic: Help with setting up a file for download.  (Read 290 times)

Neo Phyte

  • New Member
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Help with setting up a file for download.
« on: September 10, 2010, 02:10:07 AM »
I wanted to put a file on my server in a sub folder and create a guest ftp account w/ access only to that folder; but I don't have an extra ftp account.
 
Does anyone know if I can pull off such a feat with MySQL?  Is this the correct arena?  If so, how?
 
I code but my SQL's limited to my old dBase/Lotus123 skills...

phphelp

  • Administrator
  • Senior Member
  • *****
  • Posts: 780
  • Karma: +3/-0
    • View Profile
    • PHP Help forum
Re: Help with setting up a file for download.
« Reply #1 on: September 10, 2010, 04:46:16 AM »
If you need to give access to just one file or to files in a directory, you can do this with .htaccess and .htpasswd

Here is quick guide how you can do this: Password protecting directory without php scripting
Are you experienced in PHP programming and willing to share your knowledge?
Join us at php help forum!