Y T Nuke  
Results 1 to 20 of 20
I use the following code to make all my promoted affiliate programs get uniques... Example.. ...
  1. #1
    TheInsider's Avatar
    TheInsider is offline Registered Member
    Join Date
    Jan 2008
    Posts
    99
    Reputation
    26
    Thanks
    14
    Thanked 98 Times in 22 Posts

    Default Quick script I wrote to increase your clicks

    I use the following code to make all my promoted affiliate programs get uniques... Example.. You send traffic to one offer, normally only that offer gets the traffic.. Using my method, all your offers get the traffic, basically PADDING the stats..

    First off, make a file called image.jpg that is a 1x1 white pixel image. Replace the urls below with the urls of all your link codes you want to send traffic to. You can remove or add links by increasing/decreasing the $v = (rand()%8);
    variable. Remember 0 is counted as a #, so if you have nine links, you use 8 in the variable.

    THEN, as an added bonus, my script logs the information of the click to a file called log.html. Just create a 0 byte file in the directory, before executing..

    If you pass the variable ?e=email@email.com it will log the email of the person. Everything is pulled from the environment.. Time, IP and referral.

    The best part of this script is there is no hidden frames. Everything is loaded in the background. AND you call it as an image!

    Example: <img src="http://www.testserver.com/image.php?e=%SURFEREMAIL%">

    Just take the following code and save it as image.php on your server...

    PHP Code:
    <?php
    header
    ('Content-type: image/jpeg');
    readfile('image.jpg');

    #Get our variables for writing
    $IP $_SERVER['REMOTE_ADDR'];
    $referral $_SERVER['HTTP_REFERER'];
    $time date ("F dS, H:i");
    $e = (isset($_GET["e"]) && !empty($_GET["e"]) ? $_GET["e"] : "");

    srand(time());
    $v = (rand()%8);
    if (
    $v == 0) { $contents file_get_contents('http://url.1.com'); }
    if (
    $v == 1) { $contents file_get_contents('http://url.2.com'); }
    if (
    $v == 2) { $contents file_get_contents('http://url.3.com'); }
    if (
    $v == 3) { $contents file_get_contents('http://url.4.com'); }
    if (
    $v == 4) { $contents file_get_contents('http://url.5.com'); }
    if (
    $v == 5) { $contents file_get_contents('http://url.6.com'); }
    if (
    $v == 6) { $contents file_get_contents('http://url.7.com'); }
    if (
    $v == 7) { $contents file_get_contents('http://url.8.com'); }

    #Get our File Handle and set for appending
    $filehandle fopen ("log.html""a");

    #Lets begin to write!
    fwrite $filehandle"<b>Time Accesssed:</b> $time<br>" );
    fwrite $filehandle"<b>Email:</b> $e<br>" );

    #Does the IP exist or referer? Check before attempting to write!
    if ( $IP != null )
    {
    fwrite $filehandle"<b>IP Address:</b> $IP<br><hr>" ) ;
    }
    if ( 
    $referral != null )
    {
    fwrite $filehandle"<b>Referer:</b> $referral<br><hr>" );
    }
    fclose $filehandle );
    ?>
    Oh, and to see who loaded your page.. just goto http://www.testserver.com/log.html in your web browser.

    If you experience problems, make sure that log.html is read/writable (777)

  2. The Following 5 Users Say Thank You to TheInsider For This Useful Post:

    Andre2812 (11-18-2009), bobfrapples (11-11-2009), fartblaster (11-11-2009), Scrog (11-11-2009), xtroublex (11-11-2009)

  3. #2
    Gofobu is offline Registered Member
    Join Date
    Aug 2009
    Posts
    71
    Reputation
    11
    Thanks
    19
    Thanked 26 Times in 10 Posts

    Default Re: Quick script I wrote to increase your clicks

    Why I am by no means an expert, this sounds like CS. Or am I totally off?

  4. #3
    TheInsider's Avatar
    TheInsider is offline Registered Member
    Join Date
    Jan 2008
    Posts
    99
    Reputation
    26
    Thanks
    14
    Thanked 98 Times in 22 Posts

    Default Re: Quick script I wrote to increase your clicks

    Quote Originally Posted by ****** View Post
    very nice!
    you could even build "fresh" email lists with this haha
    Now you are understanding the true potential!

    I've actually used this script to make a non-optinlist an optinlist, because I suddently had timestamps and dates of when they joined my list, all simply because they happened to open an email they received hahah

  5. #4
    TheInsider's Avatar
    TheInsider is offline Registered Member
    Join Date
    Jan 2008
    Posts
    99
    Reputation
    26
    Thanks
    14
    Thanked 98 Times in 22 Posts

    Default Re: Quick script I wrote to increase your clicks

    Quote Originally Posted by Gofobu View Post
    Why I am by no means an expert, this sounds like CS. Or am I totally off?
    CS? please elaborate. I am relatively new to the BHW world and still learning all the acronyms

  6. #5
    origin's Avatar
    origin is offline Regular Member
    Join Date
    Nov 2008
    Posts
    327
    Reputation
    19
    Thanks
    42
    Thanked 86 Times in 72 Posts

    Default Re: Quick script I wrote to increase your clicks

    CS: Cookie Stuffing

  7. #6
    Scrog's Avatar
    Scrog is offline Registered Member
    Join Date
    Jun 2009
    Posts
    54
    Reputation
    10
    Thanks
    13
    Thanked 35 Times in 15 Posts

    Default Re: Quick script I wrote to increase your clicks

    Thank you so much dude.. Like, actually.

  8. #7
    Scrog's Avatar
    Scrog is offline Registered Member
    Join Date
    Jun 2009
    Posts
    54
    Reputation
    10
    Thanks
    13
    Thanked 35 Times in 15 Posts

    Default Re: Quick script I wrote to increase your clicks

    Quote Originally Posted by ****** View Post
    very nice!
    you could even build "fresh" email lists with this haha
    Don't mind me asking the noob question of the day, but how would you go about building an email list with this method?

  9. #8
    Scrog's Avatar
    Scrog is offline Registered Member
    Join Date
    Jun 2009
    Posts
    54
    Reputation
    10
    Thanks
    13
    Thanked 35 Times in 15 Posts

    Default Re: Quick script I wrote to increase your clicks

    Quote Originally Posted by ****** View Post
    because it grabs the email address , ip , and time stamp , ip and time stamp to make it seem as a "proof" of opt in. the email address that it logs can be used to send out emails and if anything arises , you can use the email , ip , time stamp as "proof" of an "opt-in"
    Ok cool, thanks for the response.

    I'm having troubles making this work.. *sigh*

    Can anyone give me a hand, I don't understand what file to call the images/how to even call all the images.. I've tried different ways but it always comes up with broken images or nothing at all.

  10. #9
    dacash is offline Registered Member
    Join Date
    Jan 2008
    Location
    on the dark side.
    Posts
    51
    Reputation
    11
    Thanks
    6
    Thanked 15 Times in 7 Posts

    Default Re: Quick script I wrote to increase your clicks

    Quote Originally Posted by TheInsider View Post
    I use the following code to make all my promoted affiliate programs get uniques... Example.. You send traffic to one offer, normally only that offer gets the traffic.. Using my method, all your offers get the traffic, basically PADDING the stats..

    First off, make a file called image.jpg that is a 1x1 white pixel image. Replace the urls below with the urls of all your link codes you want to send traffic to. You can remove or add links by increasing/decreasing the $v = (rand()%8);
    variable. Remember 0 is counted as a #, so if you have nine links, you use 8 in the variable.

    THEN, as an added bonus, my script logs the information of the click to a file called log.html. Just create a 0 byte file in the directory, before executing..

    If you pass the variable ?e=email@email.com it will log the email of the person. Everything is pulled from the environment.. Time, IP and referral.

    The best part of this script is there is no hidden frames. Everything is loaded in the background. AND you call it as an image!

    Example: <img src="http://www.testserver.com/image.php?e=%SURFEREMAIL%">

    Just take the following code and save it as image.php on your server...

    PHP Code:
    <?php
    header
    ('Content-type: image/jpeg');
    readfile('image.jpg');

    #Get our variables for writing
    $IP $_SERVER['REMOTE_ADDR'];
    $referral $_SERVER['HTTP_REFERER'];
    $time date ("F dS, H:i");
    $e = (isset($_GET["e"]) && !empty($_GET["e"]) ? $_GET["e"] : "");

    srand(time());
    $v = (rand()%8);
    if (
    $v == 0) { $contents file_get_contents('http://url.1.com'); }
    if (
    $v == 1) { $contents file_get_contents('http://url.2.com'); }
    if (
    $v == 2) { $contents file_get_contents('http://url.3.com'); }
    if (
    $v == 3) { $contents file_get_contents('http://url.4.com'); }
    if (
    $v == 4) { $contents file_get_contents('http://url.5.com'); }
    if (
    $v == 5) { $contents file_get_contents('http://url.6.com'); }
    if (
    $v == 6) { $contents file_get_contents('http://url.7.com'); }
    if (
    $v == 7) { $contents file_get_contents('http://url.8.com'); }

    #Get our File Handle and set for appending
    $filehandle fopen ("log.html""a");

    #Lets begin to write!
    fwrite $filehandle"<b>Time Accesssed:</b> $time<br>" );
    fwrite $filehandle"<b>Email:</b> $e<br>" );

    #Does the IP exist or referer? Check before attempting to write!
    if ( $IP != null )
    {
    fwrite $filehandle"<b>IP Address:</b> $IP<br><hr>" ) ;
    }
    if ( 
    $referral != null )
    {
    fwrite $filehandle"<b>Referer:</b> $referral<br><hr>" );
    }
    fclose $filehandle );
    ?>
    Oh, and to see who loaded your page.. just goto http://www.testserver.com/log.html in your web browser.

    If you experience problems, make sure that log.html is read/writable (777)
    You could of made this script lot shorter and easier for people to add and remoe links. :P

  11. #10
    TheInsider's Avatar
    TheInsider is offline Registered Member
    Join Date
    Jan 2008
    Posts
    99
    Reputation
    26
    Thanks
    14
    Thanked 98 Times in 22 Posts

    Default Re: Quick script I wrote to increase your clicks

    I am far from a programmer! Hahaha.. When the need arises I sit down and try to come up with a solution. Sometimes I do it in 5 minutes, sometimes it takes me weeks! I should take a php class haha.. Either way, I just thought it would be helpfull to some.

  12. #11
    TheInsider's Avatar
    TheInsider is offline Registered Member
    Join Date
    Jan 2008
    Posts
    99
    Reputation
    26
    Thanks
    14
    Thanked 98 Times in 22 Posts

    Default Re: Quick script I wrote to increase your clicks

    Did you create a 1x1 image.jpg file and put it in the directory of the program? You can do this with any image software. Just say file new size 1 pixel by 1 pixel, white background, then save it for web.

  13. #12
    bobfrapples is offline Jr. VIP
    Join Date
    May 2008
    Posts
    360
    Reputation
    15
    Thanks
    79
    Thanked 208 Times in 111 Posts

    Default Re: Quick script I wrote to increase your clicks

    I can't program my way out of a wet paper bag but I'm seeing some potential in this. Gonna play with it a little tonight. Thanks for the share.

  14. #13
    Scrog's Avatar
    Scrog is offline Registered Member
    Join Date
    Jun 2009
    Posts
    54
    Reputation
    10
    Thanks
    13
    Thanked 35 Times in 15 Posts

    Default Re: Quick script I wrote to increase your clicks

    I've tried everything.. does anyone have an example to show? Mine don't seem to work.

  15. #14
    bobfrapples is offline Jr. VIP
    Join Date
    May 2008
    Posts
    360
    Reputation
    15
    Thanks
    79
    Thanked 208 Times in 111 Posts

    Default Re: Quick script I wrote to increase your clicks

    Maybe make the image src on your page be image.jpg, not the image.php like he has mentioned above. It looks like the code may be telling it to treat image.jpg as php and run the script. I haven't played with it yet so I may be off on this but unless that's the case I don't see why you would create the 1x1 image file because it isn't referenced anywhere on the page.

  16. #15
    Scrog's Avatar
    Scrog is offline Registered Member
    Join Date
    Jun 2009
    Posts
    54
    Reputation
    10
    Thanks
    13
    Thanked 35 Times in 15 Posts

    Default Re: Quick script I wrote to increase your clicks

    Quote Originally Posted by bobfrapples View Post
    Maybe make the image src on your page be image.jpg, not the image.php like he has mentioned above. It looks like the code may be telling it to treat image.jpg as php and run the script. I haven't played with it yet so I may be off on this but unless that's the case I don't see why you would create the 1x1 image file because it isn't referenced anywhere on the page.
    Unfortunately, I tried deleting the 1x1 image and everything.. Still no luck

    EDIT:

    This is what I'm using.

    index.html
    Code:
    <html>
    <head><title>Test Title</title>
    </head>
    <body>
        <font face='verdana' size='1'>Sally doesn't sell sea shells on the sea shore koz she's a hooker.</font><br/>
        <img src='http://freestuffeasy.info/tester/image.php'>
    </body>
    </html>
    image.php
    Code:
    <?php
    
    header('Content-type: image/jpeg');
    
    readfile('image.jpg');
    
    #Get our variables for writing
    
    $IP = $_SERVER['REMOTE_ADDR'];
    
    $referral = $_SERVER['HTTP_REFERER'];
    
    $time = date ("F dS, H:i");
    
    $e = (isset($_GET["e"]) && !empty($_GET["e"]) ? $_GET["e"] : "");
    
    srand(time());
    
    $v = 1;
    
    if ($v == 0) { $contents = file_get_contents('offer1'); }
    if ($v == 1) { $contents = file_get_contents('offer2'); }
    if ($v == 2) { $contents = file_get_contents('offer3'); }
    if ($v == 3) { $contents = file_get_contents('offer4'); }
    if ($v == 4) { $contents = file_get_contents('offer5'); }
    
    #Get our File Handle and set for appending
    $filehandle = fopen ("log.html", "a");
    
    #Lets begin to write!
    fwrite ( $filehandle, "<b>Time Accesssed:</b> $time<br>" );
    fwrite ( $filehandle, "<b>Email:</b> $e<br>" );
    
    #Does the IP exist or referer? Check before attempting to write!
    if ( $IP != null )
    {
    fwrite ( $filehandle, "<b>IP Address:</b> $IP<br><hr>" ) ;
    }
    if ( $referral != null )
    {
    fwrite ( $filehandle, "<b>Referer:</b> $referral<br><hr>" );
    }
    fclose ( $filehandle );
    ?>
    Last edited by Scrog; 11-11-2009 at 07:35 PM.

  17. #16
    bobfrapples is offline Jr. VIP
    Join Date
    May 2008
    Posts
    360
    Reputation
    15
    Thanks
    79
    Thanked 208 Times in 111 Posts

    Default Re: Quick script I wrote to increase your clicks

    I think I may have been wrong with what I said earlier. Anyway, a couple things to try.

    First create the 1x1 .jpg image and make sure to put it into to the proper place. It looks like you're using the "tester" folder, so put it in there. Second, in the php code where it says readfile('image.jpg'); he has his image.jpg in, and the script is looking for the image.jpg, in the root. If yours is in a sub-folder /tester/image.jpg, you need to change that piece of the code to the (correct) absolute path. Make it readfile('http://freestuffeasy.info/tester/image.jpg');

    Give that a whirl and see if it does anything.
    Last edited by bobfrapples; 11-11-2009 at 08:34 PM.

  18. #17
    Scrog's Avatar
    Scrog is offline Registered Member
    Join Date
    Jun 2009
    Posts
    54
    Reputation
    10
    Thanks
    13
    Thanked 35 Times in 15 Posts

    Default Re: Quick script I wrote to increase your clicks

    I dont know what the problem is, my log records every view but I'm not getting a single click showing...

  19. #18
    clopper's Avatar
    clopper is offline Food/Beverage Director
    Join Date
    Dec 2007
    Location
    USA
    Posts
    315
    Reputation
    44
    Thanks
    46
    Thanked 59 Times in 43 Posts

    Default Re: Quick script I wrote to increase your clicks

    thanx
    Always willing to talk shop. PM me.

  20. #19
    tejsin's Avatar
    tejsin is offline Power Member
    Join Date
    Nov 2010
    Location
    AL
    Posts
    505
    Reputation
    25
    Thanks
    130
    Thanked 66 Times in 25 Posts

    Default Re: Quick script I wrote to increase your clicks

    ANyone is so kind to explain to me how do you put PHP in html?
    Please

  21. #20
    ilikebh's Avatar
    ilikebh is offline Junior Member
    Join Date
    Jun 2010
    Posts
    148
    Reputation
    2
    Thanks
    70
    Thanked 14 Times in 9 Posts

    Default Re: Quick script I wrote to increase your clicks

    I still don't get how this captures everyones emails ?

    I just edit this and paste this code on a site and i'll get all my visitors emails ?

    OR , I edit the code , email out to a partners emails list and I get all my partners emails as optin if they happen to just open their email ?

    Whichever way , this seems really powerful .
    WTB verified facebook advertising accounts with credit inside .

Natural Slow Link Building


SEO Blasts - High quality link building service

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  SEnukeX SEO Software
Proudly Powered by Hostwinds.com Web Hosting Click Here For Exclusive BHW Discounts!

Cheap Web Hosting


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75