View Single Post
Old 11-28-2006, 10:04 PM   #21 (permalink)
AbsolutePorn
www.TripleX-Studios.com
 
AbsolutePorn's Avatar
 
Join Date: May 2005
Location: SEO and Plugins Install on BLOGS - 8$
Posts: 16,150
Points: 675
Send a message via ICQ to AbsolutePorn Send a message via MSN to AbsolutePorn
Another addition to this tutorial...

On each one of those ad pages, you can create Random sales texts, so each time a surfer pops into your page, he will be seeing different Sales Text or Banners, randomly.

Works pretty good, and its not hard to do

Here is how its done:

PHP Code:
<?
$link1
='http://www.LINK-TO-SPONSOR1.com/';
$text11='Absolute Porn Recommends you To Click Here!';
$text12='You Better Click here Now Or Your Penis Will Fall!';
$text13='Get Instant Access To SITE NAME!';


$link2='http://www.LINK-TO-SPONSOR2.com/';
$text21='Absolute Porn Recommends you To Click Here!';
$text22='You Better Click here Now Or Your Penis Will Fall!';
$text23='Get Instant Access To SITE NAME!';


$link3='http://www.LINK-TO-SPONSOR3.com/';
$text31='Absolute Porn Recommends you To Click Here!';
$text32='You Better Click here Now Or Your Penis Will Fall!';
$text33='Get Instant Access To SITE NAME!';


$link4='http://www.LINK-TO-SPONSOR4.com/';
$text41='Absolute Porn Recommends you To Click Here!';
$text42='You Better Click here Now Or Your Penis Will Fall!';
$text43='Get Instant Access To SITE NAME!';


$link5='http://www.LINK-TO-SPONSOR5.com/';
$text51='Absolute Porn Recommends you To Click Here!';
$text52='You Better Click here Now Or Your Penis Will Fall!';
$text53='Get Instant Access To SITE NAME!';


##### Don't Touch From Now!
$control='';
$i=0;while($i<1){$i++;
$random_link = (rand(15));
$random_text = (rand(13));
$control_exp=$random_link.'-';
$control=$random_link.'-'.$control;
$control_true strpos($control$control_exp2);
while(
$control_true<>'0'){
$random_link = (rand(15));
$random_text = (rand(13));
$control_exp=$random_link.'-';
$control=$random_link.'-'.$control;
$control_true strpos($control$control_exp2);}
$link='link'.$random_link;
$text='text'.$random_link.$random_text;
$text=$$text;$link=$$link;

##### Output!
echo"<a href='$link'>$text</a>";

}
?>
NOTE: Make sure you save it as ad.php

Then from Rebel's Post, on step 9:
Quote:
Originally Posted by REßEL
9: Open your index.php file and paste the following between the body tags.
&lt;?php include(&quot;header.html&quot; ?&gt;
&lt;?php include(&quot;ad1.html&quot; ?&gt;
&lt;?php include(&quot;navigation.html&quot; ?&gt;
&lt;?php include(&quot;ad2.html&quot; ?&gt;
&lt;?php include(&quot;links.html&quot; ?&gt;
&lt;?php include(&quot;ad3.html&quot; ?&gt;
&lt;?php include(&quot;footer.html&quot; ?&gt;
Should look like:
9: Open your index.php file and paste the following between the body tags.
&lt;?php include(&quot;header.html&quot; ?&gt;
&lt;?php include(&quot;ad.php&quot; ?&gt;
&lt;?php include(&quot;navigation.html&quot; ?&gt;
&lt;?php include(&quot;ad.php&quot; ?&gt;
&lt;?php include(&quot;links.html&quot; ?&gt;
&lt;?php include(&quot;ad.php&quot; ?&gt;
&lt;?php include(&quot;footer.html&quot; ?&gt;


* I haven't tested it yet, just coded it, if you use it and find any problems, PM me.*
AbsolutePorn is online now   Reply With Quote Send a private message to AbsolutePorn