1 / 4
Computer Service
2 / 4
Networking Service
3 / 4
Web Development Service
4 / 4
Software Development Service
TNW - ICT Solutions
  • Home
  • Available Courses 
  • Available Services 
  • Website Samples 
  • Search Log In
  • <?php
     @$name = $_FILES['file']['name'];
     @$type = $_FILES['file']['type'];
     @$size = $_FILES['file']['size'];
     if(@isset($name) && @!empty($name)){
      echo 'File name is <strong> '.$name.'</strong>, File type is <strong>'.$type.'</strong> nad File size is <strong> '.$size.'</strong>';
     }else{
      echo 'Please select file to upload';
     }
    ?>
    
     <style type = "text/css">
     form{margin-top : 100px; margin-left : 50px;}
     </style>
    
     <form action = "upload.php" method = "POST" enctype = "multipart/form-data">
     <input type = "file" name = "file"></br></br>
     <input type = "submit" value = "Upload">
     </form>