Re: proc_reg.php - SOLVED

From abnormal, 2 Years ago, written in PHP, viewed 310 times. This paste will cross the great divide in 1 Second. This paste is a reply to proc_reg.php from abnormal - view diff
URL https://code.nat.moe/view/06c985d9 Embed
Download Paste or View Raw
  1. <?php
  2.  
  3.     // ......
  4.  
  5.     if ($getExt == "pdf" && $fileType == "application/pdf"){
  6.         if (move_uploaded_file($_FILES['userfile']['tmp_name'], $pathFile))
  7.         {
  8.             $statusFile = "";
  9.         }
  10.         else
  11.         {
  12.             $statusFile = "forbidden";
  13.         }
  14.     }
  15.  
  16.     // ......
  17.  
  18.  
  19.     // Diubah menjadi :
  20.  
  21.     if ($getExt == "pdf" && $fileType == "application/pdf"){
  22.         if (move_uploaded_file($_FILES['ijazah']['tmp_name'], $pathFile))
  23.         {
  24.             $statusFile = "";
  25.         }
  26.     } else {
  27.         $statusFile = "forbidden";
  28.     }

Reply to "Re: proc_reg.php - SOLVED"

Here you can reply to the paste above

captcha