Hide download link of a file

Posted: January 14, 2010 in php-mysql

This php script will hide the actual download path from visitors. You could allow download files like mysite.com/download.php?fileid=2 instead of mysite.com/photos/mypic.jpg.


  1. Julien says:

    Hi Arun, is there a way to use this script with wordpress. In my blog, i put files that people can download but so far the URLs of the files are not hidden. If i can, where do i integrate the .php script that you provide?
    Please answer using my email address.

    Best regards, Julien.

  2. Juan says:

    Thanks for sharing. I am testing it as we speak.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s