Antv912
Members-
Content Count
59 -
Joined
-
Last visited
About Antv912
-
Rank
Member [Level 1]
- Birthday 01/19/1991
Profile Information
-
Gender
Male
-
Location
http://
-
I think that was well put, I do have to agree with you on that .
-
I like the new Windows Live Messenger, I think it has a good flare too it.
-
Yes it does work, actually I've tested it.
-
Will power can also be said "I have the drive to complete this" and so forth and most of the time I have the drive but I really don't want to do the hard work.
-
It's checking if the password has a value if it doesn't to shows "No password entered."
-
World's Ugliest Website I believe I have found it
Antv912 replied to BooZker's topic in Websites and Web Designing
It may be the best site for pot-heads and hippies. -
This is something I made for MapleStory Server, you can change the script to fit your needs. This is a register Script with Image Verification Version 2. As you can see in this version Total.php is completely removed because It wasn't needed since those queries are already in index.php. Also I have added JavaScript Popup boxes for the Echo's instead of those boring text responses, And of course I have updated this to fit OdinMs server needs with Sha1 for the passwords and fixed up the total's query to match the OdinMS Database. Last but not lease AntiSQL Injection; with mysql_real_escape_string and some trims. Download Links Rapidshare.com Filebeam.com /Credits -> SuperFun for the basic Register script. /Credits -> Me For adding image verification and most of the scripting of this. /Credits -> StellarAshes for some help. Enjoy. Update : Small revision upon register_do.php Please find $code = mysql_real_escape_string(trim($_POST['code'])); And replace it with $code = mysql_real_escape_string(trim($_SESSION['code'])); If you don't it will say the user has entered the correct code even If he/she has not. I have also added an new Php Variable which is used in register_do.php echo '<script type="text/javascript">alert("You have entered a wrong Security code, Please try again!")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">'; Please make sure to edit this variable in CONFIG.PHP to your register file if you have renamed it If you wish to have a verify password in this script you can over write these 2 files that are in the download provided. Index.php <?php // start PHP session session_start();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;<html xmlns="http://www.w3.org/1999/xhtml&%2334; xml:lang="en" lang="en"><head> <title>Maple Story Register</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><style>*{ FONT-SIZE: 8pt; FONT-FAMILY: verdana; } b { FONT-WEIGHT: bold; } .listtitle { BACKGROUND: #425984; COLOR: #EEEEEE; white-space: nowrap; } td.list { BACKGROUND: #EEEEEE; white-space: nowrap; } </style></head><body><center><br><br><br><br><h1>MapleStoryRegister</h1><table cellspacing=1 cellpadding=5><tr><td class=listtitle colspan=2>Register at my server</td></tr><form action="register_do.php" method="POST"><tr><td class=list align=right>Username:</td><td class=list><input type=text name=username maxlength="30"></td></tr><tr><td class=list align=right>Password:</td><td class=list><input type=password name=password maxlength="30"></td></tr><tr><td class=list align=right>Verify Pass:</td><td class=list><input type=password name=password2 maxlength="30"></td></tr><tr><td class=list align=right>Email:</td><td class=list><input type=text name=email maxlength="30"></td></tr><tr><td class=list align=right>DOB:</td><td class=list><input type=text name=dob maxlength="30" value="Y-M-D"></td></tr><tr><td class=list align=right><img src="security-image.php?width=144" width="144" height="30" alt="Security Image" /></<tr><td class=list align=right>Security Image:</label><input type="text" name="code" id="code" value="" /><tr><td class=listtitle align=right colspan=2><input type=submit name=submit value='Register'></td></tr> </form></table><br><?phpinclude('config.php');$result = mysql_query("SELECT * FROM accounts", $db);// Account section$num_rows = mysql_num_rows($result);$result2 = mysql_query("SELECT * FROM characters", $db);// Character section$num_rowsc = mysql_num_rows($result2);echo 'Stats:<br><b>'.$num_rows.'</b> Accounts registed.<br><b>'.$num_rowsc.'</b> Characters created.';?></center></body></html></body></html> Register_do.php <?php/*Register script with Image Verification Version 2Created By : Antv912 / AmandaRevision of the first script adding in - dob Sha1passwords email fields.add some validation rules fixed up the $d query with the right values for odinMSCredit's to Superfun for the basic layout of the register script.And I believe I added AntiSQLInjection I forgot how so I needed to google some.H3x_@Live.com*/session_start();include("config.php");print '<title>'.$title.'</title>'; $name = mysql_real_escape_string(trim($_POST['username']));$pass = mysql_real_escape_string(sha1($_POST['password']));$pass2 = mysql_real_escape_string(sha1($_POST['password2']));$email = mysql_real_escape_string(trim($_POST['email']));$dob = mysql_real_escape_string(trim($_POST['dob']));$code = mysql_real_escape_string(trim($_SESSION['code']));$sel = 'SELECT * FROM accounts WHERE name="'.$name.'"';///////////////////////////////////////////////////////if(strtoupper($_POST['code']) == $_SESSION['code']) {echo '<script type="text/javascript">alert("Congradulations, You have entered the Security code correctly.")</script>';} else {echo '<script type="text/javascript">alert("You have entered a wrong Security code, Please try again!")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">';exit(); }if($name == ""){echo '<script type="text/javascript">alert("No Username Inserted")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">';exit();}elseif(mysql_num_rows(mysql_query($sel)) >= 1 ){echo '<script type="text/javascript">alert("Were Sorry '.$name.' already Exsist")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">';exit();}elseif($pass == ""){echo '<script type="text/javascript">alert("No password filled in")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">';exit();}elseif($pass2 != $pass){echo '<script type="text/javascript">alert("Your passwords do not match")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">';exit();}$arr=split("-",$dob); // splitting the array$yy=$arr[0] - 0; // first element of the array is year$mm=$arr[1] - 0; // second element is month$dd=$arr[2] - 0; // third element is dateif(!checkdate($mm,$dd,$yy)){echo '<script type="text/javascript">alert("Invalid date double check they way you entered it. Your date must look like this Year-Month-Day")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">';} else { $d = 'INSERT INTO accounts (name, password, email, birthday) VALUES ("'.$name.'", "'.$pass.'", "'.$email.'", "'.$dob.'")'; mysql_query($d) OR die (mysql_error()); echo '<script type="text/javascript">alert("Dear - '.$name.' you may now login to our game servers.")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">'; }//End of script?>
-
<?php$con = mysql_connect("localhost","root","");if (!$con) { die('Could not connect: ' . mysql_error()); }mysql_select_db("maplestory", $con);$result = mysql_query("SELECT * FROM Characters ORDER BY Level DESC");echo "<table border='1'><tr><th>Name</th><th>Level</th><th>Exp</th></tr>";while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['name'] . "</td>"; echo "<td>" . $row['level'] . "</td>"; echo "<td>" . $row['exp'] . "</td>"; echo "</tr>"; }echo "</table>";mysql_close($con);?> So easy even a Caveman could do it! $con = mysql_connect("localhost","root","");Host,Username,Password echo "<td>" . $row['name'] . "</td>"; echo "<td>" . $row['level'] . "</td>"; echo "<td>" . $row['exp'] . "</td>"; $row['xxx'] - Is a row the script echo's from the database And must match this : <th>Name</th><th>Level</th><th>Exp</th> Example <th>1</th><th>2</th><th>3</th> This must be .. echo "<td>" . $row['1'] . "</td>"; echo "<td>" . $row['2'] . "</td>"; echo "<td>" . $row['3'] . "</td>"; You can save this file as Rankings.php
-
<?php $srvip = "YourIP";$srvport = "8080";?><td align="left">Web Server: <?php $fp = @fsockopen($srvip, $srvport, $errno, $errstr, 1);if (!$fp) { echo "<font style='color: #FF3300'><B>Offline</B></font></br>";} else { echo "<font style='color: #009933'><B>Online</B></font></br>"; fclose($fp);} ?></td> To change the port, just edit this section - $srvport = "8080";?>Also you need to change the IP of the server or host your using when uploading this script.
-
Hopefully this will help you, http://forums.invisionize.com/IPB-221-Logime-t119886.html. If not you can always use a Invision power board portal and always good luck.
-
The mental faculty by which one deliberately chooses or decides upon a course of action: championed freedom of will against a doctrine of predetermination. I think I have a lot of will power, if I feel I can't do something I sit and think of the goods and bads of the certain situation, and I choose the best one and go with it. How much will power do you have? What can you accomplish with the power of your mind, and determination.
-
Iq Test Accuracy How accurate are they?
Antv912 replied to cemeteryrecords's topic in Health & Fitness
I would suggest taking the IQ test more than one time to see how accurate it is. -
Do You Have Stairs In Your House? I am protected.
Antv912 replied to Velveteen's topic in General Discussion
I have about 3 sets of stairs, ones that go into my house, my basement, and ones that go up stairs. Stairs are awesome and a-lot of fun to slide down! -
I can't believe it, that is the most nastiest place ever, the people that lived there had to have died or were really lazy!
-
I sleep half naked I find it relaxing and more room, everything isnt in one place!