Who knows how: dynamic php script to rip CB product salespage to your website

LaoTzu

Newbie
Joined
Feb 25, 2009
Messages
48
Reaction score
9
I will try to outline as much as I know about this script that I stumbled on by accident and I want to see if someone can make it for me for free (since I'm giving all the info) and then they can sell the script and have the rights to it. I just need to get some CB sales so I can get my check. Simple.

I stumbled upon this guys website and found he was using a script that I want so I emailed him but he wasn't willing to give it up. I'll highlight our emails back and forth for you.

His website appears to have 9,000+ to Google and other search engines. But it really doesn't. There are only a very few pages to his actual website. I tried to rip his website off the Internet to see if I could get the script but the software thought his website was actually 1,000's and 1,000's of pages so it began ripping everything! After I ripped 85,000 files I stopped. lol I never got the script that is on his hosting, as far as I could tell.

He said this about the code: "php script to dynamically redirect pages, but externally it appears that the page is hosted locally. Say someone produced a new product today called Joe's Ebook and the product's clickbank id was joejoejoe then the page cbreviews.net/joejoejoe would be created and redirect to the sales page for Joe's Ebook automatically, but inserting my personal CB affiliate ID. So in a G00gle search the website "cbreviews.net/joejoejoe" would appear near the top of the results with the meta description of Joe's Ebook sales page. You click the link and my CB affiliate ID (cookie) is automatically in there. The site is simply cbreview.net/CLICKBANKID and it goes out and looks for the product page for that vendor id. It is completely dynamic... The page itself does not detect new product, clickbank publishs a list of new products on their site. I have an offline script that grabs new product id's and adds them to a master list."

What he's doing is he has a script on his server that is connected to ClickBank's API and each time a new product is listed in ClickBank's database his script pulls the information and "creates" a new page on his website. His website then appears on the first page of Google.

I just made up the domain "cbreviews.info". If you can do this then I'll give you the website where it's hosted in a PM.

He said he could do the same with P@yd0tc0m but hasn't yet.

Thoughts?
 
Last edited:
Interesting,

AFAIK, there's no Clickbank's API command to pull new merchants, unless there's something I missed. Or does he have another type of script?
 
That seems easy enough.

Now just gotta find documentation for the API. I can only find the information about 'Instant Notification' which is for, when you make a sale and wish to know about it.

Otherwise, make a PHP script which pings Clickbank via cron?

Definitely possible.
 
Maybe it's not an API but the guy said there was some kind of list that updates daily with all new CB products that was just approved/posted in the CB marketplace and his script connects with CB's marketplace and pulls in all new products.

I'm not a coder so I'm not sure how or what is the daily list but that's what he told me in an email.

It has been awhile since I talked to the guy. I talked to someone who could make it for me but I didn't want to pay for the script; I was hoping someone on here would know how to reproduce it and give it to me for free since I had the info and then sell it or whatnot.
 
It is not very difficult. Create an index.php file
It should go in the subdirectory of that product

For example, cbreviews.info/directorysubitter will have the following code

Code:
<?php
header("Location: http://clickbnkid.bryxen5.hop.clickbank.net/");
exit(); 
?>
 
No, it is not header function through PHP because he is adding iframe on the first line and then changing all image links with full URL for each image.

Thanks
 
Well, if the function's the same, which is redirecting, wouldn't a php redirect also do the job nicely?

Or does iframe needed so G can index it as if it were hosted on our own website?
 
It is not very difficult. Create an index.php file
It should go in the subdirectory of that product

For example, cbreviews.info/directorysubitter will have the following code

Code:
<?php
header("Location: http://clickbnkid.bryxen5.hop.clickbank.net/");
exit(); 
?>

Maybe I am misunderstanding as I'm not good with code (PHP/HTML) but this is a completely automated process and his actual website only has very few files on his hosting account. Every time the CB marketplace has a new product his PHP Script on his site automatically "creates" a new page to his website with his embeded CB affiliate code and uses the CB products ID as the page name - HOWEVER, the page is not actually resting on the guys website. It appears to Google that it is but it's not on his host. He is just pulling from the CB product's sales page. Again, it's completely automated.
 
Well, if the function's the same, which is redirecting, wouldn't a php redirect also do the job nicely?

Or does iframe needed so G can index it as if it were hosted on our own website?

Someone else may have to respond since I'm not sure. All I know is when I discovered his website he had over 9,000 pages indexed for his website in Google although he only hosts a few files for his domain and when I tried to rip his website I ripped over 85,000 files in a 24 hour period but again he only had a few files on his host - all the files are all the affiliate sites with the image and page files, etc. that 'appear' to be his website but they are not.

The guy is a coder and said he could do the same for P@yD0tC0m.
.
 
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock