Hosting Services > Developer's Corner > PHP

Refer

Our "refer" script requires users to visit your site before downloading selected files. This effectively eliminates other sites from directly linking these files, insuring that they link your site rather than individual files on your site. The "refer" script is usually used to control access to unique content. If you have a .mov file on your site, but want to make sure that no other site directly links to that .mov file, then you'll want to use this utility:

1. Create a refer subdirectory inside your htdocs directory.

2. Initialize your refer support by following
http://yourdomain.com/cgi-t/refer.cgi?init.

3. Upload your access-controlled files into the refer directory.

4. Use the following HTML code to access files in this directory:

<A HREF="/cgi-t/refer.cgi/filename">


for example, place a file called wow.mov into your refer directory, and link it:

<A HREF="/cgi-t/refer.cgi/wow.mov">


Please note: Refer works with and depends on individual browser referral information. Because of this, no guarantee is made as to the reliability of the service.

 

More:

Search

To install ICE