3v4l.org

run code in 300+ PHP versions simultaneously
<?PHP session_start(); include("../inc/csql.php"); include_once("../js/classes/tc_calendar.php"); $sql=mysql_query("select*from pegawai where idpegawai='".$_SESSION['userid']."'"); $bt="Ubah"; while($rc=mysql_fetch_array($sql)){ $hidpegawai=$idpegawai=$rc['idpegawai']; $nip=$rc['nip']; $nm=$rc['nm']; $tplhr=$rc['tplhr']; $tglhr=$rc['tglhr']; $agama=$rc['agama']; $jk=$rc['jk']; $goldar=$rc['goldar']; $alamat=$rc['alamat']; $pendidikanterakhir=$rc['pendidikanterakhir']; $pendidikanterakhirdi=$rc['pendidikanterakhirdi']; $jurusan=$rc['jurusan']; $statuspegawai=$rc['statuspegawai']; $tgmasukdisini=$rc['tgmasukdisini']; $sebagai=$rc['sebagai']; $sqlJ=mysql_query("select*from jabatanpegawai where idpegawai='".$_SESSION['userid']."'"); $dt=mysql_fetch_array($sqlJ); $idjabatan=$dt['idjabatan']; } $bt="Simpan"; if(@$_REQUEST['submit']=="Simpan"){ $upd=mysql_query("update pegawai set idpegawai='".ins(@$_REQUEST['idpegawai'])."', nip='".ins(@$_REQUEST['nip'])."',nm='".ins(@$_REQUEST['nm'])."', tplhr='".ins(@$_REQUEST['tplhr'])."',tglhr='".ins(@$_REQUEST['tglhr'])."', agama='".ins(@$_REQUEST['agama'])."',jk='".ins(@$_REQUEST['jk'])."', goldar='".ins(@$_REQUEST['goldar'])."',alamat='".ins(@$_REQUEST['alamat'])."', pendidikanterakhir='".ins(@$_REQUEST['pendidikanterakhir'])."', pendidikanterakhirdi='".ins(@$_REQUEST['pendidikanterakhirdi'])."', jurusan='".ins(@$_REQUEST['jurusan'])."',statuspegawai='".ins(@$_REQUEST['statuspegawai'])."', tgmasukdisini='".ins(@$_REQUEST['tgmasukdisini'])."', sebagai='".ins(@$_REQUEST['sebagai'])."' where idpegawai='".@$_REQUEST['idpegawai']."'"); if($upd){ if(!empty($_FILES['file']['name'])){ if(file_exists("ph/".@$_REQUEST['idpegawai'])){ unlink("ph/".@$_REQUEST['idpegawai']); } $fileName = $_FILES['file']['name']; $tmpName = $_FILES['file']['tmp_name']; $fileType = $_FILES['file']['type']; if (($fileName=="") || ($fileType == "text/plain") || ($fileType=="application/octet-stream")){ } if (($fileType=="image/jpeg")||($fileType=="image/bmp")|| ($fileType=="image/png")||($fileType=="image/gif")) { $fp = fopen($tmpName, 'r'); $content = fread($fp, filesize($tmpName)); $content = addslashes($content); move_uploaded_file($tmpName,"../adm/ph/".@$_REQUEST['idpegawai'].""); fclose($fp); } } //============= echo("<script>window.alert('Pengubahan selesai !'); window.location='epegawai.php';</script>"); } else { echo("<script>window.alert('Pengubahan Gagal!'); window.history.back();</script>"); } }//End Upd ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" dir="ltr"> <head> <title>.: Pegawai</title> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" href="../css/images/favicon.ico" /> <link rel="stylesheet" href="../css/style.css" type="text/css" media="all" /> <!--[if IE 6]> <link rel="stylesheet" href="css/ie6.css" type="text/css" media="media" /> <script src="js/png-fix.js" type="text/javascript" charset="utf-8"></script> <![endif]--> <script src="../js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script> <script src="../js/jquery.jcarousel.min.js" type="text/javascript" charset="utf-8"></script> <script src="../js/jquery-func.js" type="text/javascript" charset="utf-8"></script> <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script> <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="../js/functions.js"></script> <script language="javascript" src="../js/calendar.js"></script> <script> $(document).ready(function(e) { $("#tambah").click(function(){ $("#finput").toggle("slow"); }); }); </script> <script> function cekdulu(){ if(document.getElementById("idpegawai").value.search(/\w/i)==-1){ alert("ID pegawai harap diisi"); return false; } if(document.getElementById("nip").value.search(/\w/i)==-1){ alert("Nama pegawai harap diisi"); return false; } pilihjenis = document.getElementById("jenispegawai").selectedIndex; if(pilihjenis==0){ alert("Jenis pegawai harap dipilih"); return false; } } </script> </head> <body> <!-- Wrapper --> <div id="wrapper"> <!-- Header --> <div id="top" style="position:fixed; z-index:1000; width:100%; margin:0 auto;"> <!-- Shell --> <div class="shell"> <div class="top-nav"> <?PHP include("../inc/menuatas.php"); ?> </div> <div id="search"> <form action="" method="post"> <input type="text" class="field" value="Quick search..." title="Quick search..." /> </form> </div> <div class="cl">&nbsp;</div> </div> <!-- End Shell --> </div> <!-- End Top --> <!-- Main --> <div id="main"> <!-- Shell --> <div class="shell"> <!-- Header --> <div id="header"> <h1 id="logo"></h1> <?PHP //include("../inc/nav.php");?> <div class="cl">&nbsp;</div> </div> <!-- End Header --> <!-- Slider --> <?PHP //ISI ?> <!--ISI --> <h3 ">Profil Pegawai </h3> <br /> <form name="form" action="epegawai.php" method="post" enctype="multipart/form-data" id="finput" onSubmit="return cekdulu()"> <table width="563" border="0" cellpadding="1" cellspacing="2"> <tr > <td width="240">ID Pegawai</td> <td width="4">:</td> <td width="305"><input name="idpegawai" type="text" id="idpegawai" value="<?php echo @$idpegawai;?>" size="20" readonly="readonly" /></td> <td width="305" rowspan="6"><img src="../adm/ph/<?php echo @$idpegawai;?>" alt="" width="105" height="137" style="padding:5px;"/></td> </tr> <tr > <td>NIP</td> <td>:</td> <td><input name="nip" type="text" id="nip" value="<?php echo @$nip;?>" size="20" /></td> </tr> <tr > <td>Nama Lengkap</td> <td>:</td> <td><input name="nm" type="text" id="nm" value="<?php echo @$nm;?>" size="50" /></td> </tr> <tr > <td>Tempat Lahir</td> <td>:</td> <td><input name="tplhr" type="text" id="tplhr" value="<?php echo @$tplhr;?>" size="50" /></td> </tr> <tr > <td>Tanggal Lahir</td> <td>:</td> <td><?php $year = substr(@$tglhr,0,4); $month = substr(@$tglhr,5,2); $day = substr(@$tglhr,8,2); $myCalendar = new tc_calendar("tglhr", true, false); $myCalendar->setIcon("../images/iconCalendar.gif"); if($year!='0000'){ $myCalendar->setDate($day, $month, $year); } $myCalendar->setPath("../js/"); $myCalendar->setYearInterval(1920, 2020); //$myCalendar->dateAllow('2008-05-13', '2012-03-01'); $myCalendar->setDateFormat('j F Y'); //$myCalendar->setHeight(350); //$myCalendar->autoSubmit(true, "form1"); $myCalendar->writeScript(); ?></td> </tr> <tr > <td>Agama</td> <td>:</td> <td><select name="agama" id="agama"> <option value="">-Pilih Salah Satu-</option> <?PHP $getagama=getAgama(); for($i=0;$i<count($getagama);$i++) { ?> <option value="<?PHP echo $getagama[$i]; ?>" <?PHP if($getagama[$i]==@$agama){ echo" selected='selected'";}?> > <?PHP echo $getagama[$i]." </option>";} ?></option> </select></td> </tr> <tr > <td>Jenis Kelamin</td> <td>:</td> <td><select name="jk" id="jk"> <option value="">-Pilih Salah Satu-</option> <?PHP $getjk=getJK(); for($i=0;$i<count($getjk);$i++) { ?> <option value="<?PHP echo $getjk[$i]; ?>" <?PHP if($getjk[$i]==@$jk){ echo" selected='selected'";}?> > <?PHP echo $getjk[$i]." </option>";} ?></option> </select></td> <td>&nbsp;</td> </tr> <tr > <td>Golongan Darah</td> <td>:</td> <td><select name="goldar" id="goldar"> <option value="">-Pilih Salah Satu-</option> <?PHP $getgoldar=getGolDar(); for($i=0;$i<count($getgoldar);$i++) { ?> <option value="<?PHP echo $getgoldar[$i]; ?>" <?PHP if($getgoldar[$i]==@$goldar){ echo" selected='selected'";}?> > <?PHP echo $getgoldar[$i]." </option>";} ?></option> </select></td> <td>&nbsp;</td> </tr> <tr valign="top" > <td>Alamat</td> <td>:</td> <td> <textarea name="alamat" id="alamat" cols="50" rows="4"><?php echo @$alamat;?></textarea></td> <td>&nbsp;</td> </tr> <tr > <td>Pendidikan Terakhir</td> <td>:</td> <td><select name="pendidikanterakhir" id="pendidikanterakhir"> <option value="">-Pilih Salah Satu-</option> <?PHP $getpendidikanterakhir=getPendidikanTerakhir(); for($i=0;$i<count($getpendidikanterakhir);$i++) { ?> <option value="<?PHP echo $getpendidikanterakhir[$i]; ?>" <?PHP if($getpendidikanterakhir[$i]==@$pendidikanterakhir){ echo" selected='selected'";}?> > <?PHP echo $getpendidikanterakhir[$i]." </option>";} ?></option> </select></td> <td>&nbsp;</td> </tr> <tr > <td>Nama Sekolah/Universitas</td> <td>:</td> <td><input name="pendidikanterakhirdi" type="text" id="pendidikanterakhirdi" value="<?php echo @$pendidikanterakhirdi;?>" size="50" /></td> <td>&nbsp;</td> </tr> <tr > <td>Jurusan</td> <td>:</td> <td><input name="jurusan" type="text" id="jurusan" value="<?php echo @$jurusan;?>" size="50" /></td> <td>&nbsp;</td> </tr> <tr > <td>Status Pegawai</td> <td>:</td> <td><select name="statuspegawai" id="statuspegawai"> <option value="">-Pilih Salah Satu-</option> <?PHP $getstatuspegawai=getStatusPegawai(); for($i=0;$i<count($getstatuspegawai);$i++) { ?> <option value="<?PHP echo $getstatuspegawai[$i]; ?>" <?PHP if($getstatuspegawai[$i]==@$statuspegawai){ echo" selected='selected'";}?> > <?PHP echo $getstatuspegawai[$i]." </option>";} ?></option> </select></td> <td>&nbsp;</td> </tr> <tr > <td>Tanggal Masuk di sini</td> <td>:</td> <td><?php $year = substr(@$tgmasukdisini,0,4); $month = substr(@$tgmasukdisini,5,2); $day = substr(@$tgmasukdisini,8,2); $myCalendar = new tc_calendar("tgmasukdisini", true, false); $myCalendar->setIcon("../images/iconCalendar.gif"); if($year!='0000'){ $myCalendar->setDate($day, $month, $year); } $myCalendar->setPath("../js/"); $myCalendar->setYearInterval(1950, 2020); //$myCalendar->dateAllow('2008-05-13', '2012-03-01'); $myCalendar->setDateFormat('j F Y'); //$myCalendar->setHeight(350); //$myCalendar->autoSubmit(true, "form1"); $myCalendar->writeScript(); ?></td> <td>&nbsp;</td> </tr> <tr > <td>Sebagai</td> <td>:</td> <td><select name="sebagai" id="sebagai"> <option value="">-Pilih Salah Satu-</option> <?PHP $getsebagai=getSebagai(); for($i=0;$i<count($getsebagai);$i++) { ?> <option value="<?PHP echo $getsebagai[$i]; ?>" <?PHP if($getsebagai[$i]==@$sebagai){ echo" selected='selected'";}?> > <?PHP echo $getsebagai[$i]." </option>";} ?></option> </select></td> <td>&nbsp;</td> </tr> <tr> <td>Foto</td> <td>&nbsp;</td> <td><input name="file" type="file" id="file" size="31" /></td> <td>&nbsp;</td> </tr> <tr> <td colspan="4"><div align="center"><strong> <input type="submit" name="submit" id="submit" value="<?php echo $bt;?>" onclick="return isnull();"/> <input type="reset" name="batal" id="batal" value="Batal" /> </strong></div></td> </tr> </table> <p>&nbsp;</p> </form> <!-- END ISI --> <!-- Case --> <div class="case"><!-- Row --> <div class="row"> <?PHP //include("../inc/foto.php");?> <!-- End Row --> </div> <!-- End Case --> <!-- Case --> <?PHP //include("../inc/best.php"); ?> <!-- End Case --> </div> <!-- End Content --> </div> <!-- End Shell --> </div> <!-- End Main <div id="footer-push" class="cl">&nbsp;</div> --> </div> <!-- End Wrapper --> <!-- Footer --> <?PHP //include("../inc/footer.php"); ?> <!-- End Footer --> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 59
Branch analysis from position: 59
2 jumps found. (Code = 44) Position 1 = 64, Position 2 = 14
Branch analysis from position: 64
2 jumps found. (Code = 43) Position 1 = 71, Position 2 = 303
Branch analysis from position: 71
2 jumps found. (Code = 43) Position 1 = 217, Position 2 = 302
Branch analysis from position: 217
2 jumps found. (Code = 43) Position 1 = 222, Position 2 = 300
Branch analysis from position: 222
2 jumps found. (Code = 43) Position 1 = 231, Position 2 = 239
Branch analysis from position: 231
2 jumps found. (Code = 47) Position 1 = 253, Position 2 = 255
Branch analysis from position: 253
2 jumps found. (Code = 47) Position 1 = 256, Position 2 = 258
Branch analysis from position: 256
2 jumps found. (Code = 43) Position 1 = 259, Position 2 = 259
Branch analysis from position: 259
2 jumps found. (Code = 47) Position 1 = 261, Position 2 = 263
Branch analysis from position: 261
2 jumps found. (Code = 47) Position 1 = 264, Position 2 = 266
Branch analysis from position: 264
2 jumps found. (Code = 47) Position 1 = 267, Position 2 = 269
Branch analysis from position: 267
2 jumps found. (Code = 43) Position 1 = 270, Position 2 = 300
Branch analysis from position: 270
1 jumps found. (Code = 42) Position 1 = 303
Branch analysis from position: 303
2 jumps found. (Code = 43) Position 1 = 371, Position 2 = 376
Branch analysis from position: 371
1 jumps found. (Code = 42) Position 1 = 410
Branch analysis from position: 410
2 jumps found. (Code = 44) Position 1 = 413, Position 2 = 394
Branch analysis from position: 413
1 jumps found. (Code = 42) Position 1 = 435
Branch analysis from position: 435
2 jumps found. (Code = 44) Position 1 = 438, Position 2 = 419
Branch analysis from position: 438
1 jumps found. (Code = 42) Position 1 = 460
Branch analysis from position: 460
2 jumps found. (Code = 44) Position 1 = 463, Position 2 = 444
Branch analysis from position: 463
1 jumps found. (Code = 42) Position 1 = 490
Branch analysis from position: 490
2 jumps found. (Code = 44) Position 1 = 493, Position 2 = 474
Branch analysis from position: 493
1 jumps found. (Code = 42) Position 1 = 525
Branch analysis from position: 525
2 jumps found. (Code = 44) Position 1 = 528, Position 2 = 509
Branch analysis from position: 528
2 jumps found. (Code = 43) Position 1 = 567, Position 2 = 572
Branch analysis from position: 567
1 jumps found. (Code = 42) Position 1 = 606
Branch analysis from position: 606
2 jumps found. (Code = 44) Position 1 = 609, Position 2 = 590
Branch analysis from position: 609
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 590
2 jumps found. (Code = 43) Position 1 = 600, Position 2 = 601
Branch analysis from position: 600
2 jumps found. (Code = 44) Position 1 = 609, Position 2 = 590
Branch analysis from position: 609
Branch analysis from position: 590
Branch analysis from position: 601
Branch analysis from position: 572
Branch analysis from position: 509
2 jumps found. (Code = 43) Position 1 = 519, Position 2 = 520
Branch analysis from position: 519
2 jumps found. (Code = 44) Position 1 = 528, Position 2 = 509
Branch analysis from position: 528
Branch analysis from position: 509
Branch analysis from position: 520
Branch analysis from position: 474
2 jumps found. (Code = 43) Position 1 = 484, Position 2 = 485
Branch analysis from position: 484
2 jumps found. (Code = 44) Position 1 = 493, Position 2 = 474
Branch analysis from position: 493
Branch analysis from position: 474
Branch analysis from position: 485
Branch analysis from position: 444
2 jumps found. (Code = 43) Position 1 = 454, Position 2 = 455
Branch analysis from position: 454
2 jumps found. (Code = 44) Position 1 = 463, Position 2 = 444
Branch analysis from position: 463
Branch analysis from position: 444
Branch analysis from position: 455
Branch analysis from position: 419
2 jumps found. (Code = 43) Position 1 = 429, Position 2 = 430
Branch analysis from position: 429
2 jumps found. (Code = 44) Position 1 = 438, Position 2 = 419
Branch analysis from position: 438
Branch analysis from position: 419
Branch analysis from position: 430
Branch analysis from position: 394
2 jumps found. (Code = 43) Position 1 = 404, Position 2 = 405
Branch analysis from position: 404
2 jumps found. (Code = 44) Position 1 = 413, Position 2 = 394
Branch analysis from position: 413
Branch analysis from position: 394
Branch analysis from position: 405
Branch analysis from position: 376
Branch analysis from position: 300
Branch analysis from position: 269
Branch analysis from position: 266
Branch analysis from position: 263
Branch analysis from position: 259
Branch analysis from position: 258
Branch analysis from position: 255
Branch analysis from position: 239
Branch analysis from position: 300
Branch analysis from position: 302
2 jumps found. (Code = 43) Position 1 = 371, Position 2 = 376
Branch analysis from position: 371
Branch analysis from position: 376
Branch analysis from position: 303
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 64, Position 2 = 14
Branch analysis from position: 64
Branch analysis from position: 14
filename:       /in/pt7KC
function name:  (null)
number of ops:  616
compiled vars:  !0 = $sql, !1 = $bt, !2 = $hidpegawai, !3 = $idpegawai, !4 = $rc, !5 = $nip, !6 = $nm, !7 = $tplhr, !8 = $tglhr, !9 = $agama, !10 = $jk, !11 = $goldar, !12 = $alamat, !13 = $pendidikanterakhir, !14 = $pendidikanterakhirdi, !15 = $jurusan, !16 = $statuspegawai, !17 = $tgmasukdisini, !18 = $sebagai, !19 = $sqlJ, !20 = $dt, !21 = $idjabatan, !22 = $upd, !23 = $fileName, !24 = $tmpName, !25 = $fileType, !26 = $fp, !27 = $content, !28 = $year, !29 = $month, !30 = $day, !31 = $myCalendar, !32 = $getagama, !33 = $i, !34 = $getjk, !35 = $getgoldar, !36 = $getpendidikanterakhir, !37 = $getstatuspegawai, !38 = $getsebagai
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'session_start'
          1        DO_ICALL                                                 
    3     2        INCLUDE_OR_EVAL                                          '..%2Finc%2Fcsql.php', INCLUDE
    4     3        INCLUDE_OR_EVAL                                          '..%2Fjs%2Fclasses%2Ftc_calendar.php', INCLUDE_ONCE
    6     4        INIT_FCALL_BY_NAME                                       'mysql_query'
          5        FETCH_R                      global              ~42     '_SESSION'
          6        FETCH_DIM_R                                      ~43     ~42, 'userid'
          7        CONCAT                                           ~44     'select%2Afrom+pegawai+where+idpegawai%3D%27', ~43
          8        CONCAT                                           ~45     ~44, '%27'
          9        SEND_VAL_EX                                              ~45
         10        DO_FCALL                                      0  $46     
         11        ASSIGN                                                   !0, $46
    7    12        ASSIGN                                                   !1, 'Ubah'
    8    13      > JMP                                                      ->59
    9    14    >   FETCH_DIM_R                                      ~49     !4, 'idpegawai'
         15        ASSIGN                                           ~50     !3, ~49
         16        ASSIGN                                                   !2, ~50
   10    17        FETCH_DIM_R                                      ~52     !4, 'nip'
         18        ASSIGN                                                   !5, ~52
   11    19        FETCH_DIM_R                                      ~54     !4, 'nm'
         20        ASSIGN                                                   !6, ~54
   12    21        FETCH_DIM_R                                      ~56     !4, 'tplhr'
         22        ASSIGN                                                   !7, ~56
   13    23        FETCH_DIM_R                                      ~58     !4, 'tglhr'
         24        ASSIGN                                                   !8, ~58
   14    25        FETCH_DIM_R                                      ~60     !4, 'agama'
         26        ASSIGN                                                   !9, ~60
   15    27        FETCH_DIM_R                                      ~62     !4, 'jk'
         28        ASSIGN                                                   !10, ~62
   16    29        FETCH_DIM_R                                      ~64     !4, 'goldar'
         30        ASSIGN                                                   !11, ~64
   17    31        FETCH_DIM_R                                      ~66     !4, 'alamat'
         32        ASSIGN                                                   !12, ~66
   18    33        FETCH_DIM_R                                      ~68     !4, 'pendidikanterakhir'
         34        ASSIGN                                                   !13, ~68
   19    35        FETCH_DIM_R                                      ~70     !4, 'pendidikanterakhirdi'
         36        ASSIGN                                                   !14, ~70
   20    37        FETCH_DIM_R                                      ~72     !4, 'jurusan'
         38        ASSIGN                                                   !15, ~72
   21    39        FETCH_DIM_R                                      ~74     !4, 'statuspegawai'
         40        ASSIGN                                                   !16, ~74
   22    41        FETCH_DIM_R                                      ~76     !4, 'tgmasukdisini'
         42        ASSIGN                                                   !17, ~76
   23    43        FETCH_DIM_R                                      ~78     !4, 'sebagai'
         44        ASSIGN                                                   !18, ~78
   24    45        INIT_FCALL_BY_NAME                                       'mysql_query'
         46        FETCH_R                      global              ~80     '_SESSION'
         47        FETCH_DIM_R                                      ~81     ~80, 'userid'
         48        CONCAT                                           ~82     'select%2Afrom+jabatanpegawai+where+idpegawai%3D%27', ~81
         49        CONCAT                                           ~83     ~82, '%27'
         50        SEND_VAL_EX                                              ~83
         51        DO_FCALL                                      0  $84     
         52        ASSIGN                                                   !19, $84
   25    53        INIT_FCALL_BY_NAME                                       'mysql_fetch_array'
         54        SEND_VAR_EX                                              !19
         55        DO_FCALL                                      0  $86     
         56        ASSIGN                                                   !20, $86
   26    57        FETCH_DIM_R                                      ~88     !20, 'idjabatan'
         58        ASSIGN                                                   !21, ~88
    8    59    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_array'
         60        SEND_VAR_EX                                              !0
         61        DO_FCALL                                      0  $90     
         62        ASSIGN                                           ~91     !4, $90
         63      > JMPNZ                                                    ~91, ->14
   30    64    >   ASSIGN                                                   !1, 'Simpan'
   33    65        BEGIN_SILENCE                                    ~93     
         66        FETCH_R                      global              ~94     '_REQUEST'
         67        FETCH_DIM_R                                      ~95     ~94, 'submit'
         68        END_SILENCE                                              ~93
         69        IS_EQUAL                                                 ~95, 'Simpan'
         70      > JMPZ                                                     ~96, ->303
   35    71    >   INIT_FCALL_BY_NAME                                       'mysql_query'
         72        INIT_FCALL_BY_NAME                                       'ins'
         73        BEGIN_SILENCE                                    ~97     
         74        FETCH_R                      global              ~98     '_REQUEST'
         75        FETCH_DIM_R                                      ~99     ~98, 'idpegawai'
         76        END_SILENCE                                              ~97
         77        SEND_VAL_EX                                              ~99
         78        DO_FCALL                                      0  $100    
         79        CONCAT                                           ~101    'update++pegawai+set+idpegawai%3D%27', $100
         80        CONCAT                                           ~102    ~101, '%27%2C%0A%09nip%3D%27'
   36    81        INIT_FCALL_BY_NAME                                       'ins'
         82        BEGIN_SILENCE                                    ~103    
         83        FETCH_R                      global              ~104    '_REQUEST'
         84        FETCH_DIM_R                                      ~105    ~104, 'nip'
         85        END_SILENCE                                              ~103
         86        SEND_VAL_EX                                              ~105
         87        DO_FCALL                                      0  $106    
         88        CONCAT                                           ~107    ~102, $106
         89        CONCAT                                           ~108    ~107, '%27%2Cnm%3D%27'
         90        INIT_FCALL_BY_NAME                                       'ins'
         91        BEGIN_SILENCE                                    ~109    
         92        FETCH_R                      global              ~110    '_REQUEST'
         93        FETCH_DIM_R                                      ~111    ~110, 'nm'
         94        END_SILENCE                                              ~109
         95        SEND_VAL_EX                                              ~111
         96        DO_FCALL                                      0  $112    
         97        CONCAT                                           ~113    ~108, $112
         98        CONCAT                                           ~114    ~113, '%27%2C%0A%09tplhr%3D%27'
   37    99        INIT_FCALL_BY_NAME                                       'ins'
        100        BEGIN_SILENCE                                    ~115    
        101        FETCH_R                      global              ~116    '_REQUEST'
        102        FETCH_DIM_R                                      ~117    ~116, 'tplhr'
        103        END_SILENCE                                              ~115
        104        SEND_VAL_EX                                              ~117
        105        DO_FCALL                                      0  $118    
        106        CONCAT                                           ~119    ~114, $118
        107        CONCAT                                           ~120    ~119, '%27%2Ctglhr%3D%27'
        108        INIT_FCALL_BY_NAME                                       'ins'
        109        BEGIN_SILENCE                                    ~121    
        110        FETCH_R                      global              ~122    '_REQUEST'
        111        FETCH_DIM_R                                      ~123    ~122, 'tglhr'
        112        END_SILENCE                                              ~121
        113        SEND_VAL_EX                                              ~123
        114        DO_FCALL                                      0  $124    
        115        CONCAT                                           ~125    ~120, $124
        116        CONCAT                                           ~126    ~125, '%27%2C%0A%09agama%3D%27'
   38   117        INIT_FCALL_BY_NAME                                       'ins'
        118        BEGIN_SILENCE                                    ~127    
        119        FETCH_R                      global              ~128    '_REQUEST'
        120        FETCH_DIM_R                                      ~129    ~128, 'agama'
        121        END_SILENCE                                              ~127
        122        SEND_VAL_EX                                              ~129
        123        DO_FCALL                                      0  $130    
        124        CONCAT                                           ~131    ~126, $130
        125        CONCAT                                           ~132    ~131, '%27%2Cjk%3D%27'
        126        INIT_FCALL_BY_NAME                                       'ins'
        127        BEGIN_SILENCE                                    ~133    
        128        FETCH_R                      global              ~134    '_REQUEST'
        129        FETCH_DIM_R                                      ~135    ~134, 'jk'
        130        END_SILENCE                                              ~133
        131        SEND_VAL_EX                                              ~135
        132        DO_FCALL                                      0  $136    
        133        CONCAT                                           ~137    ~132, $136
        134        CONCAT                                           ~138    ~137, '%27%2C%0A%09goldar%3D%27'
   39   135        INIT_FCALL_BY_NAME                                       'ins'
        136        BEGIN_SILENCE                                    ~139    
        137        FETCH_R                      global              ~140    '_REQUEST'
        138        FETCH_DIM_R                                      ~141    ~140, 'goldar'
        139        END_SILENCE                                              ~139
        140        SEND_VAL_EX                                              ~141
        141        DO_FCALL                                      0  $142    
        142        CONCAT                                           ~143    ~138, $142
        143        CONCAT                                           ~144    ~143, '%27%2Calamat%3D%27'
        144        INIT_FCALL_BY_NAME                                       'ins'
        145        BEGIN_SILENCE                                    ~145    
        146        FETCH_R                      global              ~146    '_REQUEST'
        147        FETCH_DIM_R                                      ~147    ~146, 'alamat'
        148        END_SILENCE                                              ~145
        149        SEND_VAL_EX                                              ~147
        150        DO_FCALL                                      0  $148    
        151        CONCAT                                           ~149    ~144, $148
        152        CONCAT                                           ~150    ~149, '%27%2C%0A%09pendidikanterakhir%3D%27'
   40   153        INIT_FCALL_BY_NAME                                       'ins'
        154        BEGIN_SILENCE                                    ~151    
        155        FETCH_R                      global              ~152    '_REQUEST'
        156        FETCH_DIM_R                                      ~153    ~152, 'pendidikanterakhir'
        157        END_SILENCE                                              ~151
        158        SEND_VAL_EX                                              ~153
        159        DO_FCALL                                      0  $154    
        160        CONCAT                                           ~155    ~150, $154
        161        CONCAT                                           ~156    ~155, '%27%2C%0A%09pendidikanterakhirdi%3D%27'
   41   162        INIT_FCALL_BY_NAME                                       'ins'
        163        BEGIN_SILENCE                                    ~157    
        164        FETCH_R                      global              ~158    '_REQUEST'
        165        FETCH_DIM_R                                      ~159    ~158, 'pendidikanterakhirdi'
        166        END_SILENCE                                              ~157
        167        SEND_VAL_EX                                              ~159
        168        DO_FCALL                                      0  $160    
        169        CONCAT                                           ~161    ~156, $160
        170        CONCAT                                           ~162    ~161, '%27%2C%0A%09jurusan%3D%27'
   42   171        INIT_FCALL_BY_NAME                                       'ins'
        172        BEGIN_SILENCE                                    ~163    
        173        FETCH_R                      global              ~164    '_REQUEST'
        174        FETCH_DIM_R                                      ~165    ~164, 'jurusan'
        175        END_SILENCE                                              ~163
        176        SEND_VAL_EX                                              ~165
        177        DO_FCALL                                      0  $166    
        178        CONCAT                                           ~167    ~162, $166
        179        CONCAT                                           ~168    ~167, '%27%2Cstatuspegawai%3D%27'
        180        INIT_FCALL_BY_NAME                                       'ins'
        181        BEGIN_SILENCE                                    ~169    
        182        FETCH_R                      global              ~170    '_REQUEST'
        183        FETCH_DIM_R                                      ~171    ~170, 'statuspegawai'
        184        END_SILENCE                                              ~169
        185        SEND_VAL_EX                                              ~171
        186        DO_FCALL                                      0  $172    
        187        CONCAT                                           ~173    ~168, $172
        188        CONCAT                                           ~174    ~173, '%27%2C%0A%09tgmasukdisini%3D%27'
   43   189        INIT_FCALL_BY_NAME                                       'ins'
        190        BEGIN_SILENCE                                    ~175    
        191        FETCH_R                      global              ~176    '_REQUEST'
        192        FETCH_DIM_R                                      ~177    ~176, 'tgmasukdisini'
        193        END_SILENCE                                              ~175
        194        SEND_VAL_EX                                              ~177
        195        DO_FCALL                                      0  $178    
        196        CONCAT                                           ~179    ~174, $178
        197        CONCAT                                           ~180    ~179, '%27%2C+sebagai%3D%27'
        198        INIT_FCALL_BY_NAME                                       'ins'
        199        BEGIN_SILENCE                                    ~181    
        200        FETCH_R                      global              ~182    '_REQUEST'
        201        FETCH_DIM_R                                      ~183    ~182, 'sebagai'
        202        END_SILENCE                                              ~181
        203        SEND_VAL_EX                                              ~183
        204        DO_FCALL                                      0  $184    
        205        CONCAT                                           ~185    ~180, $184
        206        CONCAT                                           ~186    ~185, '%27+%0A%09+where+idpegawai%3D%27'
   44   207        BEGIN_SILENCE                                    ~187    
        208        FETCH_R                      global              ~188    '_REQUEST'
        209        FETCH_DIM_R                                      ~189    ~188, 'idpegawai'
        210        END_SILENCE                                              ~187
        211        CONCAT                                           ~190    ~186, ~189
        212        CONCAT                                           ~191    ~190, '%27'
        213        SEND_VAL_EX                                              ~191
        214        DO_FCALL                                      0  $192    
   35   215        ASSIGN                                                   !22, $192
   46   216      > JMPZ                                                     !22, ->302
   48   217    >   FETCH_IS                                         ~194    '_FILES'
        218        FETCH_DIM_IS                                     ~195    ~194, 'file'
        219        ISSET_ISEMPTY_DIM_OBJ                         1  ~196    ~195, 'name'
        220        BOOL_NOT                                         ~197    ~196
        221      > JMPZ                                                     ~197, ->300
   49   222    >   INIT_FCALL                                               'file_exists'
        223        BEGIN_SILENCE                                    ~198    
        224        FETCH_R                      global              ~199    '_REQUEST'
        225        FETCH_DIM_R                                      ~200    ~199, 'idpegawai'
        226        END_SILENCE                                              ~198
        227        CONCAT                                           ~201    'ph%2F', ~200
        228        SEND_VAL                                                 ~201
        229        DO_ICALL                                         $202    
        230      > JMPZ                                                     $202, ->239
   50   231    >   INIT_FCALL                                               'unlink'
        232        BEGIN_SILENCE                                    ~203    
        233        FETCH_R                      global              ~204    '_REQUEST'
        234        FETCH_DIM_R                                      ~205    ~204, 'idpegawai'
        235        END_SILENCE                                              ~203
        236        CONCAT                                           ~206    'ph%2F', ~205
        237        SEND_VAL                                                 ~206
        238        DO_ICALL                                                 
   52   239    >   FETCH_R                      global              ~208    '_FILES'
        240        FETCH_DIM_R                                      ~209    ~208, 'file'
        241        FETCH_DIM_R                                      ~210    ~209, 'name'
        242        ASSIGN                                                   !23, ~210
   53   243        FETCH_R                      global              ~212    '_FILES'
        244        FETCH_DIM_R                                      ~213    ~212, 'file'
        245        FETCH_DIM_R                                      ~214    ~213, 'tmp_name'
        246        ASSIGN                                                   !24, ~214
   54   247        FETCH_R                      global              ~216    '_FILES'
        248        FETCH_DIM_R                                      ~217    ~216, 'file'
        249        FETCH_DIM_R                                      ~218    ~217, 'type'
        250        ASSIGN                                                   !25, ~218
   56   251        IS_EQUAL                                         ~220    !23, ''
        252      > JMPNZ_EX                                         ~220    ~220, ->255
        253    >   IS_EQUAL                                         ~221    !25, 'text%2Fplain'
        254        BOOL                                             ~220    ~221
        255    > > JMPNZ_EX                                         ~220    ~220, ->258
   57   256    >   IS_EQUAL                                         ~222    !25, 'application%2Foctet-stream'
        257        BOOL                                             ~220    ~222
        258    > > JMPZ                                                     ~220, ->259
   59   259    >   IS_EQUAL                                         ~223    !25, 'image%2Fjpeg'
        260      > JMPNZ_EX                                         ~223    ~223, ->263
        261    >   IS_EQUAL                                         ~224    !25, 'image%2Fbmp'
        262        BOOL                                             ~223    ~224
        263    > > JMPNZ_EX                                         ~223    ~223, ->266
   60   264    >   IS_EQUAL                                         ~225    !25, 'image%2Fpng'
        265        BOOL                                             ~223    ~225
        266    > > JMPNZ_EX                                         ~223    ~223, ->269
        267    >   IS_EQUAL                                         ~226    !25, 'image%2Fgif'
        268        BOOL                                             ~223    ~226
        269    > > JMPZ                                                     ~223, ->300
   62   270    >   INIT_FCALL                                               'fopen'
        271        SEND_VAR                                                 !24
        272        SEND_VAL                                                 'r'
        273        DO_ICALL                                         $227    
        274        ASSIGN                                                   !26, $227
   63   275        INIT_FCALL                                               'fread'
        276        SEND_VAR                                                 !26
        277        INIT_FCALL                                               'filesize'
        278        SEND_VAR                                                 !24
        279        DO_ICALL                                         $229    
        280        SEND_VAR                                                 $229
        281        DO_ICALL                                         $230    
        282        ASSIGN                                                   !27, $230
   64   283        INIT_FCALL                                               'addslashes'
        284        SEND_VAR                                                 !27
        285        DO_ICALL                                         $232    
        286        ASSIGN                                                   !27, $232
   66   287        INIT_FCALL                                               'move_uploaded_file'
        288        SEND_VAR                                                 !24
        289        BEGIN_SILENCE                                    ~234    
        290        FETCH_R                      global              ~235    '_REQUEST'
        291        FETCH_DIM_R                                      ~236    ~235, 'idpegawai'
        292        END_SILENCE                                              ~234
        293        CONCAT                                           ~237    '..%2Fadm%2Fph%2F', ~236
        294        CONCAT                                           ~238    ~237, ''
        295        SEND_VAL                                                 ~238
        296        DO_ICALL                                                 
   67   297        INIT_FCALL                                               'fclose'
        298        SEND_VAR                                                 !26
        299        DO_ICALL                                                 
   75   300    >   ECHO                                                     '%3Cscript%3Ewindow.alert%28%27Pengubahan+selesai+%21%27%29%3B%0A%09%09window.location%3D%27epegawai.php%27%3B%3C%2Fscript%3E'
        301      > JMP                                                      ->303
   78   302    >   ECHO                                                     '%3Cscript%3Ewindow.alert%28%27Pengubahan+Gagal%21%27%29%3B%0A%09%09window.history.back%28%29%3B%3C%2Fscript%3E'
   84   303    >   ECHO                                                     '%3C%21DOCTYPE+html+PUBLIC+%22-%2F%2FW3C%2F%2FDTD+XHTML+1.0+Transitional%2F%2FEN%22+%22http%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-transitional.dtd%22%3E%0A%3Chtml+lang%

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
287.11 ms | 1428 KiB | 32 Q