Jump to content


This is a demo board This is not an active community, and should only be used for testing purposes. To purchase this skin or receive support, please click this box.
Photo
* * * * - 3 votes

LIFE. [18+ ONLY !]


  • Please log in to reply
28 replies to this topic

#1 Ritalin

Ritalin

    Newbie

  • Banned
  • Pip
  • 4 posts

Posted 24 October 2011 - 07:23 PM

Posted Image

#2 Ritalin

Ritalin

    Newbie

  • Banned
  • Pip
  • 4 posts

Posted 24 October 2011 - 07:23 PM

TTEST 123, life comes to an end in the end of a journey....

#3 FarReach

FarReach

    Newbie

  • Banned
  • Pip
  • 2 posts

Posted 29 October 2011 - 12:33 PM

It could be real life...

#4 Ritalin

Ritalin

    Newbie

  • Banned
  • Pip
  • 4 posts

Posted 29 October 2011 - 03:23 PM

It could be real life...


But,is it? o.O

#5 FarReach

FarReach

    Newbie

  • Banned
  • Pip
  • 2 posts

Posted 29 October 2011 - 06:13 PM

That is the Question...

#6 Ritalin

Ritalin

    Newbie

  • Banned
  • Pip
  • 4 posts

Posted 30 October 2011 - 09:07 AM

That is the Question...

No,Life is not real, Sorry ...... Life comes to an end in the end of a journey....

#7 Guest_ryuk_*

Guest_ryuk_*
  • Guests

Posted 31 October 2011 - 12:47 AM

reply



#8 Guest_ColdSinz_*

Guest_ColdSinz_*
  • Guests

Posted 01 November 2011 - 04:15 PM

what the hell are you guys talking about? -.-'

#9 Guest_mmb_*

Guest_mmb_*
  • Guests

Posted 02 November 2011 - 11:45 AM

TESTING REPLY FUNTION, TEST, TEST, TEST

#10 members

members

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 04 November 2011 - 01:37 PM

เทส

#11 Guest_sapi_*

Guest_sapi_*
  • Guests

Posted 09 November 2011 - 08:10 AM

<!-- This Script is from www.phpfreecpde.com, Coded by: Krishna Eydatoula, Mahmood Bina-->
?Login.php Start?
<?php
//session_start();
// set your infomation.
$dbhost='localhost';
$dbusername='root';
$dbuserpass='root';
$dbname='root';
if (isset($_COOKIE['user'])) {
echo "Welcome $_COOKIE[user]";
}else{
//connect to the mysql database server.
mysql_connect ($dbhost, $dbusername, $dbuserpass);
mysql_select_db($dbname) or die('Cannot select database');
if ($_POST['username']) {
//did they supply a password and username
$username=$_POST['username'];
$password=$_POST['password'];
if ($password==NULL) {
echo "A password was not supplied";
}else{
$query = mysql_query("SELECT username,password FROM users WHERE username = '$username'") or die(mysql_error());
$data = mysql_fetch_array($query);
if($data['password'] != $password) {
echo "The supplied login is incorrect";
}else{
$query = mysql_query("SELECT username,password FROM users WHERE username = '$username'") or die(mysql_error());
$row = mysql_fetch_array($query);
setcookie("user", "$username", time()+3600);
echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"1; URL=membersarea.php\">";
}
}
}
?>
<form action='login.php' method='POST'>
<table style='border:1px solid #000000;'>
<tr>
<td align='right'>
Username: <input type='text' size='15' maxlength='25' name='username'>
</td>
</tr>
<tr>
<td align='right'>
Password: <input type='password' size='15' maxlength='25' name='password'>
</td>
</tr>
<tr>
<td align='center'>
<input type="submit" value="Login">
</td>
</tr>
<tr>
<td align='center'>
<a href='register.php'>Register Here</a>
</td>
</tr>
</table>
</form>
<?
};
?>
?End Of Login.php?
?Register.php start.?
<center>
<?php
// set your infomation.
$dbhost='localhost';
$dbusername='root';
$dbuserpass='root';
$dbname='root';
// connect to the mysql database server.
mysql_connect ($dbhost, $dbusername, $dbuserpass);
mysql_select_db($dbname) or die("Cannot select database");
//Are they just getting here or submitting their info?
if (isset($_POST["username"])) {
$username = $_POST["username"];
$password = $_POST["password"];
$cpassword = $_POST["cpassword"];
$email = $_POST["email"];
//Was a field left blank?
if($username==NULL|$password==NULL|$cpassword==NULL|$email==NULL) {
echo "A field was left blank.";
}else{
//Do the passwords match?
if($password!=$cpassword) {
echo "Passwords do not match";
}else{
//Has the username or email been used?
$checkuser = mysql_query("SELECT username FROM users WHERE username='$username'");
$username_exist = mysql_num_rows($checkuser);
$checkemail = mysql_query("SELECT email FROM users WHERE email='$email'");
$email_exist = mysql_num_rows($checkemail);
if ($email_exist&#620;|$username_exist&#620;) {
echo "The username or email is already in use";
}else{
//Everything seems good, lets insert.
$query = "INSERT INTO users (username, password, email) VALUES('$username','$password','$email')";
mysql_query($query) or die(mysql_error());
echo "The user $username has been successfully registered.";
}
}
}
}
?>
<h1>Register</h1>
<form action="register.php" method="POST">
<table style="border:1px solid #000000;">
<tr>
<td align="right">
Username: <input type="text" size="15" maxlength="25" name="username">
</td>
</tr>
<tr>
<td align="right">
Password: <input type="password" size="15" maxlength="25" name="password">
</td>
</tr>
<tr>
<td align="right">
Confirm Password: <input type="password" size="15" maxlength="25" name="cpassword">
</td>
</tr>
<tr>
<td align="right">
Email: <input type="text" size="15" maxlength="25" name="email">
</td>
</tr>
<tr>
<td align="center">
<input type="submit" value="Register">
</td>
</tr>
<tr>
<td align="center">
<a href="login.php">Login Here</a>
</td>
</tr>
</table>
</form>
</center>
?End Of Register.php?
?Lastmember.php start?
// set your infomation.
$dbhost='localhost';
$dbusername='root';
$dbuserpass='root';
$dbname='root';
//connect to the mysql database server.
mysql_connect ($dbhost, $dbusername, $dbuserpass);
mysql_select_db($dbname) or die('Cannot select database');
$row1 = mysql_query("SELECT * FROM users ORDER BY uid DESC LIMIT 1") or die(mysql_error());
echo "$row1";
while($row=mysql_fetch_array($row1))
{
echo "<h2>$row[username]</h2>";
}
?>
?End of lastmember.php?
To check to see if someone is logged in use.
<?
if (isset($_COOKIE['user'])) {
echo "You are logged in: $_COOKIE['user'] Enjoy.";
} else{
echo "You are not logged in. <a href='register.php'>Register here</a>";
?>
<br><font face="Tahoma"><a target="_blank" href="http://www.phpfreeco...ode.com/"><span style="font-size: 8pt; text-decoration: none">PHP Free Code</span></a></font>


#12 Guest_sdfsdfsd_*

Guest_sdfsdfsd_*
  • Guests

Posted 09 November 2011 - 09:17 PM

dsfdagdfgdfagdf

#13 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 10 November 2011 - 01:04 AM

Fuck you

#14 Moby812

Moby812

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 11 November 2011 - 01:36 PM

:ph34r: hello all

#15 Moby812

Moby812

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 11 November 2011 - 01:37 PM

sdf

#16 Moby812

Moby812

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 11 November 2011 - 01:37 PM

dsfsdf

#17 Guest_Caps_*

Guest_Caps_*
  • Guests

Posted 14 November 2011 - 02:55 PM

not bad need some modern touch :P :ph34r:

#18 Guest_OverAnime_*

Guest_OverAnime_*
  • Guests

Posted 15 November 2011 - 10:46 PM

Posted Image

#19 Guest_lol user_*

Guest_lol user_*
  • Guests

Posted 20 November 2011 - 04:23 PM

lol

#20 Guest_Anon_*

Guest_Anon_*
  • Guests

Posted 25 November 2011 - 01:08 PM

Lol?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users