View Single Post
Old 01-18-2003, 05:30 AM  
MichaelH
Confirmed User
 
Join Date: Oct 2002
Location: Ever heard of Grunnn???
Posts: 130
Oups, VeriSexy, sorry, i just see that the board doesn't allow and hides javascript.

Let me try it again.
This goes onto the pages you want to protect :

ZZZZSKRIPT LANGUAGE="javascript"ZZZZ
// Calculate the expiration date
var expires = new Date ();
expires.setTime(expires.getTime() + 1 * 60 * 60 * 1000);
document.cookie = "id=valid; path=/" + "; expires=" + expires.toGMTString();
ZZZZ/SKRIPTZZZZ


Please replace SKRIPT INTO SCRIPT
And ZZZZ into < and >

Otherwise hit me up on icq again (sorry if i don't remember you) and i'll help with that script. Concerning the url, it's the perfect solution for me for hosting movie galleries since they have the hotlink protection implemented into their hosting facilities, so you won't need any other scripts like above.

Ciao! Michael
__________________
Fresh AND Converting : TRY and SEE the results for yourself! THIS will change your webmaster's life!
Protect yourself against MOVIE HOTLINKERS + EXCELLENT Hosting under 0.30/gig!
Page me on ICQ : 146920758 | QUALITY GALLERY SPOTS HERE

Last edited by MichaelH; 01-18-2003 at 05:32 AM..
MichaelH is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote