-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjoin.php
More file actions
28 lines (23 loc) · 675 Bytes
/
Copy pathjoin.php
File metadata and controls
28 lines (23 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
if(empty($_POST))
{
die("&e=4");
}
$d = addslashes($_POST['d']);
$n = addslashes($_POST['n']);
$id = addslashes($_POST['id']);
$r = substr($d, 0, 1);
{
$pS = $d . $n;
mysql_query("UPDATE penguins SET string = '$pS' WHERE id = '$id'");
mysql_query("UPDATE penguins SET room = '$r' WHERE id = '$id'");
$select = "SELECT * FROM `penguins` WHERE `n` != '$n'";
$q = mysql_query($select) or die(mysql_error());
echo "&p=10101KEBot" . "\r\n"; // this is makes the bot appear, DO NOT EDIT, THE SERVER WILL NOT FUNCTION WITHOUT IT
while($get = mysql_fetch_array($q))
{
$string = substr($get[string], 1, 99);
echo $get[id] . $string . "\r\n";
}
}
?>