Every time someone registers it sais in database as reg date
11/3/2207 12:00:00 AM
Allways that how do i fix please
Every time someone registers it sais in database as reg date
11/3/2207 12:00:00 AM
Allways that how do i fix please
I think that has to do with the time you inputted in your database for the serverstatus.dbo
nope thats normal
Show me your serverstatus.dbo
its the register page i tried with a normal reg page and its fine with mines its 2207
Just show it here.
the time of the pc
Code:<script> <!-- document.write(unescape("%3Cscript%20language%3DJavaScript%3E%0D%0A%3C%21--%0D%0A%0D%0A%0D%0Avar%20message%3D%22%22%3B%0D%0A///////////////////////////////////%0D%0Afunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickNS%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0D%0A%0D%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0D%0A//%20--%3E%20%0D%0A%3C/script%3E%0D%0A%0D%0A%0D%0A%3Cscript%20language%3D%22JavaScript1.2%22%3E%0D%0A%0D%0A//script%3E")); //--> </script> <script> <!-- document.write(unescape("%3CMETA%20HTTP-EQUIV%3D%22imagetoolbar%22%20CONTENT%3D%22no%22%3E")); //--> </script> <body bgcolor="black"> <style type="text/css"> b {color:#FFFFFF;} p {color:#D5D5D5;} </style> <br><br> <div align="center"> <?php date_default_timezone_set('America/Los_Angeles'); include 'antisql/inject.php'; /* This script was written by Wizkid. All rights reserved. Any support can be requested via RageZone. You're allowed to edit this script and modify the template. However, you are NOT allowed to remove and/or edit my copyright. Removing this copyright will be your death. */ thats the part with timezone
Last edited by Phoenix; 16-03-11 at 01:54 PM. Reason: Learn to use tags.
Check out the INSERT query, it has to be GETDATE() and not a static timestamp.
Its defently somthing to do with regpage and i added alot of more function to it
Just post your register page.
//Time for the real work. Editing this will be the end of your regpage.
$query3 = odbc_exec($connect, "INSERT INTO $accounttable (UserID, UGradeID, PGradeID, RegDate, Email, Age, Name) VALUES ('".antisql($_POST['username'])."', '0', '0', '$GETDATE()', '".antisql($_POST['email'])."', '".antisql($_POST['age'])."', '".antisql($_POST['name'])."')");
---------- Post added at 01:05 PM ---------- Previous post was at 01:01 PM ----------
I changed to $query3 = odbc_exec($connect, "INSERT INTO $accounttable (UserID, UGradeID, PGradeID, RegDate, Email, Age, Name) VALUES ('".antisql($_POST['username'])."', '0', '0', '$regdate', '".antisql($_POST['email'])."', '".antisql($_POST['age'])."', '".antisql($_POST['name'])."')");
And now it sais 1900/1/1
Try this:
PHP Code://Time for the real work. Editing this will be the end of your regpage.
$query3 = odbc_exec($connect, "INSERT INTO $accounttable (UserID, UGradeID, PGradeID, RegDate, Email, Age, Name) VALUES ('".antisql($_POST['username'])."', '0', '0', GETDATE(), '".antisql($_POST['email'])."', '".antisql($_POST['age'])."', '".antisql($_POST['name'])."')");
Yes it is fixed now thankyou :)