0

Here's how this one works. I'll start by posting one line of PHP script. The next person to post will add another line and copy the script into their post. You will simply add a line of PHP code to the script everyone wrote above you. Also don't forget to use CODE tags and try to write your line based on the code in the post above you.
The first line:

session_start();
5
Contributors
9
Replies
17
Views
8 Years
Discussion Span
Last Post by erikqs
0

Here's how this one works. I'll start by posting one line of PHP script. The next person to post will add another line and copy the script into their post. You will simply add a line of PHP code to the script everyone wrote above you. Also don't forget to use CODE tags and try to write your line based on the code in the post above you.
The first line:

<?php
session_start();
$slugtalk = "I may not move fast but I can still slug you." ?>

is that how the game goes?

0

Sure. Everyone just adds a line...but after the second post, there really wasn't anything that could be done....but we can ignore that post:

<?php session_start(); $slugtalk = "I may not move fast but I can still slug you."; $slugtalk += " I'm a slug...\n"; ?>[code=PHP]
<?php
session_start();
$slugtalk = "I may not move fast but I can still slug you.";
$slugtalk += " I'm a slug...\n";
?>

0

I have a few lines.

<?php
session_start();
$slugtalk = "I may not move fast but I can still slug you.";
$slugtalk.= " I'm a slug...\n";
for ($i=0;$i<6;$i++) {
    if ($i==round($i/2)) {
        $slugtalk.=$slugtalk;
        } else {
        $slugtalk.="Hey, how about me!\n";
        $slugtalk.='Testing';
        for ($v=1;$v<=$i;$v++) {
            $slugtalk.=' '.$v;
            }
        $slugtalk.=".\n";
        }
    }

Not that they do much.

0
<?php
session_start();
$slugtalk = "I may not move fast but I can still slug you.";
$slugtalk.= " I'm a slug...\n";
for ($i=0;$i<6;$i++) {
    if ($i==round($i/2)) {
        $slugtalk.=$slugtalk;
        } else {
        $slugtalk.="Hey, how about me!\n";
        $slugtalk.='Testing';
        for ($v=1;$v<=$i;$v++) {
            $slugtalk.=' '.$v;
            }
        $slugtalk.=".\n";
        }
    }

$DB = mysql_connect("localhost", "user", "pass") or die("Slug Squashed!");
mysql_select_db("someDB") or die("The slug was too slow!");
mysql_query("SELECT id WHERE slug='{$slugtalk}'");
0
<?php
session_start();
$slugtalk = "I may not move fast but I can still slug you.";
$slugtalk.= " I'm a slug...\n";
for ($i=0;$i<6;$i++) {
    if ($i==round($i/2)) {
        $slugtalk.=$slugtalk;
        } else {
        $slugtalk.="Hey, how about me!\n";
        $slugtalk.='Testing';
        for ($v=1;$v<=$i;$v++) {
            $slugtalk.=' '.$v;
            }
        $slugtalk.=".\n";
        }
    }

$DB = mysql_connect("localhost", "user", "pass") or die("Slug Squashed!");
mysql_select_db("someDB") or die("The slug was too slow!");
mysql_query("SELECT id WHERE slug='{$slugtalk}'");

OOPS - Fatal error, better fix it:

<?php
session_start();
$slugtalk = "I may not move fast but I can still slug you.";
$slugtalk.= " I'm a slug...\n";
for ($i=0;$i<6;$i++) {
    if ($i==round($i/2)) {
        $slugtalk.=$slugtalk;
        } else {
        $slugtalk.="Hey, how about me!\n";
        $slugtalk.='Testing';
        for ($v=1;$v<=$i;$v++) {
            $slugtalk.=' '.$v;
            }
        $slugtalk.=".\n";
        }
    }

$DB = mysql_connect("localhost", "user", "pass") or die("Slug Squashed!");
mysql_select_db("someDB") or die("The slug was too slow!");
mysql_query("SELECT id FROM `table` WHERE slug='".mysql_real_escape_string($slugtalk)."'");

Edited by cwarn23: n/a

0

Alright:

<?php
session_start();
$slugtalk = "I may not move fast but I can still slug you.";
$slugtalk.= " I'm a slug...\n";
for ($i=0;$i<6;$i++) {
    if ($i==round($i/2)) {
        $slugtalk.=$slugtalk;
        } else {
        $slugtalk.="Hey, how about me!\n";
        $slugtalk.='Testing';
        for ($v=1;$v<=$i;$v++) {
            $slugtalk.=' '.$v;
            }
        $slugtalk.=".\n";
        }
    }

$DB = mysql_connect("localhost", "user", "pass") or die("Slug Squashed!");
mysql_select_db("someDB") or die("The slug was too slow!");
$res = mysql_query("SELECT id FROM `table` WHERE slug='".mysql_real_escape_string($slugtalk)."'");
$results = new array();
while($arr = mysql_fetch_array($res))
{
  $results[] = (int)$arr['id']+count($results);
}
0

Got a few more lines

<?php
session_start();
$slugtalk = "I may not move fast but I can still slug you.";
$slugtalk.= " I'm a slug...\n";
for ($i=0;$i<6;$i++) {
    if ($i==round($i/2)) {
        $slugtalk.=$slugtalk;
        } else {
        $slugtalk.="Hey, how about me!\n";
        $slugtalk.='Testing';
        for ($v=1;$v<=$i;$v++) {
            $slugtalk.=' '.$v;
            }
        $slugtalk.=".\n";
        }
    }

$DB = mysql_connect("localhost", "user", "pass") or die("Slug Squashed!");
mysql_select_db("someDB") or die("The slug was too slow!");
$res = mysql_query("SELECT id FROM `table` WHERE slug='".mysql_real_escape_string($slugtalk)."'");
$results = new array();
while($arr = mysql_fetch_array($res))
{
  $results[] = (int)$arr['id']+count($results);
  $results[((int)$arr['id']+count($results))]=true;
}
if (isset($results[$_GET['i']])) {
die('You won. <a href="index.php">Click here</a> to play again.');
} else if (isset($_GET['i']) && !empty($_GET['i'])) {
die('You lost mate. <a href="index.php">Click here</a> to loose again.');
} else {
echo "\n<p>".'<form method="get">Enter a number in the box below<br>';
echo '<input type="text" name="i">';
echo '<input type="submit" value="Guess the number"></form>';
}

Edited by cwarn23: n/a

0

good script :D

<?php
if(isset($_GET['submit']))
echo "delete in progress";
<progress>1+1</progress>
mysql_query (Delete user, pass, email) Values ($user, $pass, $email)");
echo "delete are completed";
}else{
echo "Problems with deleting!";
?>
<?php
<title>LOL forums</title>
<center><br>this is league of legends forum</br></center>
<select>
<option <type='forumas online' value='forumas online'
<option <type='forumas deactivate' value='deactivate'
</select>
?>
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.