
IEatYourCookies
Members-
Posts
22 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by IEatYourCookies
-
I have re-uploaded the basic mccodes v2, I will attempt the header now.
-
Okay, so I'm having an issue with the Estate.php file. When a user purchases a property and go home it shows the property but if you refresh the page it shows "Homeless" Please can you tell me why this is & What files I need to edit. Thanks in Advance
-
Hello, would anyone who has the following login that CJ - Twitch made, post below... seeing as other download links are no longer working. http://makewebgames.io/showthread.php/36204 Thanks in Advance.
-
mccode-v2 *NEW* Usersonline.php - UPDATE
IEatYourCookies replied to IEatYourCookies's topic in Free Modifications
They're free. -
mccode-v2 *NEW* Usersonline.php - UPDATE
IEatYourCookies replied to IEatYourCookies's topic in Free Modifications
Majority of it is the same as the original mccodes v2, but this one is special... This one is special b'coz it has images ;) -
Well here ya go guys. -If you haven't got the "VIP" installed on your game you will either have to install it, or remove it from the code it's easily done. Enjoy :) Usersonline.php: <?php include_once "globals.php"; $_GET['st'] = ( isset($_GET['st'])&&is_numeric($_GET['st']) )?abs(intval($_GET['st'])):''; $st = ($_GET['st']) ? $_GET['st'] : 0; $allowed_by = array('userid', 'username', 'level', 'money'); $by=(in_array($_GET['by'], $allowed_by)) ? $_GET['by'] : 'userid'; $allowed_ord = array('asc', 'desc', 'ASC', 'DESC'); $ord=(in_array($_GET['ord'], $allowed_ord)) ? $_GET['ord'] : 'ASC'; echo "<h3>Userlist</h3>"; $cnt=mysql_query("SELECT userid FROM users",$c); $membs=mysql_num_rows($cnt); $pages=(int) ($membs/100)+1; if($membs % 100 == 0) { $pages--; } echo "Pages: "; for($i=1;$i <= $pages;$i++) { $stl=($i-1)*100; echo "<select name=start><option selected='selected' value=0 style='font-weight:bold;color:green;'><a href='userlist.php?st=$stl&by=$by&ord=$ord'>$i</a></option></select> "; } echo "<br /> Order By: <a href='userlist.php?st=$st&by=userid&ord=$ord'>User ID</a> | <a href='userlist.php?st=$st&by=username&ord=$ord'>Username</a> | <a href='userlist.php?st=$st&by=level&ord=$ord'>Level</a> | <a href='userlist.php?st=$st&by=money&ord=$ord'>Money</a><br /> <a href='userlist.php?st=$st&by=$by&ord=asc'>Ascending</a> | <a href='userlist.php?st=$st&by=$by&ord=desc'>Descending</a><br /><br />"; $q = $db->query("SELECT u.`donatordays`, `vipdays`, `username`,`userid`,`money`,`level`,`gender`,g.`gangPREF`,`laston` FROM `users` u LEFT JOIN `gangs` g ON u.`gang` = g.`gangID` ORDER BY $by $ord LIMIT $st,100"); $no1=$st+1; $no2=$st+100; echo " Showing users $no1 to $no2 by order of $by $ord. <table width='75%' cellspacing='1' cellpadding='1' class='table'> <tr style='background:gray'> <th>ID</th> <th>Name</th> <th>Money</th> <th>Level</th> <th>Gender</th> <th>Online</th> </tr> "; while ( $r = $db->fetch_row($q) ) { $r['username'] = ($r['donatordays'])?'<span style="color:purple; font-weight:bold;">'.$r['username'].'</span> <img src="donator.gif" alt="Donator: '.$r['donatordays'].' Days Left" title="Donator: '.$r['donatordays'].' Days Left" />':$r['username']; $vip = ( $r['vipdays'] > 0 )?' <img src="images/vip.gif" alt="V.I.P: '.$r['vipdays'].' Days Left" title="V.I.P: '.$r['vipdays'].' Days Left" />':''; echo ' <tr> <td>'.$r['userid'].'</td> <td><a href="viewuser.php?u='.$r['userid'].'">'.$r['gangPREF'].' '.$r['username'].' '.$vip.'</a></td> <td>'.money_formatter($r['money']).'</td> <td>'.$r['level'].'</td> <td>'.$r['gender'].'</td> <td> '; echo (($r['laston'] >= $_SERVER['REQUEST_TIME']-15*60)?' <img src="images/online.png" alt="Online" title="Online">':'<img src="images/offline.png" alt="Offline" title="Offline">'); echo ' </td> </tr> '; } echo '</table>'; $h->endpage(); ?> Following up AnonymousUser's Quote... If you cant be bothered to integrate the rating system, I have done it for you... Usersonline.php w/Rating <?php include_once "globals.php"; $_GET['st'] = ( isset($_GET['st'])&&is_numeric($_GET['st']) )?abs(intval($_GET['st'])):''; $st = ($_GET['st']) ? $_GET['st'] : 0; $allowed_by = array('userid', 'username', 'level', 'money'); $by=(in_array($_GET['by'], $allowed_by)) ? $_GET['by'] : 'userid'; $allowed_ord = array('asc', 'desc', 'ASC', 'DESC'); $ord=(in_array($_GET['ord'], $allowed_ord)) ? $_GET['ord'] : 'ASC'; echo "<h3>Userlist</h3>"; $cnt=mysql_query("SELECT userid FROM users",$c); $membs=mysql_num_rows($cnt); $pages=(int) ($membs/100)+1; if($membs % 100 == 0) { $pages--; } echo "Pages: "; for($i=1;$i <= $pages;$i++) { $stl=($i-1)*100; echo "<select name=start><option selected='selected' value=0 style='font-weight:bold;color:green;'><a href='userlist.php?st=$stl&by=$by&ord=$ord'>$i</a></option></select> "; } echo "<br /> Order By: <a href='userlist.php?st=$st&by=userid&ord=$ord'>User ID</a> | <a href='userlist.php?st=$st&by=username&ord=$ord'>Username</a> | <a href='userlist.php?st=$st&by=level&ord=$ord'>Level</a> | <a href='userlist.php?st=$st&by=money&ord=$ord'>Money</a><br /> <a href='userlist.php?st=$st&by=$by&ord=asc'>Ascending</a> | <a href='userlist.php?st=$st&by=$by&ord=desc'>Descending</a><br /><br />"; $q = $db->query("SELECT u.`donatordays`, `vipdays`, `rating`, `username`,`userid`,`money`,`level`,`gender`,g.`gangPREF`,`laston` FROM `users` u LEFT JOIN `gangs` g ON u.`gang` = g.`gangID` ORDER BY $by $ord LIMIT $st,100"); $no1=$st+1; $no2=$st+100; echo " Showing users $no1 to $no2 by order of $by $ord. <table width='75%' cellspacing='1' cellpadding='1' class='table'> <tr style='background:gray'> <th>ID</th> <th>Name</th> <th>Money</th> <th>Level</th> <th>Gender</th> <th>Online/Rate</th> </tr> "; while ( $r = $db->fetch_row($q) ) { $r['username'] = ($r['donatordays'])?'<span style="color:purple; font-weight:bold;">'.$r['username'].'</span> <img src="donator.gif" alt="Donator: '.$r['donatordays'].' Days Left" title="Donator: '.$r['donatordays'].' Days Left" />':$r['username']; $vip = ( $r['vipdays'] > 0 )?' <img src="images/vip.gif" alt="V.I.P: '.$r['vipdays'].' Days Left" title="V.I.P: '.$r['vipdays'].' Days Left" />':''; echo ' <tr> <td>'.$r['userid'].'</td> <td><a href="viewuser.php?u='.$r['userid'].'">'.$r['gangPREF'].' '.$r['username'].' '.$vip.'</a></td> <td>'.money_formatter($r['money']).'</td> <td>'.$r['level'].'</td> <td>'.$r['gender'].'</td> <td> '; echo (($r['laston'] >= $_SERVER['REQUEST_TIME']-15*60)?' <img src="images/online.png" alt="Online" title="Online">':'<img src="images/offline.png" alt="Offline" title="Offline">'); print" Rate: <a href=rating.php?change=up&ID={$r['userid']}><font color='green'>+</font></a> {$r['rating']} <a href=rating.php?change=down&ID={$r['userid']}><font color='red'>-</font></a><br /></td>"; echo ' </td> </tr> '; } echo '</table>'; $h->endpage(); ?> Make sure you Add these images to your "images" folder:
-
"HELP" register.php - Deprecated: Function ereg()
IEatYourCookies replied to IEatYourCookies's topic in Modification Support
Don't Worry, I can Install =] Aslong as it let's users sign up without errors', I'm willing to pay =] -
"HELP" register.php - Deprecated: Function ereg()
IEatYourCookies replied to IEatYourCookies's topic in Modification Support
Aslong as it works. =] Yeah sure, Ill pay =] - - - Updated - - - Pm me? Need your paypal address :P -
"HELP" register.php - Deprecated: Function ereg()
IEatYourCookies replied to IEatYourCookies's topic in Modification Support
Still Can't manage to sort it. Anyone £5 to do it? :P Best Regards -Al -
"HELP" register.php - Deprecated: Function ereg()
IEatYourCookies replied to IEatYourCookies's topic in Modification Support
Where's my noose? :mad: -
"HELP" register.php - Deprecated: Function ereg()
IEatYourCookies replied to IEatYourCookies's topic in Modification Support
Well it's something lmao. Idk what to do, I'll go jump off a bridge. Toodles :( -
"HELP" register.php - Deprecated: Function ereg()
IEatYourCookies replied to IEatYourCookies's topic in Modification Support
Oh God, you words of wisdom, give me severe pains. Lmao. Idk what to do lmao. Ill pay you £2 ;) -
"HELP" register.php - Deprecated: Function ereg()
IEatYourCookies replied to IEatYourCookies's topic in Modification Support
Omg :3 - Those are complicated words. (i have a Limited brain capacity) Aha, could you not just edit my current one & repost? :o Best Regards -
"HELP" register.php - Deprecated: Function ereg()
IEatYourCookies replied to IEatYourCookies's topic in Modification Support
Warning: preg_match() expects parameter 2 to be string, array given in /home/*****/public_html/register.php on line 33 Call Stack There's genuinely no hope for me. -
"HELP" register.php - Deprecated: Function ereg()
IEatYourCookies replied to IEatYourCookies's topic in Modification Support
I've attempted yet again, so many different combinations, I've even tried erasing the domain_array, no luck. May I have the fishy now please? :) Best Regards. -Alex. -
"HELP" register.php - Deprecated: Function ereg()
IEatYourCookies replied to IEatYourCookies's topic in Modification Support
Not being funny... -
Hello, I am looking for a decent coder, to create me a login/register for my game. Please feel free to post below, or contact me. My Current budget is: $45.00 - Best Regards! -Alex.
-
Hello there! I've tried everything to get my register working. But when the user signs up it signs them up fine, but then I get a list of errors. Deprecated: Function ereg() is deprecated in /home/*****/public_html/register.php on line 23 Deprecated: Function ereg() is deprecated in /home/*****/public_html/register.php on line 31 Deprecated: Function ereg() is deprecated in /home/*****/public_html/register.php on line 35 Deprecated: Function ereg() is deprecated in /home/*****/public_html/register.php on line 41 You may tell me to switch it for Preg_Match, Yes I understand, But I cant seem to do it. Could anyone possibly edit it for me and re-post? Here's the outdated version I have. <?php include "config.php"; global $_CONFIG; define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $set=array(); $settq=$db->query("SELECT * FROM settings"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } //thx to http://www.phpit.net/code/valid-email/ for valid_email function valid_email($email) { // First, we check that there's one @ symbol, and that the lengths are right if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $email)) { // Email invalid because wrong number of characters in one section, or wrong number of @ symbols. return false; } // Split it into sections to make life easier $email_array = explode("@", $email); $local_array = explode(".", $email_array[0]); for ($i = 0; $i < sizeof($local_array); $i++) { if (!ereg("^(([A-Za-z0-9!#$%&'*+/=?^_`{|}~-][A-Za-z0-9!#$%&'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i])) { return false; } } if (!ereg("^\[?[0-9\.]+\]?$", $email_array[1])) { // Check if domain is IP. If not, it should be valid domain name $domain_array = explode(".", $email_array[1]); if (sizeof($domain_array) < 2) { return false; // Not enough parts to domain } for ($i = 0; $i < sizeof($domain_array); $i++) { if (!ereg("^(([A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])|([A-Za-z0-9]+))$", $domain_array[$i])) { return false; } } } return true; } session_start(); print <<<EOF <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{$set['game_name']}</title> <script type="text/javascript"> var xmlHttp // xmlHttp variable function GetXmlHttpObject(){ // This function we will use to call our xmlhttpobject. var objXMLHttp=null // Sets objXMLHttp to null as default. if (window.XMLHttpRequest){ // If we are using Netscape or any other browser than IE lets use xmlhttp. objXMLHttp=new XMLHttpRequest() // Creates a xmlhttp request. }else if (window.ActiveXObject){ // ElseIf we are using IE lets use Active X. objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP") // Creates a new Active X Object. } // End ElseIf. return objXMLHttp // Returns the xhttp object. } // Close Function function CheckPasswords(password){ // This is our fucntion that will check to see how strong the users password is. xmlHttp=GetXmlHttpObject() // Creates a new Xmlhttp object. if (xmlHttp==null){ // If it cannot create a new Xmlhttp object. alert ("Browser does not support HTTP Request") // Alert Them! return // Returns. } // End If. var url="check.php?password="+escape(password) // Url that we will use to check the password. xmlHttp.open("GET",url,true) // Opens the URL using GET xmlHttp.onreadystatechange = function () { // This is the most important piece of the puzzle, if onreadystatechange = equal to 4 than that means the request is done. if (xmlHttp.readyState == 4) { // If the onreadystatechange is equal to 4 lets show the response text. document.getElementById("passwordresult").innerHTML = xmlHttp.responseText; // Updates the div with the response text from check.php } // End If. }; // Close Function xmlHttp.send(null); // Sends NULL insted of sending data. } // Close Function. function CheckUsername(password){ // This is our fucntion that will check to see how strong the users password is. xmlHttp=GetXmlHttpObject() // Creates a new Xmlhttp object. if (xmlHttp==null){ // If it cannot create a new Xmlhttp object. alert ("Browser does not support HTTP Request") // Alert Them! return // Returns. } // End If. var url="checkun.php?password="+escape(password) // Url that we will use to check the password. xmlHttp.open("GET",url,true) // Opens the URL using GET xmlHttp.onreadystatechange = function () { // This is the most important piece of the puzzle, if onreadystatechange = equal to 4 than that means the request is done. if (xmlHttp.readyState == 4) { // If the onreadystatechange is equal to 4 lets show the response text. document.getElementById("usernameresult").innerHTML = xmlHttp.responseText; // Updates the div with the response text from check.php } // End If. }; // Close Function xmlHttp.send(null); // Sends NULL insted of sending data. } // Close Function. function CheckEmail(password){ // This is our fucntion that will check to see how strong the users password is. xmlHttp=GetXmlHttpObject() // Creates a new Xmlhttp object. if (xmlHttp==null){ // If it cannot create a new Xmlhttp object. alert ("Browser does not support HTTP Request") // Alert Them! return // Returns. } // End If. var url="checkem.php?password="+escape(password) // Url that we will use to check the password. xmlHttp.open("GET",url,true) // Opens the URL using GET xmlHttp.onreadystatechange = function () { // This is the most important piece of the puzzle, if onreadystatechange = equal to 4 than that means the request is done. if (xmlHttp.readyState == 4) { // If the onreadystatechange is equal to 4 lets show the response text. document.getElementById("emailresult").innerHTML = xmlHttp.responseText; // Updates the div with the response text from check.php } // End If. }; // Close Function xmlHttp.send(null); // Sends NULL insted of sending data. } // Close Function. function PasswordMatch() { pwt1=document.getElementById('pw1').value; pwt2=document.getElementById('pw2').value; if(pwt1 == pwt2) { document.getElementById('cpasswordresult').innerHTML="<font color='green'>OK</font>"; } else { document.getElementById('cpasswordresult').innerHTML="<font color='red'>Not Matching</font>"; } } </script> <style type="text/css"> <!-- body { background-color: #DEDEDE; margin-top: 0px; margin-bottom: 0px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; } .lgrad { background-image:url(lgrad.jpg); background-repeat:repeat-y; width:19px; } .linegrad { background-image:url(linegrad.PNG); background-repeat:repeat-y; background-align: center; width:2px; } .rgrad { background-image:url(rgrad.jpg); background-repeat:repeat-y; width:19px; } .dgrad { background-image:url(dgrad.jpg); background-repeat:repeat-x; height:38px; } .dgradl { background-image:url(dgradl.jpg); background-repeat:no-repeat; height:38px; width:38px; } .dgradr { background-image:url(dgradr.jpg); background-repeat:no-repeat; height:38px; width:38px; } .center { width:932px; background-color:#FFFFFF; vertical-align:top; text-align:center; } .table { background-color:#000000; } .table3 { background-color:#000000; } .table td { background-color:#DEDEDE; height:22px; } .table3 td { background-color:#CCCCCC; } td .alt { background-color:#EEEEEE; height:22px; } td .h { background-image:url(tablehgrad.png); background-repeat:repeat-x; font-weight: bold; } .table th { background-image:url(tablehgrad.png); background-repeat:repeat-x; font-weight: bold; } --> </style></head> <body> <center> <table width="970" border="0" cellpadding="0" cellspacing="0" class="table2"> <tr> <td class="lgrad"></td> <td class="center"><img src="title.jpg" alt="Mccodes Version 2" /><br /> <!-- Begin Main Content --> EOF; $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; if(file_exists('ipbans/'.$IP)) { die("<b><font color=red size=+1>Your IP has been banned, there is no way around this.</font></b></body></html>"); } if($_POST['username']) { if($set['regcap_on']) { if(!$_SESSION['captcha'] or $_SESSION['captcha'] != $_POST['captcha']) { unset($_SESSION['captcha']); die("Captcha Test Failed<br /> ><a href='register.php'>Back</a>"); } unset($_SESSION['captcha']); } if(!valid_email($_POST['email'])) { die("Sorry, the email is invalid.<br /> ><a href='register.php'>Back</a>"); } if(strlen($_POST['username']) < 4) { die("Sorry, the username is too short.<br /> ><a href='register.php'>Back</a>"); } $sm=100; if($_POST['promo'] == "Your Promo Code Here") { $sm+=100; } $username=$_POST['username']; $username=str_replace(array("<", ">"), array("<", ">"), $username); $q=$db->query("SELECT * FROM users WHERE username='{$username}' OR login_name='{$username}'"); $q2=$db->query("SELECT * FROM users WHERE email='{$_POST['email']}'"); if($db->num_rows($q)) { print "Username already in use. Choose another.<br /> ><a href='register.php'>Back</a>"; } else if($db->num_rows($q2)) { print "E-Mail already in use. Choose another.<br /> ><a href='register.php'>Back</a>"; } else if($_POST['password'] != $_POST['cpassword']) { print "The passwords did not match, go back and try again.<br /> ><a href='register.php'>Back</a>"; } else { $_POST['ref'] = abs((int) $_POST['ref']); $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; $q=$db->query("SELECT * FROM users WHERE lastip='$IP' AND userid={$_POST['ref']}"); if($db->num_rows($q)) { die("No creating referral multies. Bad dog.<br /> ><a href='register.php'>Back</a>"); } if($_POST['ref']) { $q=$db->query("SELECT * FROM users WHERE userid={$_POST['ref']}"); $r=$db->fetch_row($q); } $db->query("INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup) VALUES( '{$username}', '{$username}', md5('{$_POST['password']}'), 1, $sm, 0, 0, 1, 12, 12, 100, 100, 5, 5, 100, 100, 1, '{$_POST['gender']}', unix_timestamp(), '{$_POST['email']}', -1, '$IP', '$IP')"); $i=$db->insert_id(); $db->query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10)"); if($_POST['ref']) { require "global_func.php"; $db->query("UPDATE users SET crystals=crystals+2 WHERE userid={$_POST['ref']}"); event_add($_POST['ref'],"For refering $username to the game, you have earnt 2 valuable crystals!",$c); $db->query("INSERT INTO referals VALUES('', {$_POST['ref']}, $i, unix_timestamp(),'{$r['lastip']}','$IP')"); } print "You have signed up, enjoy the game.<br> > <a href='login.php'>Login</a>"; } } else { if($set['regcap_on']) { $chars="123456789abcdefghijklmnpqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!?\\/%^"; $len=strlen($chars); $_SESSION['captcha']=""; for($i=0;$i<6;$i++) $_SESSION['captcha'].=$chars[rand(0, $len - 1)]; } print "<h3>{$set['game_name']} Registration</h3>"; print "<form action=register.php method=post> <table width='75%' class='table' cellspacing='1'> <tr> <td width='30%'>Username</td> <td width='40%'><input type=text name=username onkeyup='CheckUsername(this.value);'></td> <td width='30%'><div id='usernameresult'></div></td> </tr> <tr> <td>Password</td> <td><input type=password id='pw1' name=password onkeyup='CheckPasswords(this.value);PasswordMatch();'></td> <td><div id='passwordresult'></div></td> </tr> <tr> <td>Confirm Password</td><td><input type=password name=cpassword id='pw2' onkeyup='PasswordMatch();'></td> <td><div id='cpasswordresult'></div></td> </tr> <tr> <td>Email</td><td><input type=text name=email onkeyup='CheckEmail(this.value);'></td> <td><div id='emailresult'></div></td> </tr> <tr> <td>Gender</td> <td colspan='2'><select name='gender' type='dropdown'> <option value='Male'>Male <option value='Female'>Female</select></td> </tr> <tr> <td>Promo Code</td><td colspan=2><input type=text name=promo></td> </tr> <input type=hidden name=ref value='"; if($_GET['REF']) { print $_GET['REF']; } print "' />"; if($set['regcap_on']) { print "<tr> <td colspan=3><img src='captcha_verify.php?bgcolor=C3C3C3' /><br /> <input type='text' name='captcha' /></td> </tr>"; } print " <tr> <td colspan=3 align=center><input type=submit value=Submit></td> </tr> </table> </form><br /> > <a href='login.php'>Go Back</a>"; } print <<<OUT </td> <td class="rgrad"></td> </tr> <tr> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td class="dgradl"> </td> <td class="dgrad"> </td> <td class="dgradr"> </td> </tr> </table> </td> </tr> </table> </center> </body> </html> OUT; ?> If you can, It would be much appreciated! Best Regards -Alex. :)
-
Baisc Mccodes Register Not Working! :o
IEatYourCookies replied to IEatYourCookies's topic in Modification Support
Yes, inserting free modifactions....I Hate These Function Ereg, and for the reference im all free i don't charge a penny. -
Once you are typing in your emailto register this error show "Deprecated: Function ereg() is deprecated in /home/limite62/public_html/checkem.php on line 5" Checkem.php Line 5:if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $email)) { I Don't know what the problem is could someone possibly help? Much Appreciated.