Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th April 2008, 03:46
EWNOC EWNOC is offline
HowtoForge Supporter
 
Join Date: Apr 2008
Posts: 12
Thanks: 3
Thanked 1 Time in 1 Post
Smile Using cookies to keep someone from flooding autosignup

If you need...

Here is a simple way I found to keep someone from just typing in your autosignup.php url and setting up as many pages as they wish the two files attached

setcookie.php
checkcookie.php

are very easy to use

simply change the paths to your site and to the site as it states in the comments within the code.

the checkcookie works best if you paste the code at the top of the autosignup.php right below the includes and before the serverpaths

Hope this helps someone any setup issues or questions please let me know

EWNOC
Attached Files
File Type: zip cookie auth.zip (791 Bytes, 246 views)
Reply With Quote
The Following User Says Thank You to EWNOC For This Useful Post:
falko (11th April 2008)
Sponsored Links
  #2  
Old 13th April 2008, 18:50
EWNOC EWNOC is offline
HowtoForge Supporter
 
Join Date: Apr 2008
Posts: 12
Thanks: 3
Thanked 1 Time in 1 Post
 
Default using this with paypal

I have now been usingthis with paypal and have thourally tested it using the sandbox and it works great to keep people from reging without paying. you can put the url of the set cookie in the return address of the paypal subscription button, once the user has paid it takes them back to your site and sets the cookie. make sure you have the metta refresh time variable set to "0" this will keep the page from being written to history and the user will never know the address of the page that sets the cookie.

Any questions let me knwo

EWNOC
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Finally An autosignup & Billing system that works grandpagenocide General 72 17th November 2008 14:30
Ruby and autosignup Gimly Installation/Configuration 3 14th March 2008 16:17
soap error with autosignup grandpagenocide Tips/Tricks/Mods 2 25th February 2008 00:34
autosignup with ISPConfig 2.2.19 grandpagenocide General 5 24th January 2008 12:01
autosignup problem... rpicard Tips/Tricks/Mods 0 4th October 2007 14:07


All times are GMT +2. The time now is 15:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.