<html>
<body>
<?php
$HITS = array(
"big purple dinosaur", //barney
"teenage russian lesbians", //tatu
"young british rock band", //beatles
"animated dysfunctional family", // the simpsons
"foul-mouthed rude family", //the osbournes
"young violent elementary school kids", //south park
"attractive alien-seeking fbi agents", //x-files
"extreme ninja mutants", //teenage mutant ninja turtles
"underachieving idiot friends", //beavis and butthead
"twenty-something single sextet", //friends
"powerful collectible animals", //pokemon
"", //skooters
"mucle-bound confident action hero", //arnold schwarzeneggar
"", //backstreet boys
"straight-talking rude judge", //simon from american idol
"island-bound back-stabbing half-naked people", //survivor
"controversial redneck talk show host", //jerry springer
"singing dancing high school students", //grease
"cute japanese pets", //hello kitty
"spanish-speaking junk-food-eating dog", //taco bell dog
"surfing beer-loving dog", //spuds mckenzie
"transforming warrior robots", //transformers
"sexy young singer", //madonna and/or britney spears
"beauty-marked supermodel actress", //cindy crawford
"goof-ball punk rockers", //blink 182
"rich californian high school students", //beverly hills 90210
"constantly-breaking-up-and-getting-back-together mature teenagers", //dawson's creek
"whiny jewish new yorkers ", // the beastie boys
"controversial white rapper", // eminem
"whacky sincere puppets", // the muppets
"adventurous young wizards", // harry potter
"fist-fighting world-travelling treasure hunter", // indiana jones
"perverted slacker pranksters", // the jerky boys
"big-breasted fit lifeguards", // baywatch
"tough law-breaking cops", // nypd blue
"smart resourceful crime scene investigators", // CSI
"womanizing gadget-toting secret agent", // james bond
"galaxy-travelling overacting cowboys", // star trek
"self-abusing moronic jackasses", // jackass
"gross-out whacky weirdo", // tom green
"untalented asian singer", // that dude from american idol
"gruff-voiced boxing-glove-wearing cartoon character", // strongbad
"", //
"", //
"", //
"", //
);
foreach ($HITS as $hit)
{
if (strlen($hit))
{
list($adj[], $adj[], $noun[]) = explode(' ', $hit, 3);
}
}
$nadj = count($adj) - 1;
$nnoun = count($noun) - 1;
$adj1 = $adj2 = $adj3 = $adj[rand(0, $nadj)];
while ($adj1 == $adj2)
{
$adj2 = $adj[rand(0, $nadj)];
}
while ($adj3 == $adj1 || $adj3 == $adj2)
{
$adj3 = $adj[rand(0, $nadj)];
}
$noun1 = $noun[rand(0, $nnoun)];
?>
everything goes in cycles. the goal of this code is to predict/create the next big pop culture icon, using the
descriptions of previous pop culture phenomenons. the next big thing could be:
<p>
<font size=+2 color=Red><?=$adj1?> <?=$adj2?> <?=$adj3?> <?=$noun1?></font>
<p>
<a href="/nextbigthing/">get next big thing</a>
<hr>
<a href="source.phps">source code</a>
</body>
</html>