News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Integrate with Anti Leech script

Started by thespursfan, December 02, 2005, 11:55:17 AM

Previous topic - Next topic

thespursfan

Hello all. I need help integrating smf ssi.php with an anti leech script called download sentinel++ found at: http://dsplus.sourceforge.net [nofollow]

I am trying to get it to where a user pulls up this page on my site: http://www.interfaceuniversity.com/dsplus/m.php?p=SuperWidget.zip [nofollow]
the m.php file checks if the a user is logged in, and if so, will let them download the file, and if not, get forwarded to a "please register in order to download" page.
I got it to do that, but when I logged in as a user, and went back to the download page to try and click the link to download, it said my session expired. I think having the smf session, and dsplus session going on at the same time messes things up.

Is there anyway around this issue, or some workaround I haven't thought of.

Right now, I have it to where anyone can download the file, but I would like to restrict it to only forum members (hey it would sure help with getting registration numbers up ;) )
Any help would be appreciated. Thanks.

Advertisement: