&&& always be smart with how u put data in ur godaddy account. Rename the file to something systematic.
e.g. Don't name your file After a song's name. Keep it something like
19sjd92
without any extensions.
Godaddy will never know that these are actually mp3 files unless someone purposely tells them!
In your php or asp files. Never give a straight link to that ip/file . Get the content of that file, make a temp file & use header feature to allow download.
Some lil tricky php stuff but pretty easy when u get the hang of it!
Worth ur thanks!
got some example code?
anybody recommend a mega upload type php script?
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^download/(.*).mp3$ /tempfiles/$1
you could just use an htaccess rewrite i suspect:
then you can store a file a "/tempfiles/abcd" and serve it up via your site as "/download/abcd.mp3"PHP:RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^download/(.*).mp3$ /tempfiles/$1
i know it's not php code but it just looks so much cooler wrapped in the bbcode php tags lol
/z