Few lines of code: thousands lines of content

The simplest way to create pure orignal spam content, that can bring you millions of visitors if you are using this properly.
The code is really, really simple. You need:
1) webserver, supporting php / or in advanced mode – php+mysql
2) text file with words (you can just copy and paste 100 articles in this file)
3) little technical hand to adjust the code to your specific needs.

The script generates 2 strings:
– title (or the main random keywords, for title, meta keywords, description etc)
– the content (random words)

For 5 minutes this can be integrated into your database – just create a table, name it whatever you want,
add 3 fields (ID, title, content) and you are ready to gamble on the SEs ๐Ÿ˜‰
The coolest thing is that actually the SEs will see the same text when they reffer to specific ID, so the only thing you have to do is some basic on-page seo.

Here is the code
< ?php #define the text file #we will get the words from $content_file = "content.txt"; #split the string, using each space as a pointer $words = split(" ", join("", file($content_file))); srand((double) microtime()*1000000); #define how many words can #be in the title (actually, #thats the string we are going to optimize for) $bh_title = rand(4,13); $bh_real_title = " ";

#here is the cycle for this random ‘title’

for($z=0;$z< $bh_title;$z++) { $index = rand(0, count($words)-1); $array = array($bh_real_title, $words[$index]); $bh_real_title = implode(" ", $array); } #here we can define the length of #the content, I think 250-450 is good number, yeah ? $length = rand(250,450); $bh_real_content = " "; for($i=0;$i<$length;$i++) { $index = rand(0, count($words)-1); $array = array($bh_real_content, $words[$index]); $bh_real_content = implode(" ", $array); } ?>

Then, when you are ready with the generation, put just this < ?php echo $bh_real_title; ?> in your title tag, meta descr tag and keywords tag…

Put < ?php echo $bh_real_content; ?> where you want the unique random generated spam content to be placed in the page ๐Ÿ™‚

If the audience needs, I will create more advanced CMS for this, but for now – use this as is, and use it to generate money ๐Ÿ˜‰

Both comments and pings are currently closed.

5 Responses to “Few lines of code: thousands lines of content”

  1. BobArdKor says:

    i don’t know if i well understood your code but at line 33 i’ve put something like

    $index = rand(0, count($words)-1);
    $phrase = ‘ ‘.$words[$index].’ ‘.$words[$index+1].’ ‘.$words[$index+2].’ ‘.$words[$index+3].’ ‘.$words[$index+4].’ ‘;
    $array = array($bh_real_content, $phrase);

    so that the generated content has more “naturally” following words… i guess it could be more cleverly done.

    a great tool to produce surrealist poetry, anyway ! ๐Ÿ˜‰

  2. rollinj says:

    Heya quads, thanks a MILLION bud! I’ve been looking for something like this everywhere but am hardly programming oriented. And this is more of a question than a comment – and it’s somewhat unrelated, but related to SEO none the less.

    Is Shoemoney ACTUALLY a terrible speller? Or is he throwing those spelling mistakes in there? It seems even all his commenters can’t spell, so I’d assume the latter – do you know of any wordpress addon that could accomplish this task?

    And I’d assume you could use something like your PHP code to create something like t1ps2see.com did a few weeks ago yea?

    Thanks again!

  3. volatilegx says:

    Shouldn’t this line:

    $bh_real_content = implode(” “, $array);

    be outside that last for loop?

  4. ayanev says:

    I’m glad the owners added my article ๐Ÿ˜‰
    The spelling mistakes are because English is not my native lang, so – sorry about this ๐Ÿ˜‰

    BobArdKor, there are many, many ways to improve this script based on your needs, but I’m using it as-is for now, dont have enough time to delevop this… ๐Ÿ˜‰

    volatilegx,
    no, test it with this line out of the loop and see the difference ๐Ÿ˜‰

  5. jamx03 says:

    is this considered legal?

    Jamx03