<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Affiliate, SEO and PHP Coding Blog - OOOFF.com</title>
	<link>http://www.oooff.com/php-affiliate-seo-blog</link>
	<description>Helping you put more money in your pocket faster through PHP coding...</description>
	<pubDate>Sat, 12 Jul 2008 23:10:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>
	<language>en</language>
			<item>
		<title>Yet another reason to pay for managed support</title>
		<link>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/yet-another-reason-to-pay-for-managed-support/</link>
		<comments>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/yet-another-reason-to-pay-for-managed-support/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 23:10:40 +0000</pubDate>
		<dc:creator>Smaxor</dc:creator>
		
		<category><![CDATA[Affiliate Marketing]]></category>

	<!-- AutoMeta Start -->
	<category>boxes</category>
	<category>luckily</category>
	<category>vacation</category>
	<category>access</category>
	<category>regular</category>
	<category>main</category>
	<category>internet</category>
	<category>paying</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/yet-another-reason-to-pay-for-managed-support/</guid>
		<description><![CDATA[
I was on vacation and didn&#8217;t have regular internet access. Luckily this wasn&#8217;t one of my main boxes and this was a site that didn&#8217;t get much traffic. But you can see why if you&#8217;re paying for traffic why it&#8217;s 100% worth it to buy a box management service.
]]></description>
			<content:encoded><![CDATA[<p><img src="http://coleadium.com/images/graph_summary_areachart.jpg" title="Mangaged Support" alt="Mangaged Support" height="300" width="650" /></p>
<p>I was on vacation and didn&#8217;t have regular internet access. Luckily this wasn&#8217;t one of my main boxes and this was a site that didn&#8217;t get much traffic. But you can see why if you&#8217;re paying for traffic why it&#8217;s 100% worth it to buy a box management service.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/yet-another-reason-to-pay-for-managed-support/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My Prespective as an Affiliate, Advertiser and Network Owner on Scrubbing and Shaving</title>
		<link>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/my-prespective-as-an-affiliate-advertiser-and-network-owner-on-scrubbing-and-shaving/</link>
		<comments>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/my-prespective-as-an-affiliate-advertiser-and-network-owner-on-scrubbing-and-shaving/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 20:02:12 +0000</pubDate>
		<dc:creator>Smaxor</dc:creator>
		
		<category><![CDATA[Affiliate News]]></category>

		<category><![CDATA[Affiliate Marketing]]></category>

	<!-- AutoMeta Start -->
	<category>shave</category>
	<category>perspective</category>
	<category>sides</category>
	<category>shaving</category>
	<category>payouts</category>
	<category>payouts</category>
	<category>advertiser</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oooff.com/php-affiliate-seo-blog/general/my-prespective-as-an-affiliate-advertiser-and-network-owner-on-scrubbing-and-shaving/</guid>
		<description><![CDATA[&#8220;THIS IS A REPOST FROM A POST I MADE AT WICKEDFIRE&#8221; But I think it&#8217;s important so I&#8217;m going to republish it here.
For those you who don&#8217;t know I bought a network to be annouced later. But this has allowed me to see things from both sides of the coin. I think a lot of [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;THIS IS A REPOST FROM A POST I MADE AT WICKEDFIRE&#8221; But I think it&#8217;s important so I&#8217;m going to republish it here.</p>
<p>For those you who don&#8217;t know I bought a network to be annouced later. But this has allowed me to see things from both sides of the coin. I think a lot of affiliates don&#8217;t understand how all this stuff works. And I&#8217;d like to share with yo some stuff I&#8217;ve learned with regards to shaving and scrubbing from owning a network being and affiliate the last 4 years.</p>
<p>First off yes there are shady advertisers and networks that get greedy and shave and scrub just to be greedy! As you would with any business partner make sure you know who you&#8217;re dealing with.</p>
<p>With that said there&#8217;s also a TON of good advertisers and networks out there as well. And I&#8217;d like to share with you some of the ways they look at things from their perspectives.</p>
<p>From the Networks perspective:</p>
<p>What&#8217;s the only two things network sales reps have to sell you to bring you on board? We all know the typical AM mantra&#8230;.. We have a better payouts&#8230;. and unique offers.</p>
<p>Have you heard that before?</p>
<p>I&#8217;m sure you have if you have traffic and have been around long. So lets examine the better payouts as this is what comes into play here.</p>
<p>Alright so 90-95% of affiliate managers have never run campaigns themselves. That&#8217;s industry knowledge. So most of them are salesmen, they come into interview and get the job because they have a good personality. This is fine but they don&#8217;t know the business that well from an affiliates perspective. So their managers arm them with &#8220;Affiliates are looking for unique offers and better payouts.&#8221; And off they go to start working with us as affiliates.</p>
<p>Better payouts:</p>
<p>Now I&#8217;m not saying all networks do this by any means but I have seen it on some ( and I&#8217;m not going to mention them so don&#8217;t ask ) now that I&#8217;m on the other side. Honestly when it comes to payouts on a network it&#8217;s all about how well their side can negotiate and how good of a deal they can get. People often talk about volume, I don&#8217;t agree with that. I find most advertisers would rather have a smaller amount of very quality traffic that converts well on the backside for them rather then a large amount that sucks. Just like we&#8217;re buying traffic from sources like adwords and ysm they&#8217;re buying traffic from you. So if the network has strong publishers they get strong payouts, bottom-line.</p>
<p>However there&#8217;s a lot of advertisers that offer the same payout to everyone. Networks have employees and overhead and need to make a certain % on the traffic coming through in order to make a profit and cover costs. But they also have to compete in the &#8220;higher payouts&#8221; space. So this puts them between a rock and a hard place. So what&#8217;s their other options. Shaving leads. Basically making is so your pixel won&#8217;t fire sometimes going through the network. I hear this is a &#8220;feature&#8221; in Directtrack. I run a directtrack system and have yet to find it personally, but that&#8217;s not to say it isn&#8217;t there. Now lets take an example of how this plays out in real life.</p>
<p>AM: hey what are you running?<br />
You: I&#8217;m running ringtones.<br />
AM: What&#8217;s your payout?<br />
You: $13/lead<br />
AM: I can get you 14$ on that</p>
<p>Now I&#8217;m not going to preach EPC like I always do but it&#8217;s the ONLY NUMBER THAT MATTERS!</p>
<p>Now lets say the advertiser is only paying 14$ a lead on this how does this new network make money and still allow them to &#8220;up your payout&#8221;? Yep you guessed it they shave.</p>
<p>On your old network you send through 100 clicks and 15 convert to make you 13 * 15 = $195/100 clicks = 1.95$ EPC.</p>
<p>On your new network you send thorugh 100 clicks and 15 convert but 1 or 2 aren&#8217;t shown in your system. Which means they converted with the advertiser but you&#8217;re not getting credit. The affiliate company gets the money and we don&#8217;t get paid on it.</p>
<p>$14  * 13 lead = $196/100 clicks = $1.96 EPC</p>
<p>Effectively nothing changed for you but everyone is still making the same money and the new network got you business. So you can see the motivation for them to do this.</p>
<p>Now from the Advertisers Perspective:</p>
<p>Email submits are a classic example here so that&#8217;s what I&#8217;m going to use. But really this applies to anyone promoting free submit or lead type offers.</p>
<p>Stop and imagine you&#8217;re an advertiser for a second. I know we as affiliates don&#8217;t do this to often but lets do it for a second here so you can understand why things happen.</p>
<p>Now most advertisers know affiliates only really look at one thing, at least newer affiliates well and even some verterans for that matter. And that&#8217;s payout.</p>
<p>As an advertiser they&#8217;re really buying traffic/leads just like we are with PPC. They have a conversion ratio they look at as well.</p>
<p>Back to email submits, lets say they pay you $1.00/submit. Then you send a email submit then they send them through a co-regestration path and on average lets say make 2$ for each visitor that fills out an email submit. Every advertiser is different of course. Now lets say the traffic your sending only makes them 1$ for example so they&#8217;re breaking even with it. In that situation they have a three choices.</p>
<p>1. They could call the affiliate company and say this persons traffic isn&#8217;t converting for us please cut him off of this offer ( I get these calls some times )</p>
<p>2. They could not fire your pixel sometimes to bring their conversions into line<br />
with your traffic. Now this is the most transparent to us as affiliates. It sucks, no question. But how do we expect the advertiser to take traffic that doesn&#8217;t make money for them.</p>
<p>3. Tell the affiliate manager to cut your payout and for traffic from these pubs we&#8217;ll only pay X rather then Y. This is the one I prefer mostly.</p>
<p>Often times when I get cut off to an offer I go back in a re-negotiate for a lower payout if you can believe that. Because it still makes good money even at the lower payout and then everyone is happy. At least that&#8217;s straight forward and not shady.</p>
<p>But honestly I think most advertisers just scrub/shave on the backside because it&#8217;s transparent and they think they&#8217;re not rocking the boat as much.</p>
<p>So when we as affiliates hear higher payouts always question it. EPC is ALLLLLLLLLL that matters. Everything else can be fudged with.</p>
<p>I really think there&#8217;s a lot of secrecy on both sides of the game and the more open, honest and relationship you build with your network the better. I run all my traffic sources by AM&#8217;s I work with. But I have a lot of trust in them that they&#8217;re not going to hand it out to other people. If a traffic source is questionable I ask if they&#8217;ll take the traffic. Most of the time the networks I work with say yes lets try it and see how it does. That way when you run into issues both sides know what&#8217;s going on.</p>
<p>Hope this sheds some light what&#8217;s going on behind the scenes as I think it&#8217;s a huge unknown. I&#8217;ll try and cover more on these relationships and how things work as I go through my learning process.</p>
<p>Success,<br />
Smaxor</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/my-prespective-as-an-affiliate-advertiser-and-network-owner-on-scrubbing-and-shaving/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Free SSL Certificates over at Namecheap.</title>
		<link>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/free-ssl-certificates-over-at-namecheap/</link>
		<comments>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/free-ssl-certificates-over-at-namecheap/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 16:00:12 +0000</pubDate>
		<dc:creator>Smaxor</dc:creator>
		
		<category><![CDATA[Affiliate News]]></category>

		<category><![CDATA[Affiliate Marketing]]></category>

	<!-- AutoMeta Start -->
	<category>certificate</category>
	<category>inspire</category>
	<category>trust</category>
	<category>loan</category>
	<category>auto</category>
	<category>users</category>
	<category>private</category>
	<category>leads</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/free-ssl-certificates-over-at-namecheap/</guid>
		<description><![CDATA[If you&#8217;re looking to inspire more trust with your users an SSL Certificate is always a good way to go. For example if you&#8217;re promoting auto loan leads and have a private label offer then you should have the form page be SSL protected. Both for security and improving your conversions. Up until now it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://files.namecheap.com/graphics/nslogo.gif" title="free ssl" alt="free ssl" height="40" width="156" />If you&#8217;re looking to inspire more trust with your users an SSL Certificate is always a good way to go. For example if you&#8217;re promoting auto loan leads and have a private label offer then you should have the form page be SSL protected. Both for security and improving your conversions. Up until now it&#8217;s been 50-100$ for a SSL certificate, so normally I&#8217;d roll out a site/campaign and then if it did decent I&#8217;d get an SSL certificate for it. Honestly it will increase you conversions.</p>
<p>Now you can get one for free with every domain purchase. Amazing!</p>
<p>My favorite domain registrar has been Namecheap.com for some time. They&#8217;re interface is amazing a quick as opposed to some of the other domain reg&#8217;s out there * cough godaddyd cough *. And now they&#8217;re offering free SSL certs so I&#8217;d suggest you go check them out if you&#8217;re not already a customer. Here&#8217;s the link for the offer ( not an affiliate link as I don&#8217;t think they have a program ).</p>
<p><a href="http://www.namecheap.com/learn/ssl-certificates/free-positive-ssl-certificates.asp?ad=corner&amp;adid=39" title="Free SSL Certificate at Namecheap.com">Free SSL Certificate at Namecheap.com</a></p>
<p>Also you can add this nifty little badge to your page as well.</p>
<p><img src="http://files.namecheap.com/graphics/partners/positive-ssl-seal.gif" title="ssl cert badge" alt="ssl cert badge" height="98" width="98" /></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/free-ssl-certificates-over-at-namecheap/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP Code to Check if Someone is Coming from a Open Proxy.</title>
		<link>http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/php-code-to-check-if-someone-is-coming-from-a-open-proxy/</link>
		<comments>http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/php-code-to-check-if-someone-is-coming-from-a-open-proxy/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 16:21:00 +0000</pubDate>
		<dc:creator>Smaxor</dc:creator>
		
		<category><![CDATA[Affiliate Marketing]]></category>

		<category><![CDATA[PHP Automation Coding]]></category>

	<!-- AutoMeta Start -->
	<category>quest</category>
	<category>challenging</category>
	<category>side</category>
	<category>moving</category>
	<category>sharing</category>
	<category>advertisers</category>
	<category>offers</category>
	<category>building</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/php-code-to-check-if-someone-is-coming-from-a-open-proxy/</guid>
		<description><![CDATA[
As some of you know I&#8217;ve been moving to building my own offers and some other things on the advertisers side I&#8217;ll sharing later. In this quest I&#8217;ve found the most challenging thing is to flush out the fraud from the legitimate users. Everyone thinks being an advertiser is the way to go right? Affiliates [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.redplc.com/images_home/home_fraud_prevention.jpg" title="php open proxy check" alt="php open proxy check" height="159" width="290" /></p>
<p>As some of you know I&#8217;ve been moving to building my own offers and some other things on the advertisers side I&#8217;ll sharing later. In this quest I&#8217;ve found the most challenging thing is to flush out the fraud from the legitimate users. Everyone thinks being an advertiser is the way to go right? Affiliates send traffic and you pay them 5$ and you make 7-10$. Well if only it was that easy. Honestly being the advertiser or network would be the greatest thing since sliced bread if there wasn&#8217;t so much affiliate fraud. Now I&#8217;m not talking about Blackhat tactics or spam traffic generation stuff. I&#8217;m talking straight fraud such as stolen credit cards and lead stuffing. There&#8217;s large organized rings of fraudsters primarily in China, India, Phillipines, Vietnam, Russia, Turkey and a few other countries. So if any of my readers on from those countries and get denied for networks and offers a lot that&#8217;s why.</p>
<p><strong>Why you should care</strong></p>
<p>Fortunately most of the fraudsters aren&#8217;t that sophisticated from what I&#8217;ve seen, so there&#8217;s a lot of ways to flush them out of the bushes and cut your losses before they start. There&#8217;s very good reason to catch them &#8220;Before&#8221; they start. As an advertiser the last thing you want is a large number of charge backs or stolen credit cards running through your system. If enough of this happens you can be blacklisted for any merchant account. Therefore the prevention of these transactions going through is a good place to begin.</p>
<p>One of the hard parts about owning a network or running an offer is the careful balancing act between what you let through and what you block. You could lock down your affiliate approval or purchase system tighter then a drum and approve hardly anyone. Or you could let everyone through but these are extremes of the spectrum of course. So the goal is to build little checks in to weed out most of the fraud before it starts. One thing I&#8217;ve chosen is anyone signing up with a proxy is going to get denied. If you can&#8217;t signup with your real IP I don&#8217;t want to do business with you. Maybe I&#8217;m going to knock out some sales and some affiliates this way but it&#8217;s worth it so I don&#8217;t have to deal with as much fraud.</p>
<p>Now there&#8217;s no way you can block all proxies, I know this but you can weed out the simple ones by checking the regular open proxy ports which are 80, 8080, and 3128. I&#8217;ve written a little function that you pass the IP address to and return 0 or 1 based on whether those ports are open on the IP. So that when an affiliate applies or a sale goes through I check if the IP ( address of the computer) is coming from computer that has those ports open. 99.9 out of a 100 home users aren&#8217;t going to have any of those ports open.</p>
<p>Just take this code and stick it in your sign up form or registration form and decide how you want to deal with these orders or sign ups. You may want to just throw them into a queue to be manually checked. Or build a rating system based on points. How you handle things is up to you.</p>
<p><strong>PHP Proxy Port Checking Code:</strong><br />
<code><br />
function ipProxyPortCheck($ip){<br />
//timeout you want to use to test<br />
$timeout = 5;<br />
// ports we're going to check<br />
$ports = array(80,3128,8080);<br />
// flag to be returned 0 means safe, 1 means open and unsafe<br />
$flag = 0;<br />
// loop through each of the ports we're checking<br />
foreach($ports as $port){<br />
// this is the code that does the actual checking for the port<br />
@$fp = fsockopen($ip,$port,$errno,$errstr,$timeout);<br />
// test if something was returned, ie the port is open<br />
if(!empty($fp)){<br />
// we know the set the flag<br />
$flag = 1;<br />
// close our connection to the IP<br />
fclose($fp);<br />
}<br />
}<br />
// send our flag back to the calling code<br />
return $flag;<br />
}<br />
// call our function and check the IP in there<br />
echo ipProxyPortCheck('69.217.73.52');<br />
?&gt;<br />
</code><br />
Hope this saves some advertisers and affiliate networks some time and money.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/php-code-to-check-if-someone-is-coming-from-a-open-proxy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to Use Pre-Poppable Affiliate Offers</title>
		<link>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/how-to-use-pre-poppable-affiliate-offers/</link>
		<comments>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/how-to-use-pre-poppable-affiliate-offers/#comments</comments>
		<pubDate>Sat, 24 May 2008 15:36:17 +0000</pubDate>
		<dc:creator>Smaxor</dc:creator>
		
		<category><![CDATA[Affiliate Marketing]]></category>

	<!-- AutoMeta Start -->
	<category>38357</category>
	<category>blackhatworld</category>
	<category>populated</category>
	<category>theirphone</category>
	<category>mortgage</category>
	<category>lead</category>
	<category>submit</category>
	<category>yourdomain</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/how-to-use-pre-poppable-affiliate-offers/</guid>
		<description><![CDATA[Originally I posted this over at Blackhatworld.com but thought I&#8217;d repost it on here for my readers.
Someone asked what is a pre-pop offer and how do I use it?
First of a pre-pop offer means that they allow you to populate the data in the offer with a GET uri. So for example if your form [...]]]></description>
			<content:encoded><![CDATA[<p>Originally I posted this over at Blackhatworld.com but thought I&#8217;d repost it on here for my readers.</p>
<p>Someone asked what is a pre-pop offer and how do I use it?</p>
<p>First of a pre-pop offer means that they allow you to populate the data in the offer with a GET uri. So for example if your form had fields &#8220;fname&#8221;, &#8220;lname&#8221;, &#8220;phone&#8221; your url to pre-pop it might look like this:</p>
<p>http://www.affiliateoffer.com/lander.php?fname=Smaxor&amp;lname=Musings&amp;phone=4082931938</p>
<p>So what this would do is take the user to the landing page with their first name, last name and phone number already filled in so all they have to do is hit submit and makes your conversions go way up. Not all offers support this however a lot do so just ask your affiliate manager what pre-pops they offer.</p>
<p>Pre-Pop is awesome especially if you have a white label or private lable offer you&#8217;re promoting. Bascialy once they fill out the first offer, we&#8217;ll use a mortgage lead as an example, you forward them to a second page or throw them a pop-up already pre-populated with the data that they filled out from the first mortgage lead offer so all they have to do is hit submit.</p>
<p>Some examples of numbers, when we used to run a lot of mortgage ( sucks now for mortgage ) we&#8217;d pre-pop a home owners insurance lead form. 15% would hit submit and we&#8217;d get a second 8$ pop for the same lead. Then we&#8217;d pre-pop a new window install lead offer and on and on.</p>
<p>1000 leads * 15% = 150 leads additional * 8 =  $1200 extra for the same traffic</p>
<p>Good stuff. The other thing pre-pop&#8217;s are great for is if you are a mailer and have data then you can make the links that they click on have their info in them already so that when they click and go to the landing page it&#8217;s already pre-populated with their info.</p>
<p>So your link in the email might look like this</p>
<p><a href="http://www.offer.com/page.php?name=theirname&amp;phone=theirphone" target="_blank">http://www.offer.com/page.php?name=t&#8230;one=theirphone</a>&#8230;&#8230;.</p>
<p>Now you&#8217;re conversion is going to go up quite a bit if their form is already filled out with their info. Also if you don&#8217;t want to use that big link in a mail or the affiliate url ( always a good idea ) you can send them to your domains and keep a database of records. So for example you use a link like this</p>
<p><a href="http://www.yourdomain.com/jump.php?id=38357" target="_blank">http://www.yourdomain.com/jump.php?id=38357</a></p>
<p>Where 38357 corresponds to a record id in the database. You pull their record and then forward them to the offer with their pre-pop info.<br />
Simple code to do this would be<br />
<code><br />
&lt;?php<br />
// connect to your db<br />
dbconnect();<br />
// pull the id from the uri<br />
$id = htmlentities(trim($_GET['id']));<br />
// build your sql for pulling the record from the database<br />
$sql = "SELECT * FROM records WHERE id = '$id'";<br />
// get the result from the database for the id<br />
$sql_result = mysql_query($sql);<br />
// put that result into an array<br />
$row = mysql_fetch_row($sql_result);<br />
// here we're redirecting the user to the landing page with the pre-pop uri, this is<br />
// assuming that first name is the second field, last name the 3rd field and phone number<br />
// the 4th field.<br />
echo "&lt;meta http-equiv=\"refresh\" content=\"0;url=http://www.affiliateoffer.com/lander.php?fname={$row[1]}&amp;lname={$row[2]}&amp;phone={$row[3]}\"/&gt;";<br />
?&gt;<br />
</code><br />
Hope that helps and explains some stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/how-to-use-pre-poppable-affiliate-offers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Diorex&#8217;s Blog is back Up - But Moved</title>
		<link>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/diorexs-blog-is-back-up-but-moved/</link>
		<comments>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/diorexs-blog-is-back-up-but-moved/#comments</comments>
		<pubDate>Wed, 21 May 2008 20:05:52 +0000</pubDate>
		<dc:creator>Smaxor</dc:creator>
		
		<category><![CDATA[Affiliate News]]></category>

		<category><![CDATA[Affiliate Marketing]]></category>

	<!-- AutoMeta Start -->
	<category>moved</category>
	<category>archived</category>
	<category>enlightening</category>
	<category> diorex</category>
	<category>posted</category>
	<category>past</category>
	<category>posts</category>
	<category>domain</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/diorexs-blog-is-back-up-but-moved/</guid>
		<description><![CDATA[He has moved it to his own domain. He&#8217;s posted all his enlightening archived content posts from the past.
 DIOREX
]]></description>
			<content:encoded><![CDATA[<p>He has moved it to his own domain. He&#8217;s posted all his enlightening archived content posts from the past.</p>
<p><a href="http://www.diorex.com/" title="diorex"> DIOREX</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oooff.com/php-affiliate-seo-blog/affiliate-marketing/diorexs-blog-is-back-up-but-moved/feed/</wfw:commentRss>
		</item>
		<item>
		<title>zxbfwwr - What is it? Number 1 on Google Trends</title>
		<link>http://www.oooff.com/php-affiliate-seo-blog/general/zxbfwwr-what-is-it-number-1-on-google-trends/</link>
		<comments>http://www.oooff.com/php-affiliate-seo-blog/general/zxbfwwr-what-is-it-number-1-on-google-trends/#comments</comments>
		<pubDate>Thu, 15 May 2008 01:36:38 +0000</pubDate>
		<dc:creator>Smaxor</dc:creator>
		
		<category><![CDATA[General]]></category>

	<!-- AutoMeta Start -->
	<category>trends</category>
	<category>zxbfwwr</category>
	<category>gaming</category>
	<category>trend</category>
	<category>watch</category>
	<category>located</category>
	<category>bring</category>
	<category>term</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oooff.com/php-affiliate-seo-blog/general/zxbfwwr-what-is-it-number-1-on-google-trends/</guid>
		<description><![CDATA[Thought I&#8217;d make a blog post about it and see if the highest trend keyword right now will bring much traffic. My guess is it&#8217;s someone gaming Trends. The other thing to watch for is watch the term zxbfwwr in google. See how many results pop up. As of now there&#8217;s only 10 where I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>Thought I&#8217;d make a blog post about it and see if the highest trend keyword right now will bring much traffic. My guess is it&#8217;s someone gaming Trends. The other thing to watch for is watch the term zxbfwwr in google. See how many results pop up. As of now there&#8217;s only 10 where I&#8217;m located. So follow this search to see what happens. <a href="http://www.google.com/search?q=zxbfwwr&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a" title="zxbfwwr">zxbfwwr</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oooff.com/php-affiliate-seo-blog/general/zxbfwwr-what-is-it-number-1-on-google-trends/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP &#038; CURL Forum</title>
		<link>http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/php-curl-forum/</link>
		<comments>http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/php-curl-forum/#comments</comments>
		<pubDate>Tue, 13 May 2008 16:08:55 +0000</pubDate>
		<dc:creator>Smaxor</dc:creator>
		
		<category><![CDATA[PHP Automation Coding]]></category>

	<!-- AutoMeta Start -->
	<category>forum</category>
	<category>phptrack</category>
	<category>viewforum</category>
	<category>active</category>
	<category>history</category>
	<category>curl</category>
	<category>answers</category>
	<category>yesterday</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/php-curl-forum/</guid>
		<description><![CDATA[Just a quick post about a forum I found today. If you&#8217;re looking for other people to talk about CURL and PHP with I came across this forum the other yesterday. Doesn&#8217;t seem super active however there might be some answers to your questions in the history.
http://curl.phptrack.com/forum/viewforum.php?f=1
]]></description>
			<content:encoded><![CDATA[<p>Just a quick post about a forum I found today. If you&#8217;re looking for other people to talk about CURL and PHP with I came across this forum the other yesterday. Doesn&#8217;t seem super active however there might be some answers to your questions in the history.</p>
<p>http://curl.phptrack.com/forum/viewforum.php?f=1</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/php-curl-forum/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lots Of Proxies from 1 Server using 3Proxy</title>
		<link>http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/lots-of-proxies-from-1-server-using-3proxy/</link>
		<comments>http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/lots-of-proxies-from-1-server-using-3proxy/#comments</comments>
		<pubDate>Tue, 13 May 2008 07:31:54 +0000</pubDate>
		<dc:creator>Smaxor</dc:creator>
		
		<category><![CDATA[PHP Automation Coding]]></category>

	<!-- AutoMeta Start -->
	<category>filecontents</category>
	<category>3proxy</category>
	<category>auth</category>
	<category>port\n</category>
	<category>port</category>
	<category>beginningclassc</category>
	<category>endingclassc</category>
	<category>proxy</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/lots-of-proxies-from-1-server-using-3proxy/</guid>
		<description><![CDATA[My goal was to get 8k IP&#8217;s setup on a single server I&#8217;d never done this before but someone mentioned you could so I figured it was possible.
As mentioned in the title the proxy server we&#8217;re going to use is a Russian server called 3proxy. The beauty of 3proxy is it&#8217;s ultra lightweight, fast and [...]]]></description>
			<content:encoded><![CDATA[<p>My goal was to get 8k IP&#8217;s setup on a single server I&#8217;d never done this before but someone mentioned you could so I figured it was possible.</p>
<p>As mentioned in the title the proxy server we&#8217;re going to use is a Russian server called 3proxy. The beauty of 3proxy is it&#8217;s ultra lightweight, fast and you can run multiple IP&#8217;s in a single daemon because it has internal threads. Check out http://3proxy.ru/ which is the home of 3proxy.</p>
<p>We started off by getting all the IP&#8217;s pointed to the beefy dedicated server and then started playing with proxy software. We first started off with tinyproxy without much success. I had never used this before but my hosting company suggested and mentioned it would work for this setup. Unfortunately when you try to load 8k IP&#8217;s it starts a new daemon process in the OS for each IP and will eventually crash.</p>
<p>Next we moved to my old standby I&#8217;ve been using for a few years now, 3proxy which we tried the same thing as we did with tinyproxy which was start a daemon for each individual IP. We tried this first as this is how I have all my other servers configured and thought 3proxy might have a smaller footprint. Guess what? This crashed just the same. The next config was throwing 8k IP&#8217;s in a single daemon. CRASH! After that we gave 4 daemon&#8217;s, 2k per a shot. This actually ran but excrutiatingly slow. The load times of pages was 10x&#8217;s what it was running a single c-block and single daemon which was our base test case. What was interesting was the server was very responsive with a super low load using this setup, but for some reason the proxies were very unresponsive. I don&#8217;t know much about the internal coding of 3proxy but I imagine it has something to do with how it&#8217;s designed internally. Lastly I decided I&#8217;d try running an individual daemon for each c-block all at the same time. Now, for each daemon we need to run it on a different listening port. This was the magic bullet, seems if you don&#8217;t put to many IP&#8217;s in a single daemon they run smooth. As of right now I&#8217;m running about a 8 server load which high but things are still running very smoothly and the load times are almost as fast as not using a proxy at all.</p>
<p>If you want to run a lot of proxies on single server I &#8216;d suggest 3proxy which is a nice free opensource piece of software. Then run no more then 255 IP&#8217;s per daemon. The number of daemon&#8217;s per server you&#8217;re going to be able to run is solely dependent on how good the server is.</p>
<p>P.S. That fellow who told me I could run them all on the the same server later said no you couldn&#8217;t after the first couple of attempts. Also mentioned he&#8217;d never done it before.</p>
<p><strong>If you&#8217;re interested in running a setup like this here&#8217;s a couple things to help.</strong></p>
<p>1. This first script is going to make your config files for your daemons that 3proxy needs to run. These config&#8217;s are set as open proxies right and you should put some IP whitelisting or login/password protection on them. Read more on the 3proxy website about how to do this.</p>
<p><code>&lt;?<br />
// this is the port we'll start incrementing from<br />
$port		= 22406;<br />
// first class C<br />
$beginningclassc 	= 122;<br />
//last class C<br />
$endingclassc		= 224;<br />
//this is our class C id's like this XXX.XXX.122<br />
for($c = $beginningclassc;$c &lt;= $endingclassc;$c++)<br />
{<br />
// these are our settings for our config file<br />
$filecontents = "#!/usr/local/bin/3proxy<br />
nserver 127.0.0.1<br />
nscache 65536<br />
timeouts 1 5 30 60 180 1800 15 60<br />
log /usr/home/3proxy.log<br />
daemon<br />
#auth iponly<br />
auth none<br />
dnspr<br />
flush<br />
auth none<br />
";<br />
// adding each of the IP's to the config file<br />
for($i=2;$i&lt;255;$i++)<br />
{<br />
$filecontents .= "external 111.222.$c.$i\n";<br />
$filecontents .= "internal 111.222.$c.$i\n";<br />
//<br />
$filecontents .= "proxy -a -n -p$port\n";<br />
}<br />
// increments the port for the next loop<br />
$port++;<br />
// saves the file to a dir of your choosing with a filename<br />
// that has the C segment in it for identification<br />
file_put_contents("c:/files/proxy-$c.cfg",$filecontents);<br />
}<br />
?&gt;</code></p>
<p><code></code><br />
2. This second script is a bash script that runs on your server that will start each of the daemons. Instead of running<br />
&gt;3proxy proxy-112.cfg<br />
all you have to do is run this script on your server and it&#8217;ll start them all for you.<br />
<code><br />
#!/bin/bash<br />
COUNTER=122<br />
while [  $COUNTER -lt 224 ]; do<br />
3proxy /root/3proxy/proxy-$COUNTER.cfg<br />
let COUNTER=COUNTER+1<br />
done</code></p>
<p>If you don&#8217;t know how to use this make a file on your server called &#8220;proxy-start&#8221;. Then chmod it 777 by the command chmod 777 proxy-start. Then just run it using ./proxy-start. That should get all your blocks up and running. If you have an issue you can just do a killall -9 3proxy which will kill all your 3proxy processes and you can start again.</p>
<p>Hope this helps someone <img src='http://www.oooff.com/php-affiliate-seo-blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/lots-of-proxies-from-1-server-using-3proxy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Curl Cookies - Quick Tip</title>
		<link>http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/curl-cookies-quick-tip/</link>
		<comments>http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/curl-cookies-quick-tip/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 05:02:09 +0000</pubDate>
		<dc:creator>Smaxor</dc:creator>
		
		<category><![CDATA[PHP Automation Coding]]></category>

	<!-- AutoMeta Start -->
	<category>cookies</category>
	<category>troubling</category>
	<category>stay</category>
	<category>login</category>
	<category>logged</category>
	<category>path</category>
	<category>issues</category>
	<category>quickly</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/curl-cookies-quick-tip/</guid>
		<description><![CDATA[I know I haven&#8217;t got around to writing script that uses cookies to login. However if you&#8217;re on that path and are interested in using cookies to do things like login and stay logged into a site there&#8217;s one troubling thing I had big issues with when I started.
To use a cookie we need to [...]]]></description>
			<content:encoded><![CDATA[<p>I know I haven&#8217;t got around to writing script that uses cookies to login. However if you&#8217;re on that path and are interested in using cookies to do things like login and stay logged into a site there&#8217;s one troubling thing I had big issues with when I started.</p>
<p>To use a cookie we need to set it&#8217;s location and this is where I&#8217;ve had troubles. For some reason I&#8217;ve had problems using a cookie not set with the full path. So when you set your cookie location make sure you use the full path of your cookie location.</p>
<p>$cookie = &#8220;/home/user/tmp/cookie.txt&#8221;;<br />
If you&#8217;re going to use multiple threads or want to code up a captcha solve you have to save the session so you probably want to do a<br />
$cookie = &#8220;/home/user/tmp/cookie-&#8221;.rand(111,9999).&#8221;.txt&#8221;;</p>
<p>And that&#8217;s the quick tip. I beat my head against the wall with this one a bunch of times and the full path seemed to be the thing that solved the curl cookie issues I had. If you&#8217;re having problems with cookies give this a try.</p>
<p>Just quickly to use cookies you just use a couple of simple lines.</p>
<p>So the initial call you need to set a cookie like this</p>
<p>curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie); // sets the cookie file location<br />
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie); // this says to start a new cookie file.</p>
<p>And that&#8217;s it to set the cookie on login or whatever you might need to start a cookie for. Then all your calls after that would look like this.</p>
<p>curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie); // sets the cookie file location<br />
curl_setopt($ch, CURLOPT_COOKIE, $cookie); // use the cookie we have on file</p>
<p>And there you have it cookies are just that easy. I&#8217;ll get some example code up in the next day or so to show them in the wild.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/curl-cookies-quick-tip/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
