[Guide] Link Networks - Interlinking

Quick question for the OP: How would you link the flogs to the satellite websites without leaving a footprint?

I never make 1-page sites. Always 10-100 pages depending on the strategy I'm doing. And always a different number (e.g. not all sites have 10 pages - that's a footprint in itself). I link just from the body of a post and only from a couple of posts from each site. I also link to other sites that are not mine and authority just to avoid footprints.
 
Hi guys, im having this error on the first php code:

Parse error: sytax error, unexpected '<' on line 3

I just copied the the code from above.. what seems to be the problem? I got the second php code working but im have the abve error on the first php code.. please help.. thanks
 
PHP:
<?php

<html>
<head>
    <title>Flog Interlink Scheme Generator</title>
</head>
<body>

<form method="get">
Number of sites: <input type="text" name="num_sites" value="100" /><br />
Posts per site: <input type="text" name="num_post_min" value="5" /> - <input type="text" name="num_post_max" value="30" /><br />
Inbound links per site: <input type="text" name="num_links_min" value="1" /> - <input type="text" name="num_links_max" value="50" /><br />
<br />
<input type="submit" name="generate" value="Generate" />
</form>

<?php
if(isset($_GET['generate'])) {

$num_sites = $_GET['num_sites'];
$num_post_min = $_GET['num_post_min'];
$num_post_max = $_GET['num_post_max'];
$num_links_min = $_GET['num_links_min'];
$num_links_max = $_GET['num_links_max'];

$sites = array();
$all_posts = array();
$ap = 0;
for($s=0;$s<$num_sites;$s++) {
    $sites[$s]['num_posts'] = mt_rand($num_post_min,$num_post_max);    
    $sites[$s]['num_links'] = mt_rand($num_links_min,$num_links_max);
    for($p=0;$p<$sites[$s]['num_posts'];$p++) {
        $sites[$s]['posts'][$p] = $p+1;
        $all_posts[$ap]['site'] = $s;
        $all_posts[$ap]['post'] = $p;
        $ap++;
    }
}


// choose incoming links
foreach($sites as $skey => $sval) {
    $use_posts = $all_posts; // sites to get links from
    // we choose random links
    for($l=0;$l<$sval['num_links'];$l++) {
        $randpost = mt_rand(0,count($use_posts)-1); // where link comes from
        $sites[$skey]['links'][$l] = array();
        $sites[$skey]['links'][$l]['site'] = $all_posts[$randpost]['site'];
        $sites[$skey]['links'][$l]['post'] = $all_posts[$randpost]['post'];
        unset($use_posts[$randpost]);
    }
}

echo 'Total posts: '.count($all_posts)."<br />\n";


foreach($sites as $skey => $sval) {
    echo "site_".($skey+1).": ".$sval['num_posts']." posts, ".$sval['num_links']." links - ";
    foreach($sites[$skey]['links'] as $link) {
        echo $link['site'].'.'.$link['post'].', ';
    }
    echo "<br />\n";
}


}//~if submitted
?>

</body>
</html>

[/QUOTE]

guys, can you please help me with the above php code? i just copied it from OP and file named it as random.php but i am really having this error:

[B]Parse error: syntax error, unexpected '<' in [B]/home/******/public_html/******/random.php on line [B]3

[/B][/B][/B]

​Can someone from BHW enlighten me? Thanks.
 
nevermind, already figured it out.. thanks anyway.. also to the OP, this is a great contribution.. may God bless you more for your generosity.. :)
 
nevermind, already figured it out.. thanks anyway.. also to the OP, this is a great contribution.. may God bless you more for your generosity.. :)

Glad to hear you fixed it. In 1st script the first <?php should be removed because the script starts with HTML and only then uses PHP.
 
This thread has quality information even in our days now.
 
Back
Top