3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL & ~E_NOTICE); //MySQL database connection information //MySQL connection information: $mysql_host = "localhost"; //Host Name $mysql_user = "User"; //Username $mysql_pass = "User4812A"; //Password $mysql_db = "mailserver"; //Database //General Configuration: $account_max = "10000000"; //Maximum size per account (1000000 = 1MB -> Do not uses spaces or commas!) $admin_notIfy = "1"; //1 = yes & 0 = no $from_add = "info@openmail.se"; $admin_email = "info@sonexa.se"; //Administrators email to send notifications) $admin_Default_activate = "1"; //1 = yes & 0 = no -> If no, the administrator has to authorise the account $accountisad = 0; // account is AD-account? 0 = no (default), 1 = yws; $encryption = 2; //Password encryption level - 2 means md5; $domain = 'openmail.se'; // the domain, where the account should be added too $date = date('Y-m-d H:i:s'); $msg=""; $a=""; $serv_webmail_url = 'http://webmail.openmail.se'; // full URL to the webmail-application $url = $_SERVER["HTTP_HOST"]; $domain = (empty($domain))? $_SERVER["HTTP_HOST"] : $domain; $domain = (substr($domain,0,4) == "www.")? strstr($domain, ".") : $domain; // Protect database entries and use MD5 encryption $strName = (isset($_POST['name']))? addslashes( $_POST['name'] ) : ''; $strUser = (isset($_POST['user']))? addslashes( $_POST['user'] ) : ''; $strDomain = addslashes( "$domain" ); $strPass1 = (isset($_POST['pass1']))? addslashes( $_POST['pass1'] ) : ''; //Connect to database using information from above $Conn = mysqli_connect("$mysql_host", "$mysql_user", "$mysql_pass", "$mysql_db"); if (!$Conn) { echo $a; print_r(error_get_last()); $msg = "Unable to open database, contact your administrator!"; } else { if ( isset($_POST['submit']) && $_POST['submit'] == 'create account' ) { //Check to see if email account exists, if not process signup $account_res = mysqli_query($Conn, "SELECT * FROM `hm_accounts` WHERE `accountaddress` = '{$strUser}@$strDomain' LIMIT 1"); $v1 = mysql_num_rows($account_res); If ($v1 >= 1) { // Account exists $msg = "En abonnent med det användarnamnet finns redan!<br><br>Vänligen <a href=\"javascript:history.go(-1)\">klicka här </a> för att gå tillbaka."; return false; } else { if ( !$_POST['pass1'] || !$_POST['pass2'] ) { // User did not enter both passwords $msg = "Du angav inte bägge lösenorden!<br><br>Vänligen <a href=\"javascript:history.go(-1)\">klicka här</a> för att gå tillbaka."; } elseif ( $_POST['pass1'] != $_POST['pass2'] ) { // Passwords do not match $msg = "Lösenorden som du angav matchar inte!<br><br>Vänligen <a href=\"javascript:history.go(-1)\">klicka här</a> för att gå tillbaka."; } else { $domain_id = $domain_info['domainid']; $account_pass = ($encryption == 2)? md5( $strPass1 ) : $strPass1; // Everything seems ok, insert values into database $account_add = mysqli_query($Conn, "INSERT INTO `hm_accounts` (`accountdomainid`,`accountadminlevel`,`accountaddress`,`accountpassword`,`accountactive`,`accountlastlogontime`,`accountvacationexpiredate`,`accountmaxsize`,`accountpwencryption`) VALUES ('$domain_id','0','$strUser@$strDomain','$account_pass','1','$date','$date','$account_max','$encryption')"); // Get the accountid from that last input $rt = mysqli_query($Conn, "SELECT MAX(accountid) FROM hm_accounts"); $row = mysql_fetch_row($rt); // Create folder INBOX in DB $account_add = mysqli_query($Conn, "INSERT INTO `hm_imapfolders` (`folderaccountid`,`folderparentid`,`foldername`,`folderissubscribed`,`foldercreationtime`,`foldercurrentuid`) VALUES ('$row[0]','-1','INBOX','1','$date','0')"); // Create folder TRASH in DB $account_add = mysqli_query($Conn, "INSERT INTO `hm_imapfolders` (`folderaccountid`,`folderparentid`,`foldername`,`folderissubscribed`,`foldercreationtime`,`foldercurrentuid`) VALUES ('$row[0]','-1','Trash','1','$date','0')"); // Create folder SENT in DB $account_add = mysqli_query($Conn, "INSERT INTO `hm_imapfolders` (`folderaccountid`,`folderparentid`,`foldername`,`folderissubscribed`,`foldercreationtime`,`foldercurrentuid`) VALUES ('$row[0]','-1','Sent','1','$date','0')"); // Create folder DRAFTS in DB $account_add = mysqli_query($Conn, "INSERT INTO `hm_imapfolders` (`folderaccountid`,`folderparentid`,`foldername`,`folderissubscribed`,`foldercreationtime`,`foldercurrentuid`) VALUES ('$row[0]','-1','Drafts','1','$date','0')"); } } if (!$account_add) { // Database error, could not create account die('<br><br>Databasfel, kunde inte lägga till konto. Vänligen kontakta en administratör!<br> ' . mysqli_error($Conn)); } If ($admin_Default_activate == 0) { // Account created but requires verification $message = "Ditt konto har skapats men <b>kräver aktivering</b> av en administratör."; $message .= "Så fort ditt konto har blivit godkänt, kommer du att få ett meddelande om detta.<br><br>"; } else { // Account created, sending all account info to user $subject = "Välkommen till $strDomain !"; $message = "Tack! Din nya e-postadress är nu registrerad hos oss.<br><br>Du är välkommen att logga in via http://webmail.openmail.se eller<br>med hjälp av nedanstående kontouppgifter.<br><br>"; $message .= "E-postadress: $strUser@$strDomain<br><br>"; $message .= "POP3: mail.openmail.se<br>"; $message .= "IMAP: mail.openmail.se<br>"; $message .= "SMTP: mail.openmail.se<br><br>"; $message .= "Frågor gällande ditt e-postkontot besvaras enklast av<br>vår supportavdelning som du når på support@openmail.se.<br><br>Välkommen till oss...<br><br>"; $message .= "OpenMail is powered by Sonexa IT<br>info@sonexa.se | http://www.sonexa.se"; $headers = "MIME-Version: 1.0 \r\n"; $headers .= "Content-type: text/html; charset=UTF-8 \r\n"; $headers .= "From: $from_add \r\n"; $headers .= "Reply-To: $from_add \r\n"; $headers .= "Return-Path: $from_add\r\n"; $headers .= "X-Mailer: PHP \r\n"; //Check if email is sent to user if(mail("{$_POST['user']}@$strDomain", "$subject", "$message", "$headers", "From: $from_add")) { //Success $msg ="Registreringen lyckades - 1"; } else { //Fail $msg ="Registreringen misslyckades - 1!"; } } //Notify admin about new email and request activation if ($admin_Default_activate == 0 && $admin_notIfy == 1) { $admin_mail_subject = "E-postkonto kräver aktivering!"; $admin_mail_message = "E-postkontot {$_POST['user']}@$strDomain har skapats av {$_POST['name']} och kräver aktivering av en administratör!\r\n\r\nVänligen logga in på kontrollpanelen för att verifiera och aktivera e-postkontot.\r\n\r\n"; //Check if email activation notice is sent to admin if(mail($admin_email, "$admin_mail_subject", "$admin_mail_message", "From: $from_add")) { //Success $msg ="Registreringen lyckades - 2"; } else { //Fail $msg ="Registreringen misslyckades - 2!"; } } //Notify admin about new email elseif ($admin_Default_activate == 1 && $admin_notIfy == 1) { $admin_mail_subject = "Nytt e-postkonto skapat!"; $admin_mail_message = "{$_POST['user']}@$strDomain har skapats av {$_POST['name']}!"; //Check if email notification is sent to admin if(mail($admin_email, "$admin_mail_subject", "$admin_mail_message", "From: $from_add")) { //Success $msg ="Registreringen lyckades - 3"; } else { //Fail $msg ="Registreringen misslyckades - 3!"; } } } } //Email account signup page echo " <table width=\"350\" border=\"0\" cellpadding=\"0\" cellspacing=\"2\"> <form action=\"\" method=\"POST\"> <tr><td>Full Name:</td><td><input type=\"text\" name=\"name\" size=\"21\">".$msg."</td></tr> <tr><td>E-Mail:</td><td><input type=\"text\" name=\"user\" size=\"21\"> @ ".$domain."</td></tr> <tr><td>Password:</td><td><input type=\"password\" name=\"pass1\" size=\"21\"></td></tr> <tr><td>Password:</td><td><input type=\"password\" name=\"pass2\" size=\"21\"> (For Confirmation)</td></tr> <tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" name=\"submit\" value=\"create account\" style=\"width: 98%\"></td></tr> </form> </table>"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 31
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
2 jumps found. (Code = 43) Position 1 = 40, Position 2 = 46
Branch analysis from position: 40
1 jumps found. (Code = 42) Position 1 = 47
Branch analysis from position: 47
2 jumps found. (Code = 43) Position 1 = 51, Position 2 = 58
Branch analysis from position: 51
1 jumps found. (Code = 42) Position 1 = 59
Branch analysis from position: 59
2 jumps found. (Code = 43) Position 1 = 63, Position 2 = 70
Branch analysis from position: 63
1 jumps found. (Code = 42) Position 1 = 71
Branch analysis from position: 71
2 jumps found. (Code = 43) Position 1 = 80, Position 2 = 87
Branch analysis from position: 80
1 jumps found. (Code = 42) Position 1 = 88
Branch analysis from position: 88
2 jumps found. (Code = 43) Position 1 = 102, Position 2 = 110
Branch analysis from position: 102
1 jumps found. (Code = 42) Position 1 = 370
Branch analysis from position: 370
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 110
2 jumps found. (Code = 46) Position 1 = 113, Position 2 = 117
Branch analysis from position: 113
2 jumps found. (Code = 43) Position 1 = 118, Position 2 = 370
Branch analysis from position: 118
2 jumps found. (Code = 43) Position 1 = 134, Position 2 = 137
Branch analysis from position: 134
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 137
2 jumps found. (Code = 47) Position 1 = 141, Position 2 = 145
Branch analysis from position: 141
2 jumps found. (Code = 43) Position 1 = 146, Position 2 = 148
Branch analysis from position: 146
1 jumps found. (Code = 42) Position 1 = 242
Branch analysis from position: 242
2 jumps found. (Code = 43) Position 1 = 244, Position 2 = 249
Branch analysis from position: 244
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 249
2 jumps found. (Code = 43) Position 1 = 251, Position 2 = 254
Branch analysis from position: 251
1 jumps found. (Code = 42) Position 1 = 306
Branch analysis from position: 306
2 jumps found. (Code = 46) Position 1 = 308, Position 2 = 310
Branch analysis from position: 308
2 jumps found. (Code = 43) Position 1 = 311, Position 2 = 339
Branch analysis from position: 311
2 jumps found. (Code = 43) Position 1 = 335, Position 2 = 337
Branch analysis from position: 335
1 jumps found. (Code = 42) Position 1 = 338
Branch analysis from position: 338
1 jumps found. (Code = 42) Position 1 = 370
Branch analysis from position: 370
Branch analysis from position: 337
1 jumps found. (Code = 42) Position 1 = 370
Branch analysis from position: 370
Branch analysis from position: 339
2 jumps found. (Code = 46) Position 1 = 341, Position 2 = 343
Branch analysis from position: 341
2 jumps found. (Code = 43) Position 1 = 344, Position 2 = 370
Branch analysis from position: 344
2 jumps found. (Code = 43) Position 1 = 367, Position 2 = 369
Branch analysis from position: 367
1 jumps found. (Code = 42) Position 1 = 370
Branch analysis from position: 370
Branch analysis from position: 369
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 370
Branch analysis from position: 343
Branch analysis from position: 310
Branch analysis from position: 254
2 jumps found. (Code = 43) Position 1 = 303, Position 2 = 305
Branch analysis from position: 303
1 jumps found. (Code = 42) Position 1 = 306
Branch analysis from position: 306
Branch analysis from position: 305
2 jumps found. (Code = 46) Position 1 = 308, Position 2 = 310
Branch analysis from position: 308
Branch analysis from position: 310
Branch analysis from position: 148
2 jumps found. (Code = 43) Position 1 = 154, Position 2 = 156
Branch analysis from position: 154
1 jumps found. (Code = 42) Position 1 = 242
Branch analysis from position: 242
Branch analysis from position: 156
2 jumps found. (Code = 43) Position 1 = 160, Position 2 = 165
Branch analysis from position: 160
1 jumps found. (Code = 42) Position 1 = 166
Branch analysis from position: 166
2 jumps found. (Code = 43) Position 1 = 244, Position 2 = 249
Branch analysis from position: 244
Branch analysis from position: 249
Branch analysis from position: 165
2 jumps found. (Code = 43) Position 1 = 244, Position 2 = 249
Branch analysis from position: 244
Branch analysis from position: 249
Branch analysis from position: 145
Branch analysis from position: 370
Branch analysis from position: 117
Branch analysis from position: 87
2 jumps found. (Code = 43) Position 1 = 102, Position 2 = 110
Branch analysis from position: 102
Branch analysis from position: 110
Branch analysis from position: 70
2 jumps found. (Code = 43) Position 1 = 80, Position 2 = 87
Branch analysis from position: 80
Branch analysis from position: 87
Branch analysis from position: 58
2 jumps found. (Code = 43) Position 1 = 63, Position 2 = 70
Branch analysis from position: 63
Branch analysis from position: 70
Branch analysis from position: 46
2 jumps found. (Code = 43) Position 1 = 51, Position 2 = 58
Branch analysis from position: 51
Branch analysis from position: 58
Branch analysis from position: 31
2 jumps found. (Code = 43) Position 1 = 40, Position 2 = 46
Branch analysis from position: 40
Branch analysis from position: 46
filename:       /in/XoRWP
function name:  (null)
number of ops:  376
compiled vars:  !0 = $mysql_host, !1 = $mysql_user, !2 = $mysql_pass, !3 = $mysql_db, !4 = $account_max, !5 = $admin_notIfy, !6 = $from_add, !7 = $admin_email, !8 = $admin_Default_activate, !9 = $accountisad, !10 = $encryption, !11 = $domain, !12 = $date, !13 = $msg, !14 = $a, !15 = $serv_webmail_url, !16 = $url, !17 = $strName, !18 = $strUser, !19 = $strDomain, !20 = $strPass1, !21 = $Conn, !22 = $account_res, !23 = $v1, !24 = $domain_id, !25 = $domain_info, !26 = $account_pass, !27 = $account_add, !28 = $rt, !29 = $row, !30 = $message, !31 = $subject, !32 = $headers, !33 = $admin_mail_subject, !34 = $admin_mail_message
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32759
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, 'localhost'
    6     4        ASSIGN                                                   !1, 'User'
    7     5        ASSIGN                                                   !2, 'User4812A'
    8     6        ASSIGN                                                   !3, 'mailserver'
   11     7        ASSIGN                                                   !4, '10000000'
   12     8        ASSIGN                                                   !5, '1'
   13     9        ASSIGN                                                   !6, 'info%40openmail.se'
   14    10        ASSIGN                                                   !7, 'info%40sonexa.se'
   15    11        ASSIGN                                                   !8, '1'
   16    12        ASSIGN                                                   !9, 0
   17    13        ASSIGN                                                   !10, 2
   18    14        ASSIGN                                                   !11, 'openmail.se'
   19    15        INIT_FCALL                                               'date'
         16        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         17        DO_ICALL                                         $48     
         18        ASSIGN                                                   !12, $48
   20    19        ASSIGN                                                   !13, ''
   21    20        ASSIGN                                                   !14, ''
   23    21        ASSIGN                                                   !15, 'http%3A%2F%2Fwebmail.openmail.se'
   25    22        FETCH_R                      global              ~53     '_SERVER'
         23        FETCH_DIM_R                                      ~54     ~53, 'HTTP_HOST'
         24        ASSIGN                                                   !16, ~54
   26    25        ISSET_ISEMPTY_CV                                         !11
         26      > JMPZ                                                     ~56, ->31
         27    >   FETCH_R                      global              ~57     '_SERVER'
         28        FETCH_DIM_R                                      ~58     ~57, 'HTTP_HOST'
         29        QM_ASSIGN                                        ~59     ~58
         30      > JMP                                                      ->32
         31    >   QM_ASSIGN                                        ~59     !11
         32    >   ASSIGN                                                   !11, ~59
   27    33        INIT_FCALL                                               'substr'
         34        SEND_VAR                                                 !11
         35        SEND_VAL                                                 0
         36        SEND_VAL                                                 4
         37        DO_ICALL                                         $61     
         38        IS_EQUAL                                                 $61, 'www.'
         39      > JMPZ                                                     ~62, ->46
         40    >   INIT_FCALL                                               'strstr'
         41        SEND_VAR                                                 !11
         42        SEND_VAL                                                 '.'
         43        DO_ICALL                                         $63     
         44        QM_ASSIGN                                        ~64     $63
         45      > JMP                                                      ->47
         46    >   QM_ASSIGN                                        ~64     !11
         47    >   ASSIGN                                                   !11, ~64
   30    48        FETCH_IS                                         ~66     '_POST'
         49        ISSET_ISEMPTY_DIM_OBJ                         0          ~66, 'name'
         50      > JMPZ                                                     ~67, ->58
         51    >   INIT_FCALL                                               'addslashes'
         52        FETCH_R                      global              ~68     '_POST'
         53        FETCH_DIM_R                                      ~69     ~68, 'name'
         54        SEND_VAL                                                 ~69
         55        DO_ICALL                                         $70     
         56        QM_ASSIGN                                        ~71     $70
         57      > JMP                                                      ->59
         58    >   QM_ASSIGN                                        ~71     ''
         59    >   ASSIGN                                                   !17, ~71
   31    60        FETCH_IS                                         ~73     '_POST'
         61        ISSET_ISEMPTY_DIM_OBJ                         0          ~73, 'user'
         62      > JMPZ                                                     ~74, ->70
         63    >   INIT_FCALL                                               'addslashes'
         64        FETCH_R                      global              ~75     '_POST'
         65        FETCH_DIM_R                                      ~76     ~75, 'user'
         66        SEND_VAL                                                 ~76
         67        DO_ICALL                                         $77     
         68        QM_ASSIGN                                        ~78     $77
         69      > JMP                                                      ->71
         70    >   QM_ASSIGN                                        ~78     ''
         71    >   ASSIGN                                                   !18, ~78
   33    72        INIT_FCALL                                               'addslashes'
         73        CAST                                          6  ~80     !11
         74        SEND_VAL                                                 ~80
         75        DO_ICALL                                         $81     
         76        ASSIGN                                                   !19, $81
   34    77        FETCH_IS                                         ~83     '_POST'
         78        ISSET_ISEMPTY_DIM_OBJ                         0          ~83, 'pass1'
         79      > JMPZ                                                     ~84, ->87
         80    >   INIT_FCALL                                               'addslashes'
         81        FETCH_R                      global              ~85     '_POST'
         82        FETCH_DIM_R                                      ~86     ~85, 'pass1'
         83        SEND_VAL                                                 ~86
         84        DO_ICALL                                         $87     
         85        QM_ASSIGN                                        ~88     $87
         86      > JMP                                                      ->88
         87    >   QM_ASSIGN                                        ~88     ''
         88    >   ASSIGN                                                   !20, ~88
   37    89        INIT_FCALL_BY_NAME                                       'mysqli_connect'
         90        CAST                                          6  ~90     !0
         91        SEND_VAL_EX                                              ~90
         92        CAST                                          6  ~91     !1
         93        SEND_VAL_EX                                              ~91
         94        CAST                                          6  ~92     !2
         95        SEND_VAL_EX                                              ~92
         96        CAST                                          6  ~93     !3
         97        SEND_VAL_EX                                              ~93
         98        DO_FCALL                                      0  $94     
         99        ASSIGN                                                   !21, $94
   39   100        BOOL_NOT                                         ~96     !21
        101      > JMPZ                                                     ~96, ->110
   42   102    >   ECHO                                                     !14
   43   103        INIT_FCALL                                               'print_r'
        104        INIT_FCALL                                               'error_get_last'
        105        DO_ICALL                                         $97     
        106        SEND_VAR                                                 $97
        107        DO_ICALL                                                 
   45   108        ASSIGN                                                   !13, 'Unable+to+open+database%2C+contact+your+administrator%21'
        109      > JMP                                                      ->370
   48   110    >   FETCH_IS                                         ~100    '_POST'
        111        ISSET_ISEMPTY_DIM_OBJ                         0  ~101    ~100, 'submit'
        112      > JMPZ_EX                                          ~101    ~101, ->117
        113    >   FETCH_R                      global              ~102    '_POST'
        114        FETCH_DIM_R                                      ~103    ~102, 'submit'
        115        IS_EQUAL                                         ~104    ~103, 'create+account'
        116        BOOL                                             ~101    ~104
        117    > > JMPZ                                                     ~101, ->370
   53   118    >   INIT_FCALL_BY_NAME                                       'mysqli_query'
        119        SEND_VAR_EX                                              !21
        120        ROPE_INIT                                     5  ~106    'SELECT+%2A+FROM+%60hm_accounts%60+WHERE+%60accountaddress%60+%3D+%27'
        121        ROPE_ADD                                      1  ~106    ~106, !18
        122        ROPE_ADD                                      2  ~106    ~106, '%40'
        123        ROPE_ADD                                      3  ~106    ~106, !19
        124        ROPE_END                                      4  ~105    ~106, '%27+LIMIT+1'
        125        SEND_VAL_EX                                              ~105
        126        DO_FCALL                                      0  $109    
        127        ASSIGN                                                   !22, $109
   54   128        INIT_FCALL_BY_NAME                                       'mysql_num_rows'
        129        SEND_VAR_EX                                              !22
        130        DO_FCALL                                      0  $111    
        131        ASSIGN                                                   !23, $111
   56   132        IS_SMALLER_OR_EQUAL                                      1, !23
        133      > JMPZ                                                     ~113, ->137
   59   134    >   ASSIGN                                                   !13, 'En+abonnent+med+det+anv%C3%A4ndarnamnet+finns+redan%21%3Cbr%3E%3Cbr%3EV%C3%A4nligen+%3Ca+href%3D%22javascript%3Ahistory.go%28-1%29%22%3Eklicka+h%C3%A4r+%3C%2Fa%3E+f%C3%B6r+att+g%C3%A5+tillbaka.'
   60   135      > RETURN                                                   <false>
        136*       JMP                                                      ->242
   62   137    >   FETCH_R                      global              ~115    '_POST'
        138        FETCH_DIM_R                                      ~116    ~115, 'pass1'
        139        BOOL_NOT                                         ~117    ~116
        140      > JMPNZ_EX                                         ~117    ~117, ->145
        141    >   FETCH_R                      global              ~118    '_POST'
        142        FETCH_DIM_R                                      ~119    ~118, 'pass2'
        143        BOOL_NOT                                         ~120    ~119
        144        BOOL                                             ~117    ~120
        145    > > JMPZ                                                     ~117, ->148
   65   146    >   ASSIGN                                                   !13, 'Du+angav+inte+b%C3%A4gge+l%C3%B6senorden%21%3Cbr%3E%3Cbr%3EV%C3%A4nligen+%3Ca+href%3D%22javascript%3Ahistory.go%28-1%29%22%3Eklicka+h%C3%A4r%3C%2Fa%3E+f%C3%B6r+att+g%C3%A5+tillbaka.'
        147      > JMP                                                      ->242
   67   148    >   FETCH_R                      global              ~122    '_POST'
        149        FETCH_DIM_R                                      ~123    ~122, 'pass1'
        150        FETCH_R                      global              ~124    '_POST'
        151        FETCH_DIM_R                                      ~125    ~124, 'pass2'
        152        IS_NOT_EQUAL                                             ~123, ~125
        153      > JMPZ                                                     ~126, ->156
   70   154    >   ASSIGN                                                   !13, 'L%C3%B6senorden+som+du+angav+matchar+inte%21%3Cbr%3E%3Cbr%3EV%C3%A4nligen+%3Ca+href%3D%22javascript%3Ahistory.go%28-1%29%22%3Eklicka+h%C3%A4r%3C%2Fa%3E+f%C3%B6r+att+g%C3%A5+tillbaka.'
        155      > JMP                                                      ->242
   72   156    >   FETCH_DIM_R                                      ~128    !25, 'domainid'
        157        ASSIGN                                                   !24, ~128
   73   158        IS_EQUAL                                                 !10, 2
        159      > JMPZ                                                     ~130, ->165
        160    >   INIT_FCALL                                               'md5'
        161        SEND_VAR                                                 !20
        162        DO_ICALL                                         $131    
        163        QM_ASSIGN                                        ~132    $131
        164      > JMP                                                      ->166
        165    >   QM_ASSIGN                                        ~132    !20
        166    >   ASSIGN                                                   !26, ~132
   76   167        INIT_FCALL_BY_NAME                                       'mysqli_query'
        168        SEND_VAR_EX                                              !21
        169        ROPE_INIT                                    17  ~135    'INSERT+INTO+%60hm_accounts%60+%28%60accountdomainid%60%2C%60accountadminlevel%60%2C%60accountaddress%60%2C%60accountpassword%60%2C%60accountactive%60%2C%60accountlastlogontime%60%2C%60accountvacationexpiredate%60%2C%60accountmaxsize%60%2C%60accountpwencryption%60%29%0A+++++++++++++++++++++++++++++++++++++++++++++++++++++++++VALUES+%28%27'
   77   170        ROPE_ADD                                      1  ~135    ~135, !24
        171        ROPE_ADD                                      2  ~135    ~135, '%27%2C%270%27%2C%27'
        172        ROPE_ADD                                      3  ~135    ~135, !18
        173        ROPE_ADD                                      4  ~135    ~135, '%40'
        174        ROPE_ADD                                      5  ~135    ~135, !19
        175        ROPE_ADD                                      6  ~135    ~135, '%27%2C%27'
        176        ROPE_ADD                                      7  ~135    ~135, !26
        177        ROPE_ADD                                      8  ~135    ~135, '%27%2C%271%27%2C%27'
        178        ROPE_ADD                                      9  ~135    ~135, !12
        179        ROPE_ADD                                     10  ~135    ~135, '%27%2C%27'
        180        ROPE_ADD                                     11  ~135    ~135, !12
        181        ROPE_ADD                                     12  ~135    ~135, '%27%2C%27'
        182        ROPE_ADD                                     13  ~135    ~135, !4
        183        ROPE_ADD                                     14  ~135    ~135, '%27%2C%27'
        184        ROPE_ADD                                     15  ~135    ~135, !10
        185        ROPE_END                                     16  ~134    ~135, '%27%29'
        186        SEND_VAL_EX                                              ~134
        187        DO_FCALL                                      0  $144    
   76   188        ASSIGN                                                   !27, $144
   80   189        INIT_FCALL_BY_NAME                                       'mysqli_query'
        190        SEND_VAR_EX                                              !21
        191        SEND_VAL_EX                                              'SELECT+MAX%28accountid%29+FROM+hm_accounts'
        192        DO_FCALL                                      0  $146    
        193        ASSIGN                                                   !28, $146
   81   194        INIT_FCALL_BY_NAME                                       'mysql_fetch_row'
        195        SEND_VAR_EX                                              !28
        196        DO_FCALL                                      0  $148    
        197        ASSIGN                                                   !29, $148
   84   198        INIT_FCALL_BY_NAME                                       'mysqli_query'
        199        SEND_VAR_EX                                              !21
        200        ROPE_INIT                                     5  ~152    'INSERT+INTO+%60hm_imapfolders%60+%28%60folderaccountid%60%2C%60folderparentid%60%2C%60foldername%60%2C%60folderissubscribed%60%2C%60foldercreationtime%60%2C%60foldercurrentuid%60%29%0A+++++++++++++++++++++++++++++++++++++++++++++++++++++++++VALUES+%28%27'
   85   201        FETCH_DIM_R                                      ~150    !29, 0
        202        ROPE_ADD                                      1  ~152    ~152, ~150
        203        ROPE_ADD                                      2  ~152    ~152, '%27%2C%27-1%27%2C%27INBOX%27%2C%271%27%2C%27'
        204        ROPE_ADD                                      3  ~152    ~152, !12
        205        ROPE_END                                      4  ~151    ~152, '%27%2C%270%27%29'
        206        SEND_VAL_EX                                              ~151
        207        DO_FCALL                                      0  $155    
   84   208        ASSIGN                                                   !27, $155
   87   209        INIT_FCALL_BY_NAME                                       'mysqli_query'
        210        SEND_VAR_EX                                              !21
        211        ROPE_INIT                                     5  ~159    'INSERT+INTO+%60hm_imapfolders%60+%28%60folderaccountid%60%2C%60folderparentid%60%2C%60foldername%60%2C%60folderissubscribed%60%2C%60foldercreationtime%60%2C%60foldercurrentuid%60%29%0A+++++++++++++++++++++++++++++++++++++++++++++++++++++++++VALUES+%28%27'
   88   212        FETCH_DIM_R                                      ~157    !29, 0
        213        ROPE_ADD                                      1  ~159    ~159, ~157
        214        ROPE_ADD                                      2  ~159    ~159, '%27%2C%27-1%27%2C%27Trash%27%2C%271%27%2C%27'
        215        ROPE_ADD                                      3  ~159    ~159, !12
        216        ROPE_END                                      4  ~158    ~159, '%27%2C%270%27%29'
        217        SEND_VAL_EX                                              ~158
        218        DO_FCALL                                      0  $162    
   87   219        ASSIGN                                                   !27, $162
   90   220        INIT_FCALL_BY_NAME                                       'mysqli_query'
        221        SEND_VAR_EX                                              !21
        222        ROPE_INIT                                     5  ~166    'INSERT+INTO+%60hm_imapfolders%60+%28%60folderaccountid%60%2C%60folderparentid%60%2C%60foldername%60%2C%60folderissubscribed%60%2C%60foldercreationtime%60%2C%60foldercurrentuid%60%29%0A+++++++++++++++++++++++++++++++++++++++++++++++++++++++++VALUES+%28%27'
   91   223        FETCH_DIM_R                                      ~164    !29, 0
        224        ROPE_ADD                                      1  ~166    ~166, ~164
        225        ROPE_ADD                                      2  ~166    ~166, '%27%2C%27-1%27%2C%27Sent%27%2C%271%27%2C%27'
        226        ROPE_ADD                                      3  ~166    ~166, !12
        227        ROPE_END                                      4  ~165    ~166, '%27%2C%270%27%29'
        228        SEND_VAL_EX                                              ~165
        229        DO_FCALL                                      0  $169    
   90   230        ASSIGN                                                   !27, $169
   93   231        INIT_FCALL_BY_NAME                                       'mysqli_query'
        232        SEND_VAR_EX                                              !21
        233        ROPE_INIT                                     5  ~173    'INSERT+INTO+%60hm_imapfolders%60+%28%60folderaccountid%60%2C%60folderparentid%60%2C%60foldername%60%2C%60folderissubscribed%60%2C%60foldercreationtime%60%2C%60foldercurrentuid%60%29%0A+++++++++++++++++++++++++++++++++++++++++++++++++++++++++VALUES+%28%27'
   94   234        FETCH_DIM_R                                      ~171    !29, 0
        235        ROPE_ADD                                      1  ~173    ~173, ~171
        236        ROPE_ADD                                      2  ~173    ~173, '%27%2C%27-1%27%2C%27Drafts%27%2C%271%27%2C%27'
        237        ROPE_ADD                                      3  ~173    ~173, !12
        238        ROPE_END                                      4  ~172    ~173, '%27%2C%270%27%29'
        239        SEND_VAL_EX                                              ~172
        240        DO_FCALL                                      0  $176    
   93   241        ASSIGN                                                   !27, $176
   99   242    >   BOOL_NOT                                         ~178    !27
        243      > JMPZ                                                     ~178, ->249
  102   244    >   INIT_FCALL_BY_NAME                                       'mysqli_error'
        245        SEND_VAR_EX                                              !21
        246        DO_FCALL                                      0  $179    
        247        CONCAT                                           ~180    '%3Cbr%3E%3Cbr%3EDatabasfel%2C+kunde+inte+l%C3%A4gga+till+konto.+V%C3%A4nligen+kontakta+en+administrat%C3%B6r%21%3Cbr%3E+', $179
        248      > EXIT                                                     ~180
  105   249    >   IS_EQUAL                                                 !8, 0
        250      > JMPZ                                                     ~181, ->254
  108   251    >   ASSIGN                                                   !30, 'Ditt+konto+har+skapats+men+%3Cb%3Ekr%C3%A4ver+aktivering%3C%2Fb%3E+av+en+administrat%C3%B6r.'
  109   252        ASSIGN_OP                                     8          !30, 'S%C3%A5+fort+ditt+konto+har+blivit+godk%C3%A4nt%2C+kommer+du+att+f%C3%A5+ett+meddelande+om+detta.%3Cbr%3E%3Cbr%3E'
        253      > JMP                                                      ->306
  114   254    >   ROPE_INIT                                     3  ~185    'V%C3%A4lkommen+till+'
        255        ROPE_ADD                                      1  ~185    ~185, !19
        256        ROPE_END                                      2  ~184    ~185, '+%21'
        257        ASSIGN                                                   !31, ~184
  116   258        ASSIGN                                                   !30, 'Tack%21+Din+nya+e-postadress+%C3%A4r+nu+registrerad+hos+oss.%3Cbr%3E%3Cbr%3EDu+%C3%A4r+v%C3%A4lkommen+att+logga+in+via+http%3A%2F%2Fwebmail.openmail.se+eller%3Cbr%3Emed+hj%C3%A4lp+av+nedanst%C3%A5ende+kontouppgifter.%3Cbr%3E%3Cbr%3E'
  117   259        ROPE_INIT                                     5  ~190    'E-postadress%3A+'
        260        ROPE_ADD                                      1  ~190    ~190, !18
        261        ROPE_ADD                                      2  ~190    ~190, '%40'
        262        ROPE_ADD                                      3  ~190    ~190, !19
        263        ROPE_END                                      4  ~189    ~190, '%3Cbr%3E%3Cbr%3E'
        264        ASSIGN_OP                                     8          !30, ~189
  118   265        ASSIGN_OP                                     8          !30, 'POP3%3A+mail.openmail.se%3Cbr%3E'
  119   266        ASSIGN_OP                                     8          !30, 'IMAP%3A+mail.openmail.se%3Cbr%3E'
  120   267        ASSIGN_OP                                     8          !30, 'SMTP%3A+mail.openmail.se%3Cbr%3E%3Cbr%3E'
  121   268        ASSIGN_OP                                     8          !30, 'Fr%C3%A5gor+g%C3%A4llande+ditt+e-postkontot+besvaras+enklast+av%3Cbr%3Ev%C3%A5r+supportavdelning+som+du+n%C3%A5r+p%C3%A5+support%40openmail.se.%3Cbr%3E%3Cbr%3EV%C3%A4lkommen+till+oss...%3Cbr%3E%3Cbr%3E'
  122   269        ASSIGN_OP                                     8          !30, 'OpenMail+is+powered+by+Sonexa+IT%3Cbr%3Einfo%40sonexa.se+%7C+http%3A%2F%2Fwww.sonexa.se'
  124   270        ASSIGN                                                   !32, 'MIME-Version%3A+1.0+%0D%0A'
  125   271        ASSIGN_OP                                     8          !32, 'Content-type%3A+text%2Fhtml%3B+charset%3DUTF-8+%0D%0A'
  126   272        ROPE_INIT                                     3  ~202    'From%3A+'
        273        ROPE_ADD                                      1  ~202    ~202, !6
        274 

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.53 ms | 1420 KiB | 32 Q