You are not logged in. Login or Signup
Home » Messageboard » XXX » Message 3726329 (Thread)

# Ooh...
Php.
(, Fri 17 Sep 2004, 14:44, archived)
# a bit simple really
php
$dbh=mysql_connect ("localhost", "****", "*****") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("******");
$query2 = mysql_query("SELECT * FROM rape");
$query = mysql_query("SELECT * FROM rape ORDER BY left(md5(rand()),6) LIMIT 1");

$rows = mysql_num_rows($query2);
while($row = mysql_fetch_array($query)) {

$name = $row['name'];
$cock = $row['cock'];
$pleasure = $row['pleasure'];
$lube = preg_replace ("/bare/", "no", $row['lube']);

}

$fight2 = mysql_query("SELECT * FROM rape");
$fight = mysql_query("SELECT * FROM rape ORDER BY left(md5(rand()),6) LIMIT 1");

$rows2 = mysql_num_rows($fight2);
while($row2 = mysql_fetch_array($fight)) {
$name2 = $row2['name'];
$cock2 = $row2['cock'];
$pleasure2 = $row2['pleasure'];
$lube2 = preg_replace ("/none/", "no", $row2['lube']);
}

if ($cock $cock2) {
echo "$name yanks down $name2's trousers, and laughs at his $cock2 inch cock.";
echo "$name2 pulls out a knife, and threatens $name with it. \n$name falls to the floor in fear, and $name2 bumrapes him with his $cock2 inch cock, using $lube2 lube.";
if ($pleasure $pleasure2) {
echo "$name enjoyed the bumhugging action more than $name2!";
} else if ($pleasure $cock) {
echo "$name2 yanks down $name's trousers, and laughs at his $cock inch cock.";
echo "$name2 bumhugs $name using $lube2 lube";
if ($pleasure $pleasure2) {
echo "$name enjoyed the bumhugging action more than $name2!";
} else if ($pleasure ";
if ($pleasure $pleasure2) {
echo "$name enjoyed the bumhugging action more than $name2!";
} else if ($pleasure

that makes the story, then another file just freads it and puts the contents on an image



(, Fri 17 Sep 2004, 14:54, archived)
# this is the image bit
header ("Content-type: image/png");
$filename = "http://www.sprinkles.me.uk/story.php";

$handle = fopen("http://www.sprinkles.me.uk/story.php", "r");
$filename = 'story.php';
$story = fread($handle, filesize($filename));
$story = preg_replace ("//", "\n", $story);

$background = ImageCreate (800, 65) or die ("Cannot Create image");
$back = ImageColorAllocate ($background, 255, 255, 255);

imagecolortransparent ($background, $back);
$txt_color = ImageColorAllocate ($background, 0, 0, 0);

ImageTTFText ($background, 9, 0, 0, 14, $txt_color, "arial.ttf",
"$story");


ImagePng ($background);
(, Fri 17 Sep 2004, 14:55, archived)