Similar to anonymizer script

Discussion in 'General Programming Chat' started by jake3340, Nov 26, 2008.

  1. jake3340

    jake3340 Supreme Member

    Joined:
    Nov 20, 2008
    Messages:
    1,418
    Likes Received:
    421
    Location:
    Pluto
    Basicly what i want to do is make a script that redirect a link i imput in a form to a different site, but what i want to do is make a redirect page that takes 5 seconds to redirect, i allready made something similar using this script,
    but how can i make a form that saves it to a mysql database and saves the link like, www.mysite.com/1, www.mysite.com/2 and when every someone clicks that link it takes them to a redirect page where i can put my adverts and popups and den direct them to the website in the mysql database. anything similar to this script that i can obtain from the internet ? or can someone point me to a direction of how i can start this, im kind of a noob on scripting so go easy on me :( Thank you for reading,

    Jake
     
  2. 195471

    195471 Regular Member

    Joined:
    Oct 11, 2008
    Messages:
    417
    Likes Received:
    261
    I've been using this PHP click counter for both tracking and redirecting:

    Code:
    http://www.phpjunkyard.com/php-click-counter.php
    You can install it on one domain and track/redirect your links anywhere you want. It doesn't have the time-delay feature that you're looking for, though.

    With this click counter, your links will look like this:

    Code:
    http://www.yourdomain.com/somedirectory/click.php?id=#
    "somedirectory" is wherever you choose to install the script, and "#" is obviously the id of the link. Also, it uses a text file, so no database is required.

    Hope that helps.
     
    • Thanks Thanks x 1
  3. jake3340

    jake3340 Supreme Member

    Joined:
    Nov 20, 2008
    Messages:
    1,418
    Likes Received:
    421
    Location:
    Pluto
    hmm interesting, il try alter it to add time feature, thanks mate :)