When user register in 2207

Results 1 to 15 of 15
  1. #1
    Account Upgraded | Title Enabled! rhys918 is offline
    MemberRank
    Apr 2009 Join Date
    EnglandLocation
    377Posts

    happy When user register in 2207

    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


  2. #2
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,302Posts

    Re: When user register in 2207

    I think that has to do with the time you inputted in your database for the serverstatus.dbo

  3. #3
    Account Upgraded | Title Enabled! rhys918 is offline
    MemberRank
    Apr 2009 Join Date
    EnglandLocation
    377Posts

    Re: When user register in 2207

    nope thats normal

  4. #4
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,302Posts

    Re: When user register in 2207

    Show me your serverstatus.dbo

  5. #5
    Account Upgraded | Title Enabled! rhys918 is offline
    MemberRank
    Apr 2009 Join Date
    EnglandLocation
    377Posts

    Re: When user register in 2207

    its the register page i tried with a normal reg page and its fine with mines its 2207

  6. #6
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,302Posts

    Re: When user register in 2207

    Just show it here.

  7. #7
    GunZ Developer dacharles is offline
    MemberRank
    Oct 2006 Join Date
    476Posts

    Re: When user register in 2207

    the time of the pc

  8. #8
    Account Upgraded | Title Enabled! rhys918 is offline
    MemberRank
    Apr 2009 Join Date
    EnglandLocation
    377Posts

    Re: When user register in 2207

    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.

  9. #9
    Banned Blasian is offline
    BannedRank
    Aug 2009 Join Date
    California, USLocation
    773Posts

    Re: When user register in 2207

    Quote Originally Posted by rhys918 View Post
    <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
    why would you do that even when it was coded by Wizkid its not like its hard to undo it xD + that register page is on rz and...
    your problem must likely is system date on the computer or, idk
    php.ini never seen that before.

  10. #10

    Re: When user register in 2207

    Check out the INSERT query, it has to be GETDATE() and not a static timestamp.

  11. #11
    Account Upgraded | Title Enabled! rhys918 is offline
    MemberRank
    Apr 2009 Join Date
    EnglandLocation
    377Posts

    Re: When user register in 2207

    Its defently somthing to do with regpage and i added alot of more function to it

  12. #12
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: When user register in 2207

    Just post your register page.

  13. #13
    Account Upgraded | Title Enabled! rhys918 is offline
    MemberRank
    Apr 2009 Join Date
    EnglandLocation
    377Posts

    Re: When user register in 2207

    //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

  14. #14
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: When user register in 2207

    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'])."')"); 

  15. #15
    Account Upgraded | Title Enabled! rhys918 is offline
    MemberRank
    Apr 2009 Join Date
    EnglandLocation
    377Posts

    Re: When user register in 2207

    Yes it is fixed now thankyou :)



Advertisement