UrlGuy
06-14-2005, 04:29 PM
Hi,
I plan to use with my website a script to be able to place the downloadable files behind my public_html directory which is unreadable by the public. I use PHP for this.
I will use the switch statement. So the link for for example Winamp would appear as domain.com/dl.php?file=winamp, where the switch statement in dl.php for winamp would maybe include some command for getting the file for download from the unreadable directory. Anyone know what command I could use? Or should I just use Location : /home/user/file.zip ??
Thanks in advance,
~Urlguy
I plan to use with my website a script to be able to place the downloadable files behind my public_html directory which is unreadable by the public. I use PHP for this.
I will use the switch statement. So the link for for example Winamp would appear as domain.com/dl.php?file=winamp, where the switch statement in dl.php for winamp would maybe include some command for getting the file for download from the unreadable directory. Anyone know what command I could use? Or should I just use Location : /home/user/file.zip ??
Thanks in advance,
~Urlguy
