3v4l.org

run code in 300+ PHP versions simultaneously
<?php include("inc/config.inc.php"); $tidDato = date("dmYHis"); if (isset($_FILES['fileToUpload'])) { // $fileName = substr(md5($_FILES['fileToUpload']['name']), 0, 5); //$filNavn = "boede-" . $tidDato . "-" . $fileName . ".jpg"; move_uploaded_file($_FILES['fileToUpload']['tmp_name'], "uploads/" . $_FILES['fileToUpload']['name']); } if (isset($_FILES['fileToUpload2'])) { //$fileName2 = substr(md5($_FILES['fileToUpload2']['name']), 0, 5); //$filNavn2 = "boede-" . $tidDato . "-" . $fileName2 . ".jpg"; move_uploaded_file($_FILES['fileToUpload2']['tmp_name'], "uploads/" . $_FILES['fileToUpload2']['name']); } if (isset($_FILES['fileToUpload3'])) { //$fileName3 = substr(md5($_FILES['fileToUpload3']['name']), 0, 5); //$filNavn3 = "boede-" . $tidDato . "-" . $fileName3 . ".jpg"; move_uploaded_file($_FILES['fileToUpload3']['tmp_name'], "uploads/" . $_FILES['fileToUpload3']['name']); } if (isset($_FILES['fileToUpload4'])) { //$fileName4 = substr(md5($_FILES['fileToUpload4']['name']), 0, 5); //$filNavn4 = "boede-" . $tidDato . "-" . $fileName4 . ".jpg"; move_uploaded_file($_FILES['fileToUpload4']['tmp_name'], "uploads/" . $_FILES['fileToUpload4']['name']); } if (isset($_FILES['fileToUpload5'])) { //$fileName5 = substr(md5($_FILES['fileToUpload5']['name']), 0, 5); //$filNavn5 = "boede-" . $tidDato . "-" . $fileName5 . ".jpg"; move_uploaded_file($_FILES['fileToUpload5']['tmp_name'], "uploads/" . $_FILES['fileToUpload5']['name']); } if(isset($_GET["send"])){ $lobenr = $_POST["lobenr"]; $gade = $_POST["gade"]; $otype = $_POST["otype"]; $nummerplade = strtoupper($_POST["nummerplade"]); $tid = $_POST["tid"]; $fabrikat = $_POST["fabrikat"]; $nationalitet = $_POST["nationalitet"]; $bemaerkning = $_POST["bemaerkning"]; $dato1 = $_POST["dato"]; $dato = date("d-m-Y", strtotime($dato1)); $fileToUpload = $_FILES["fileToUpload"]["name"]; $fileToUpload2 = $_FILES["fileToUpload2"]["name"]; $fileToUpload3 = $_FILES["fileToUpload3"]["name"]; $fileToUpload4 = $_FILES["fileToUpload4"]["name"]; $fileToUpload5 = $_FILES["fileToUpload5"]["name"]; $hentmID = mysqli_query($mysql, "SELECT ID FROM brugere WHERE brugernavn='" . $_SESSION["brugernavn"] . "'"); $hmID = mysqli_fetch_array($hentmID); if($lobenr == NULL){ // Intet } else { mysqli_query($mysql, "INSERT INTO boder (nummerplade, adresse, tid, dato, billede, betalt, ot, mID, lobenr, fabrikat, nationalitet, bemaerkning, billede2, billede3, billede4, billede5) VALUES ('" . $nummerplade . "', '" . $gade . "', '" . $tid . "', '" . $dato . "', '" . $fileToUpload . "', '0', '" . $otype . "', '" . $hmID["ID"] . "', '" . $lobenr . "', '" . $fabrikat . "', '" . $nationalitet . "', '" . $bemaerkning . "', '" . $fileToUpload2 . "', '" . $fileToUpload3 . "', '" . $fileToUpload4 . "', '" . $fileToUpload5 . "')"); } } ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <link rel="apple-touch-icon" href="images/apple-touch-icon.png" /> <link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" href="apple-touch-startup-image-640x1096.png"> <title>NemParkering</title> <link rel="stylesheet" href="css/framework7.css"> <link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="css/colors/blue.css"> <link type="text/css" rel="stylesheet" href="css/swipebox.css" /> <link type="text/css" rel="stylesheet" href="css/animations.css" /> <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,700,900' rel='stylesheet' type='text/css'> </head> <body id="mobile_wrap"> <script type="text/javascript"> function fileSelected() { var count = document.getElementById('fileToUpload').files.length; document.getElementById('details').innerHTML = ""; for (var index = 0; index < count; index ++) { var file = document.getElementById('fileToUpload').files[index]; var fileSize = 0; if (file.size > 1024 * 1024) fileSize = (Math.round(file.size * 100 / (1024 * 1024)) / 100).toString() + 'MB'; else fileSize = (Math.round(file.size * 100 / 1024) / 100).toString() + 'KB'; document.getElementById('details').innerHTML += 'Name: ' + file.name + '<br>Size: ' + fileSize + '<br>Type: ' + file.type; document.getElementById('details').innerHTML += '<p>'; } } function uploadFile() { var fd = new FormData(); var count = document.getElementById('fileToUpload').files.length; for (var index = 0; index < count; index ++) { var file = document.getElementById('fileToUpload').files[index]; fd.append('fileToUpload', file); } var xhr = new XMLHttpRequest(); xhr.upload.addEventListener("progress", uploadProgress, false); xhr.addEventListener("load", uploadComplete, false); xhr.addEventListener("error", uploadFailed, false); xhr.addEventListener("abort", uploadCanceled, false); xhr.open("POST", "upload.php"); xhr.send(fd); } function uploadProgress(evt) { if (evt.lengthComputable) { var percentComplete = Math.round(evt.loaded * 100 / evt.total); document.getElementById('progress').innerHTML = percentComplete.toString() + '%'; } else { document.getElementById('progress').innerHTML = 'unable to compute'; } } function uploadComplete(evt) { /* This event is raised when the server send back a response */ alert("Billede uploadet!"); } function uploadFailed(evt) { alert("Billedet kunne ikke uploades!"); } function uploadCanceled(evt) { alert("Bøden blev tilføjet!"); } function printt() { window.print(); } </script> <div class="pages"> <div data-page="projects" class="page no-toolbar no-navbar"> <div class="page-content"> <div class="navbarpages" onclick="location.href='index.php';"> <div class="nav_left_logo"><a href="index.php"><img src="images/logo.png" alt="" title="" /></a></div> <div class="nav_right_button"></div> </div> <div id="pages_maincontent"> <h2 class="page_title">Ny Bøde</h2> <div class="page_content"> <h2 id="Note"></h2> <div class="contactform"> <form class="cmxform" id="ContactForm" method="post" action="?send=1" enctype="multipart/form-data"> <?php $lDato = date("l jS \of F Y h:i:s"); $lDatoMD5 = md5($lDato); $lobenr_g = substr($lDatoMD5, 0, 8); $lobenr_g = strtoupper($lobenr_g); ?> <label>Løbe nr.:</label> <input type="text" name="lobenr" id="lobenr" value="<?php echo $lobenr_g; ?>" class="form_input" readonly /> <label>Gade:</label> <select name="gade" id="gade" class="form_input"> <?php $hentGader = mysqli_query($mysql, "SELECT * FROM gader"); while($hGader = mysqli_fetch_array($hentGader)){ ?> <option name="<?php echo $hGader["gadenavn"]; ?>" value="<?php echo $hGader["gadenavn"]; ?>"><?php echo $hGader["gadenavn"]; ?></option> <?php } ?> </select> <label>Overtrædelses Type:</label> <select name="otype" id="otype" class="form_input"> <?php $hentOType = mysqli_query($mysql, "SELECT * FROM ot"); while($hGader = mysqli_fetch_array($hentOType)){ ?> <option name="<?php echo $hGader["id"]; ?>" value="<?php echo $hGader["id"]; ?>"><?php echo $hGader["ot"]; ?></option> <?php } ?> </select> <label>Nummerplade:</label> <input type="text" name="nummerplade" id="nummerplade" value="" class="form_input required" /> <label>Fabrikat:</label> <input type="text" name="fabrikat" id="fabrikat" value="" class="form_input required" /> <label>Nationalitet:</label> <input type="text" name="nationalitet" id="nationalitet" value="" class="form_input required" /> <label>Tid:</label> <input type="time" name="tid" id="tid" value="<?php echo date("H:i"); ?>" readonly class="form_input" /> <label>Dato:</label> <input type="date" name="dato" id="dato" value="<?php echo date("Y-m-d"); ?>" readonly class="form_input" /> <label>Bemærkning:</label> <input type="text" name="bemaerkning" id="bemaerkning" value="" class="form_input required" /> <label>Billede:</label> <input type="file" name="fileToUpload" id="fileToUpload" onchange="fileSelected();" accept="image/*" capture="camera" class="form_input"> <label>Evt. Billede 2:</label> <input type="file" name="fileToUpload2" id="fileToUpload2" onchange="fileSelected();" accept="image/*" capture="camera" class="form_input"> <label>Evt. Billede 3:</label> <input type="file" name="fileToUpload3" id="fileToUpload3" onchange="fileSelected();" accept="image/*" capture="camera" class="form_input"> <label>Evt. Billede 4:</label> <input type="file" name="fileToUpload4" id="fileToUpload4" onchange="fileSelected();" accept="image/*" capture="camera" class="form_input"> <label>Evt. Billede 5:</label> <input type="file" name="fileToUpload5" id="fileToUpload5" onchange="fileSelected();" accept="image/*" capture="camera" class="form_input"> <input type="submit" name="submit" class="form_submit" id="submit" value="Send" onclick="uploadFile()" /> <label id="loader" style="display:none;"><img src="images/loader.gif" alt="Loading..." id="LoadingGraphic" /></label> </form> </div> <div class="clear"></div> </div> </div> </div> </div> </div> <script type="text/javascript" src="js/jquery-1.10.1.min.js"></script> <script type="text/javascript" src="js/framework7.js"></script> <script type="text/javascript" src="js/my-app.js"></script> <script type="text/javascript" src="js/jquery.swipebox.js"></script> <script type="text/javascript" src="js/jquery.fitvids.js"></script> <script type="text/javascript" src="js/email.js"></script> </body> </html>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 19
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 33
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 47
Branch analysis from position: 36
2 jumps found. (Code = 43) Position 1 = 50, Position 2 = 61
Branch analysis from position: 50
2 jumps found. (Code = 43) Position 1 = 64, Position 2 = 75
Branch analysis from position: 64
2 jumps found. (Code = 43) Position 1 = 78, Position 2 = 187
Branch analysis from position: 78
2 jumps found. (Code = 43) Position 1 = 151, Position 2 = 152
Branch analysis from position: 151
1 jumps found. (Code = 42) Position 1 = 187
Branch analysis from position: 187
1 jumps found. (Code = 42) Position 1 = 225
Branch analysis from position: 225
2 jumps found. (Code = 44) Position 1 = 230, Position 2 = 215
Branch analysis from position: 230
1 jumps found. (Code = 42) Position 1 = 247
Branch analysis from position: 247
2 jumps found. (Code = 44) Position 1 = 252, Position 2 = 237
Branch analysis from position: 252
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 237
2 jumps found. (Code = 44) Position 1 = 252, Position 2 = 237
Branch analysis from position: 252
Branch analysis from position: 237
Branch analysis from position: 215
2 jumps found. (Code = 44) Position 1 = 230, Position 2 = 215
Branch analysis from position: 230
Branch analysis from position: 215
Branch analysis from position: 152
1 jumps found. (Code = 42) Position 1 = 225
Branch analysis from position: 225
Branch analysis from position: 187
Branch analysis from position: 75
Branch analysis from position: 61
Branch analysis from position: 47
Branch analysis from position: 33
Branch analysis from position: 19
filename:       /in/o6NLu
function name:  (null)
number of ops:  264
compiled vars:  !0 = $tidDato, !1 = $lobenr, !2 = $gade, !3 = $otype, !4 = $nummerplade, !5 = $tid, !6 = $fabrikat, !7 = $nationalitet, !8 = $bemaerkning, !9 = $dato1, !10 = $dato, !11 = $fileToUpload, !12 = $fileToUpload2, !13 = $fileToUpload3, !14 = $fileToUpload4, !15 = $fileToUpload5, !16 = $hentmID, !17 = $mysql, !18 = $hmID, !19 = $lDato, !20 = $lDatoMD5, !21 = $lobenr_g, !22 = $hentGader, !23 = $hGader, !24 = $hentOType
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INCLUDE_OR_EVAL                                          'inc%2Fconfig.inc.php', INCLUDE
    3     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'dmYHis'
          3        DO_ICALL                                         $26     
          4        ASSIGN                                                   !0, $26
    5     5        FETCH_IS                                         ~28     '_FILES'
          6        ISSET_ISEMPTY_DIM_OBJ                         0          ~28, 'fileToUpload'
          7      > JMPZ                                                     ~29, ->19
    9     8    >   INIT_FCALL                                               'move_uploaded_file'
          9        FETCH_R                      global              ~30     '_FILES'
         10        FETCH_DIM_R                                      ~31     ~30, 'fileToUpload'
         11        FETCH_DIM_R                                      ~32     ~31, 'tmp_name'
         12        SEND_VAL                                                 ~32
         13        FETCH_R                      global              ~33     '_FILES'
         14        FETCH_DIM_R                                      ~34     ~33, 'fileToUpload'
         15        FETCH_DIM_R                                      ~35     ~34, 'name'
         16        CONCAT                                           ~36     'uploads%2F', ~35
         17        SEND_VAL                                                 ~36
         18        DO_ICALL                                                 
   11    19    >   FETCH_IS                                         ~38     '_FILES'
         20        ISSET_ISEMPTY_DIM_OBJ                         0          ~38, 'fileToUpload2'
         21      > JMPZ                                                     ~39, ->33
   15    22    >   INIT_FCALL                                               'move_uploaded_file'
         23        FETCH_R                      global              ~40     '_FILES'
         24        FETCH_DIM_R                                      ~41     ~40, 'fileToUpload2'
         25        FETCH_DIM_R                                      ~42     ~41, 'tmp_name'
         26        SEND_VAL                                                 ~42
         27        FETCH_R                      global              ~43     '_FILES'
         28        FETCH_DIM_R                                      ~44     ~43, 'fileToUpload2'
         29        FETCH_DIM_R                                      ~45     ~44, 'name'
         30        CONCAT                                           ~46     'uploads%2F', ~45
         31        SEND_VAL                                                 ~46
         32        DO_ICALL                                                 
   17    33    >   FETCH_IS                                         ~48     '_FILES'
         34        ISSET_ISEMPTY_DIM_OBJ                         0          ~48, 'fileToUpload3'
         35      > JMPZ                                                     ~49, ->47
   21    36    >   INIT_FCALL                                               'move_uploaded_file'
         37        FETCH_R                      global              ~50     '_FILES'
         38        FETCH_DIM_R                                      ~51     ~50, 'fileToUpload3'
         39        FETCH_DIM_R                                      ~52     ~51, 'tmp_name'
         40        SEND_VAL                                                 ~52
         41        FETCH_R                      global              ~53     '_FILES'
         42        FETCH_DIM_R                                      ~54     ~53, 'fileToUpload3'
         43        FETCH_DIM_R                                      ~55     ~54, 'name'
         44        CONCAT                                           ~56     'uploads%2F', ~55
         45        SEND_VAL                                                 ~56
         46        DO_ICALL                                                 
   23    47    >   FETCH_IS                                         ~58     '_FILES'
         48        ISSET_ISEMPTY_DIM_OBJ                         0          ~58, 'fileToUpload4'
         49      > JMPZ                                                     ~59, ->61
   27    50    >   INIT_FCALL                                               'move_uploaded_file'
         51        FETCH_R                      global              ~60     '_FILES'
         52        FETCH_DIM_R                                      ~61     ~60, 'fileToUpload4'
         53        FETCH_DIM_R                                      ~62     ~61, 'tmp_name'
         54        SEND_VAL                                                 ~62
         55        FETCH_R                      global              ~63     '_FILES'
         56        FETCH_DIM_R                                      ~64     ~63, 'fileToUpload4'
         57        FETCH_DIM_R                                      ~65     ~64, 'name'
         58        CONCAT                                           ~66     'uploads%2F', ~65
         59        SEND_VAL                                                 ~66
         60        DO_ICALL                                                 
   29    61    >   FETCH_IS                                         ~68     '_FILES'
         62        ISSET_ISEMPTY_DIM_OBJ                         0          ~68, 'fileToUpload5'
         63      > JMPZ                                                     ~69, ->75
   33    64    >   INIT_FCALL                                               'move_uploaded_file'
         65        FETCH_R                      global              ~70     '_FILES'
         66        FETCH_DIM_R                                      ~71     ~70, 'fileToUpload5'
         67        FETCH_DIM_R                                      ~72     ~71, 'tmp_name'
         68        SEND_VAL                                                 ~72
         69        FETCH_R                      global              ~73     '_FILES'
         70        FETCH_DIM_R                                      ~74     ~73, 'fileToUpload5'
         71        FETCH_DIM_R                                      ~75     ~74, 'name'
         72        CONCAT                                           ~76     'uploads%2F', ~75
         73        SEND_VAL                                                 ~76
         74        DO_ICALL                                                 
   36    75    >   FETCH_IS                                         ~78     '_GET'
         76        ISSET_ISEMPTY_DIM_OBJ                         0          ~78, 'send'
         77      > JMPZ                                                     ~79, ->187
   37    78    >   FETCH_R                      global              ~80     '_POST'
         79        FETCH_DIM_R                                      ~81     ~80, 'lobenr'
         80        ASSIGN                                                   !1, ~81
   38    81        FETCH_R                      global              ~83     '_POST'
         82        FETCH_DIM_R                                      ~84     ~83, 'gade'
         83        ASSIGN                                                   !2, ~84
   39    84        FETCH_R                      global              ~86     '_POST'
         85        FETCH_DIM_R                                      ~87     ~86, 'otype'
         86        ASSIGN                                                   !3, ~87
   40    87        INIT_FCALL                                               'strtoupper'
         88        FETCH_R                      global              ~89     '_POST'
         89        FETCH_DIM_R                                      ~90     ~89, 'nummerplade'
         90        SEND_VAL                                                 ~90
         91        DO_ICALL                                         $91     
         92        ASSIGN                                                   !4, $91
   41    93        FETCH_R                      global              ~93     '_POST'
         94        FETCH_DIM_R                                      ~94     ~93, 'tid'
         95        ASSIGN                                                   !5, ~94
   42    96        FETCH_R                      global              ~96     '_POST'
         97        FETCH_DIM_R                                      ~97     ~96, 'fabrikat'
         98        ASSIGN                                                   !6, ~97
   43    99        FETCH_R                      global              ~99     '_POST'
        100        FETCH_DIM_R                                      ~100    ~99, 'nationalitet'
        101        ASSIGN                                                   !7, ~100
   44   102        FETCH_R                      global              ~102    '_POST'
        103        FETCH_DIM_R                                      ~103    ~102, 'bemaerkning'
        104        ASSIGN                                                   !8, ~103
   45   105        FETCH_R                      global              ~105    '_POST'
        106        FETCH_DIM_R                                      ~106    ~105, 'dato'
        107        ASSIGN                                                   !9, ~106
   46   108        INIT_FCALL                                               'date'
        109        SEND_VAL                                                 'd-m-Y'
        110        INIT_FCALL                                               'strtotime'
        111        SEND_VAR                                                 !9
        112        DO_ICALL                                         $108    
        113        SEND_VAR                                                 $108
        114        DO_ICALL                                         $109    
        115        ASSIGN                                                   !10, $109
   47   116        FETCH_R                      global              ~111    '_FILES'
        117        FETCH_DIM_R                                      ~112    ~111, 'fileToUpload'
        118        FETCH_DIM_R                                      ~113    ~112, 'name'
        119        ASSIGN                                                   !11, ~113
   48   120        FETCH_R                      global              ~115    '_FILES'
        121        FETCH_DIM_R                                      ~116    ~115, 'fileToUpload2'
        122        FETCH_DIM_R                                      ~117    ~116, 'name'
        123        ASSIGN                                                   !12, ~117
   49   124        FETCH_R                      global              ~119    '_FILES'
        125        FETCH_DIM_R                                      ~120    ~119, 'fileToUpload3'
        126        FETCH_DIM_R                                      ~121    ~120, 'name'
        127        ASSIGN                                                   !13, ~121
   50   128        FETCH_R                      global              ~123    '_FILES'
        129        FETCH_DIM_R                                      ~124    ~123, 'fileToUpload4'
        130        FETCH_DIM_R                                      ~125    ~124, 'name'
        131        ASSIGN                                                   !14, ~125
   51   132        FETCH_R                      global              ~127    '_FILES'
        133        FETCH_DIM_R                                      ~128    ~127, 'fileToUpload5'
        134        FETCH_DIM_R                                      ~129    ~128, 'name'
        135        ASSIGN                                                   !15, ~129
   52   136        INIT_FCALL_BY_NAME                                       'mysqli_query'
        137        SEND_VAR_EX                                              !17
        138        FETCH_R                      global              ~131    '_SESSION'
        139        FETCH_DIM_R                                      ~132    ~131, 'brugernavn'
        140        CONCAT                                           ~133    'SELECT+ID+FROM+brugere+WHERE+brugernavn%3D%27', ~132
        141        CONCAT                                           ~134    ~133, '%27'
        142        SEND_VAL_EX                                              ~134
        143        DO_FCALL                                      0  $135    
        144        ASSIGN                                                   !16, $135
   53   145        INIT_FCALL_BY_NAME                                       'mysqli_fetch_array'
        146        SEND_VAR_EX                                              !16
        147        DO_FCALL                                      0  $137    
        148        ASSIGN                                                   !18, $137
   55   149        IS_EQUAL                                                 !1, null
        150      > JMPZ                                                     ~139, ->152
        151    > > JMP                                                      ->187
   58   152    >   INIT_FCALL_BY_NAME                                       'mysqli_query'
        153        SEND_VAR_EX                                              !17
        154        CONCAT                                           ~140    'INSERT+INTO+boder+%28nummerplade%2C+adresse%2C+tid%2C+dato%2C+billede%2C+betalt%2C+ot%2C+mID%2C+lobenr%2C+fabrikat%2C+nationalitet%2C+bemaerkning%2C+billede2%2C+billede3%2C+billede4%2C+billede5%29+VALUES+%28%27', !4
        155        CONCAT                                           ~141    ~140, '%27%2C+%27'
        156        CONCAT                                           ~142    ~141, !2
        157        CONCAT                                           ~143    ~142, '%27%2C+%27'
        158        CONCAT                                           ~144    ~143, !5
        159        CONCAT                                           ~145    ~144, '%27%2C+%27'
        160        CONCAT                                           ~146    ~145, !10
        161        CONCAT                                           ~147    ~146, '%27%2C+%27'
        162        CONCAT                                           ~148    ~147, !11
        163        CONCAT                                           ~149    ~148, '%27%2C+%270%27%2C+%27'
        164        CONCAT                                           ~150    ~149, !3
        165        CONCAT                                           ~151    ~150, '%27%2C+%27'
        166        FETCH_DIM_R                                      ~152    !18, 'ID'
        167        CONCAT                                           ~153    ~151, ~152
        168        CONCAT                                           ~154    ~153, '%27%2C+%27'
        169        CONCAT                                           ~155    ~154, !1
        170        CONCAT                                           ~156    ~155, '%27%2C+%27'
        171        CONCAT                                           ~157    ~156, !6
        172        CONCAT                                           ~158    ~157, '%27%2C+%27'
        173        CONCAT                                           ~159    ~158, !7
        174        CONCAT                                           ~160    ~159, '%27%2C+%27'
        175        CONCAT                                           ~161    ~160, !8
        176        CONCAT                                           ~162    ~161, '%27%2C+%27'
        177        CONCAT                                           ~163    ~162, !12
        178        CONCAT                                           ~164    ~163, '%27%2C+%27'
        179        CONCAT                                           ~165    ~164, !13
        180        CONCAT                                           ~166    ~165, '%27%2C+%27'
        181        CONCAT                                           ~167    ~166, !14
        182        CONCAT                                           ~168    ~167, '%27%2C+%27'
        183        CONCAT                                           ~169    ~168, !15
        184        CONCAT                                           ~170    ~169, '%27%29'
        185        SEND_VAL_EX                                              ~170
        186        DO_FCALL                                      0          
   62   187    >   ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml%3E%0A%3Chead%3E%0A%3Cmeta+charset%3D%22utf-8%22%3E%0A%3Cmeta+name%3D%22viewport%22+content%3D%22width%3Ddevice-width%2C+initial-scale%3D1%2C+maximum-scale%3D1%2C+minimum-scale%3D1%2C+user-scalable%3Dno%2C+minimal-ui%22%3E%0A%3Cmeta+name%3D%22apple-mobile-web-app-capable%22+content%3D%22yes%22%3E%0A%3Cmeta+name%3D%22apple-mobile-web-app-status-bar-style%22+content%3D%22black%22%3E%0A%3Clink+rel%3D%22apple-touch-icon%22+href%3D%22images%2Fapple-touch-icon.png%22+%2F%3E%0A%3Clink+rel%3D%22apple-touch-startup-image%22+media%3D%22%28device-width%3A+320px%29+and+%28device-height%3A+568px%29+and+%28-webkit-device-pixel-ratio%3A+2%29%22+href%3D%22apple-touch-startup-image-640x1096.png%22%3E%0A%3Ctitle%3ENemParkering%3C%2Ftitle%3E%0A%3Clink+rel%3D%22stylesheet%22+href%3D%22css%2Fframework7.css%22%3E%0A%3Clink+rel%3D%22stylesheet%22+href%3D%22style.css%22%3E%0A%3Clink+rel%3D%22stylesheet%22+href%3D%22css%2Fcolors%2Fblue.css%22%3E%0A%3Clink+type%3D%22text%2Fcss%22+rel%3D%22stylesheet%22+href%3D%22css%2Fswipebox.css%22+%2F%3E%0A%3Clink+type%3D%22text%2Fcss%22+rel%3D%22stylesheet%22+href%3D%22css%2Fanimations.css%22+%2F%3E%0A%3Clink+href%3D%27http%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DSource%2BSans%2BPro%3A400%2C300%2C700%2C900%27+rel%3D%27stylesheet%27+type%3D%27text%2Fcss%27%3E%0A%3C%2Fhead%3E%0A%3Cbody+id%3D%22mobile_wrap%22%3E%0A%3Cscript+type%3D%22text%2Fjavascript%22%3E%0A++++++function+fileSelected%28%29+%7B%0A++++++++var+count+%3D+document.getElementById%28%27fileToUpload%27%29.files.length%3B%0A++++++++++++++document.getElementById%28%27details%27%29.innerHTML+%3D+%22%22%3B%0A++++++++++++++for+%28var+index+%3D+0%3B+index+%3C+count%3B+index+%2B%2B%29%0A++++++++++++++%7B%0A+++++++++++++++++++++var+file+%3D+document.getElementById%28%27fileToUpload%27%29.files%5Bindex%5D%3B%0A+++++++++++++++++++++var+fileSize+%3D+0%3B%0A+++++++++++++++++++++if+%28file.size+%3E+1024+%2A+1024%29%0A++++++++++++++++++++++++++++fileSize+%3D+%28Math.round%28file.size+%2A+100+%2F+%281024+%2A+1024%29%29+%2F+100%29.toString%28%29+%2B+%27MB%27%3B%0A+++++++++++++++++++++else%0A++++++++++++++++++++++++++++fileSize+%3D+%28Math.round%28file.size+%2A+100+%2F+1024%29+%2F+100%29.toString%28%29+%2B+%27KB%27%3B%0A+++++++++++++++++++++document.getElementById%28%27details%27%29.innerHTML+%2B%3D+%27Name%3A+%27+%2B+file.name+%2B+%27%3Cbr%3ESize%3A+%27+%2B+fileSize+%2B+%27%3Cbr%3EType%3A+%27+%2B+file.type%3B%0A+++++++++++++++++++++document.getElementById%28%27details%27%29.innerHTML+%2B%3D+%27%3Cp%3E%27%3B%0A++++++++++++++%7D%0A++++++%7D%0A+%0A++++++function+uploadFile%28%29+%7B%0A+%0A++++++++var+fd+%3D+new+FormData%28%29%3B%0A+%0A++++++++++++++var+count+%3D+document.getElementById%28%27fileToUpload%27%29.files.length%3B%0A+%0A++++++++++++++for+%28var+index+%3D+0%3B+index+%3C+count%3B+index+%2B%2B%29%0A+%0A++++++++++++++%7B%0A+++++++++++++++++++++var+file+%3D+document.getElementById%28%27fileToUpload%27%29.files%5Bindex%5D%3B%0A+++++++++++++++++++++fd.append%28%27fileToUpload%27%2C+file%29%3B%0A++++++++++++++%7D%0A++++++++var+xhr+%3D+new+XMLHttpRequest%28%29%3B%0A++++++++xhr.upload.addEventListener%28%22progress%22%2C+uploadProgress%2C+false%29%3B%0A++++++++xhr.addEventListener%28%22load%22%2C+uploadComplete%2C+false%29%3B%0A++++++++xhr.addEventListener%28%22error%22%2C+uploadFailed%2C+false%29%3B%0A++++++++xhr.addEventListener%28%22abort%22%2C+uploadCanceled%2C+false%29%3B%0A++++++++xhr.open%28%22POST%22%2C+%22upload.php%22%29%3B%0A++++++++xhr.send%28fd%29%3B%0A++++++%7D%0A%09++%0A++++++function+uploadProgress%28evt%29+%7B%0A++++++++if+%28evt.lengthComputable%29+%7B%0A++++++++++var+percentComplete+%3D+Math.round%28evt.loaded+%2A+100+%2F+evt.total%29%3B%0A++++++++++document.getElementById%28%27progress%27%29.innerHTML+%3D+percentComplete.toString%28%29+%2B+%27%25%27%3B%0A++++++++%7D%0A++++++++else+%7B%0A++++++++++document.getElementById%28%27progress%27%29.innerHTML+%3D+%27unable+to+compute%27%3B%0A++++++++%7D%0A++++++%7D%0A%09++%0A++++++function+uploadComplete%28evt%29+%7B%0A++++++++%2F%2A+This+event+is+raised+when+the+server+send+back+a+response+%2A%2F%0A++++++++alert%28%22Billede+uploadet%21%22%29%3B%0A++++++%7D%0A%09++%0A++++++function+uploadFailed%28evt%29+%7B%0A++++++++alert%28%22Billedet+kunne+ikke+uploades%21%22%29%3B%0A++++++%7D%0A%09++%0A++++++function+uploadCanceled%28evt%29+%7B%0A++++++++alert%28%22B%C3%B8den+blev+tilf%C3%B8jet%21%22%29%3B%0A++++++%7D%0A%09++%0A%09++function+printt%28%29+%7B%0A%09%09++window.print%28%29%3B%0A%09++%7D%0A++++%3C%2Fscript%3E%0A%3Cdiv+class%3D%22pages%22%3E%0A++%3Cdiv+data-page%3D%22projects%22+class%3D%22page+no-toolbar+no-navbar%22%3E%0A++++%3Cdiv+class%3D%22page-content%22%3E%0A++++%0A+++++%3Cdiv+class%3D%22navbarpages%22+onclick%3D%22location.href%3D%27index.php%27%3B%22%3E%0A+++++++%3Cdiv+class%3D%22nav_left_logo%22%3E%3Ca+href%3D%22index.php%22%3E%3Cimg+src%3D%22images%2Flogo.png%22+alt%3D%22%22+title%3D%22%22+%2F%3E%3C%2Fa%3E%3C%2Fdiv%3E%0A+++++++%3Cdiv+class%3D%22nav_right_button%22%3E%3C%2Fdiv%3E%0A+++++%3C%2Fdiv%3E%0A+++++%3Cdiv+id%3D%22pages_maincontent%22%3E%0A++++++%0A++++++%3Ch2+class%3D%22page_title%22%3ENy+B%C3%B8de%3C%2Fh2%3E%0A%0A++++++%3Cdiv+class%3D%22page_content%22%3E+%0A++++++%0A++++++++++++%3Ch2+id%3D%22Note%22%3E%3C%2Fh2%3E%0A++++++++++++%3Cdiv+class%3D%22contactform%22%3E%0A++++++++++++%3Cform+class%3D%22cmxform%22+id%3D%22ContactForm%22+method%3D%22post%22+action%3D%22%3Fsend%3D1%22+enctype%3D%22multipart%2Fform-data%22%3E%0A'
  163   188        INIT_FCALL                                               'date'
        189        SEND_VAL                                                 'l+jS+%5Cof+F+Y+h%3Ai%3As'
        190        DO_ICALL                                         $172    
        191        ASSIGN                                                   !19, $172
  164   192        INIT_FCALL                                               'md5'
        193        SEND_VAR                                                 !19
        194        DO_ICALL                                         $174    
        195        ASSIGN                                                   !20, $174
  165   196        INIT_FCALL                                               'substr'
        197        SEND_VAR                                                 !20
        198        SEND_VAL                                                 0
        199        SEND_VAL                                                 8
        200        DO_ICALL                                         $176    
        201        ASSIGN                                                   !21, $176
  166   202        INIT_FCALL                                               'strtoupper'
        203        SEND_VAR                                                 !21
        204        DO_ICALL                                         $178    
        205        ASSIGN                                                   !21, $178
  168   206        ECHO                                                     '%09%09%09%3Clabel%3EL%C3%B8be+nr.%3A%3C%2Flabel%3E%0A++++++++++++%3Cinput+type%3D%22text%22+name%3D%22lobenr%22+id%3D%22lobenr%22+value%3D%22'
  169   207        ECHO                                                     !21
        208        ECHO                                                     '%22+class%3D%22form_input%22+readonly+%2F%3E%0A++++++++++++%3Clabel%3EGade%3A%3C%2Flabel%3E%0A%09%09%09%3Cselect+name%3D%22gade%22+id%3D%22gade%22+class%3D%22form_input%22%3E%0A'
  173   209        INIT_FCALL_BY_NAME                                       'mysqli_query'
        210        SEND_VAR_EX                                              !17
        211        SEND_VAL_EX                                              'SELECT+%2A+FROM+gader'
        212        DO_FCALL                                      0  $180    
        213        ASSIGN                                                   !22, $180
  174   214      > JMP                                                      ->225
  176   215    >   ECHO                                                     '%3Coption+name%3D%22'
        216        FETCH_DIM_R                                      ~182    !23, 'gadenavn'
        217        ECHO                                                     ~182
        218        ECHO                                                     '%22+value%3D%22'
        219        FETCH_DIM_R                                      ~183    !23, 'gadenavn'
        220        ECHO                                                     ~183
        221        ECHO                                                     '%22%3E'
        222        FETCH_DIM_R                                      ~184    !23, 'gadenavn'
        223        ECHO                                                     ~184
        224        ECHO                                                     '%3C%2Foption%3E%0A'
  174   225    >   INIT_FCALL_BY_NAME                                       'mysqli_fetch_array'
        226        SEND_VAR_EX                                              !22
        227        DO_FCALL                                      0  $185    
        228        ASSIGN                                           ~186    !23, $185
        229      > JMPNZ                                                    ~186, ->215
  180   230    >   ECHO                                                     '%09%09%09%3C%2Fselect%3E%0A++++++++++++%3Clabel%3EOvertr%C3%A6delses+Type%3A%3C%2Flabel%3E%0A++++++++++++%3Cselect+name%3D%22otype%22+id%3D%22otype%22+class%3D%22form_input%22%3E%0A'
  184   231        INIT_FCALL_BY_NAME                                       'mysqli_query'
        232        SEND_VAR_EX                                              !17
        233        SEND_VAL_EX                                              'SELECT+%2A+FROM+ot'
        234        DO_FCALL                                      0  $187    
        235        ASSIGN                                                   !24, $187
  185   236      > JMP                                                      ->247
  187   237    >   ECHO                                                     '%3Coption+name%3D%22'
        238        FETCH_DIM_R                                      ~189    !23, 'id'
        239        ECHO                                                     ~189
        240        ECHO                                                     '%22+value%3D%22'
        241        FETCH_DIM_R                                      ~190    !23, 'id'
        242        ECHO                                                     ~190
        243        ECHO                                                     '%22%3E'
        244        FETCH_DIM_R                                      ~191    !23, 'ot'
        245        ECHO                                                     ~191
        246        ECHO                                                     '%3C%2Foption%3E%0A'
  185   247    >   INIT_FCALL_BY_NAME                                       'mysqli_fetch_array'
        248        SEND_VAR_EX                                              !24
        249        DO_FCALL                                      0  $192    
        250        ASSIGN                                           ~193    !23, $192
        251      > JMPNZ                                                    ~193, ->237
  191   252    >   ECHO                                                     '%09%09%09%3C%2Fselect%3E%0A%09%09%09%3Clabel%3ENummerplade%3A%3C%2Flabel%3E%0A++++++++++++%3Cinput+type%3D%22text%22+name%3D%22nummerplade%22+id%3D%22nummerplade%22+value%3D%22%22+class%3D%22form_input+required%22+%2F%3E%0A%09%09%09%3Clabel%3EFabrikat%3A%3C%2Flabel%3E%0A++++++++++++%3Cinput+type%3D%22text%22+name%3D%22fabrikat%22+id%3D%22fabrikat%22+value%3D%22%22+class%3D%22form_input+required%22+%2F%3E%0A%09%09%09%3Clabel%3ENationalitet%3A%3C%2Flabel%3E%0A++++++++++++%3Cinput+type%3D%22text%22+name%3D%22nationalitet%22+id%3D%22nationalitet%22+value%3D%22%22+class%3D%22form_input+required%22+%2F%3E%0A%09%09%09%3Clabel%3ETid%3A%3C%2Flabel%3E%0A++++++++++++%3Cinput+type%3D%22time%22+name%3D%22tid%22+id%3D%22tid%22+value%3D%22'
  199   253        INIT_FCALL                                               'date'
        254        SEND_VAL                                                 'H%3Ai'
        255        DO_ICALL                                         $194    
        256        ECHO                                                     $194
        257        ECHO                                                     '%22+readonly+class%3D%22form_input%22+%2F%3E%0A%09%09%09%3Clabel%3EDato%3A%3C%2Flabel%3E%0A++++++++++++%3Cinput+type%3D%22date%22+name%3D%22dato%22+id%3D%22dato%22+value%3D%22'
  201   258        INIT_FCALL                                               'date'
        259        SEND_VAL                                                 'Y-m-d'
        260        DO_ICALL                                         $195    
        261        ECHO                                                     $195
        262        ECHO                                                     '%22+readonly+class%3D%22form_input%22+%2F%3E%0A%09%09%09%3Clabel%3EBem%C3%A6rkning%3A%3C%2Flabel%3E%0A++++++++++++%3Cinput+type%3D%22text%22+name%3D%22bemaerkning%22+id%3D%22bemaerkning%22+value%3D%22%22+class%3D%22form_input+required%22+%2F%3E%0A%09%09%09%3Clabel%3EBill

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.03 ms | 1428 KiB | 25 Q