who help me with the reg page
who can help me
i download wizkids regpage
and i have problem its not running
i think i make it right
i make step by step
alltime
comes
"; die(); } else { $regdate = date("Y-m-d H:i:s"); $email = antisql($_POST['email']); $reg = "INSERT INTO Account (UserID, UGradeID, PGradeID, RegDate, Email, Age, Name) VALUES ('".antisql($_POST['username'])."', '1', '1', '$regdate', '$email', '".antisql($_POST['age'])."', '".antisql($_POST['name'])."')"; $query = odbc_exec($connect,$reg); $gebruiker1 = "SELECT AID FROM Account WHERE UserID='".antisql($_POST['username'])."'"; $gebruiker = odbc_exec($connect,$gebruiker1); $i=1; while (odbc_fetch_row($gebruiker, $i)){ $aid = odbc_result($gebruiker, 'AID'); $i++; } if (!$aid) { die ("Oeps, something's wrong with the database"); } $reg2 = "INSERT INTO Login (UserID, AID, Password) VALUES ('".antisql($_POST['username'])."', '$aid', '".antisql($_POST['password'])."')"; $query = odbc_exec($connect,$reg2); print ("
Your account is succesfully created!
"); } } ?>
You can register a Gunz account right here:
"; ?>
Username
Password
E-mail
Name
Age
pls help
mfg :ott1::ott1::ott1:
Re: who help me with the reg page
Go to your PHP.ini and do short tags on..
Btw, wrong section.
Re: who help me with the reg page
Just use one Like Wizkid's
Got it here.
http://www.sendspace.com/file/tsfklv
Re: who help me with the reg page
Quote:
Originally Posted by
Bartjehh
@Bartjehh: Learn to read, he is using Wizkid's Register page.
Look:
Quote:
Originally Posted by
charlyne
who can help me
i download wizkids regpage
and i have problem its not running
i think i make it right
i make step by step
alltime
comes
"; die(); } else { $regdate = date("Y-m-d H:i:s"); $email = antisql($_POST['email']); $reg = "INSERT INTO Account (UserID, UGradeID, PGradeID, RegDate, Email, Age, Name) VALUES ('".antisql($_POST['username'])."', '1', '1', '$regdate', '$email', '".antisql($_POST['age'])."', '".antisql($_POST['name'])."')"; $query = odbc_exec($connect,$reg); $gebruiker1 = "SELECT AID FROM Account WHERE UserID='".antisql($_POST['username'])."'"; $gebruiker = odbc_exec($connect,$gebruiker1); $i=1; while (odbc_fetch_row($gebruiker, $i)){ $aid = odbc_result($gebruiker, 'AID'); $i++; } if (!$aid) { die ("Oeps, something's wrong with the database"); } $reg2 = "INSERT INTO Login (UserID, AID, Password) VALUES ('".antisql($_POST['username'])."', '$aid', '".antisql($_POST['password'])."')"; $query = odbc_exec($connect,$reg2); print ("
Your account is succesfully created!
"); } } ?>
You can register a Gunz account right here:
"; ?>
Username
Password
E-mail
Name
Age
pls help
mfg
And this is in the wrong section. MOVED
Re: who help me with the reg page
Than he f*cked up! nothing wrong with Wizkid's reg page!
Re: who help me with the reg page
Quote:
Originally Posted by
Bartjehh
Than he f*cked up! nothing wrong with Wizkid's reg page!
He didn't fck up his whole script just he need to configurate somethings,
Go to your PHP.ini and search for
short_open_tag =
Is it off just make it on, by typing on.
And you wil need a system-dns
start-run-odbcad32 - tab to system-dns-add 1.
Re: who help me with the reg page
Quote:
Originally Posted by
eele
He didn't fck up his whole script just he need to configurate somethings,
Go to your PHP.ini and search for
short_open_tag =
Is it off just make it on, by typing on.
And you wil need a system-dns
start-run-odbcad32 - tab to system-dns-add 1.
system-dns i make its standind in wizkids tut
http://img123.imageshack.us/img123/623/ocbdia6.jpg
Re: who help me with the reg page
Quote:
Originally Posted by
eele
He didn't fck up his whole script just he need to configurate somethings,
Go to your PHP.ini and search for
short_open_tag =
Is it off just make it on, by typing on.
And you wil need a system-dns
start-run-odbcad32 - tab to system-dns-add 1.
system-dns i make its standind in wizkids tut
http://img123.imageshack.us/img123/623/ocbdia6.jpg
http://img81.imageshack.us/img81/6028/ocbd3uu9.jpg
is this right
short tags on ?? see pict??????????
http://img355.imageshack.us/img355/6...enannt1bn8.jpg
and question the end .html is right ?????
all time same prob.
when ich chance the end from html in php
regsite brings at start no probs but olnly when i press register botton
come this
Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Bei der Konvertierung eines char-Datentyps in einen datetime-Datentyp liegt der datetime-Wert au