Comment 21 for bug 84880

Revision history for this message
In , Remkodekeijzer (remkodekeijzer) wrote :

Just created a test php script:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Naamloos document</title>
</head>

<body>
<?php if(!isset($_FILES['bestand']))
{ ?>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data" name="rdk" id="rdk">
  <p>
      <input type="file" name="bestand" id="bestand">
        </p>
          <p>
              <input type="submit" name="Verzenden" id="Verzenden" value="Verzenden">
                  <input type="reset" name="Wissen" id="Wissen" value="Herstellen">
                    </p>
                    </form>
                    <?php }
                    else
                    { echo $_FILES['bestand']['type']; }
                    ?>
                    </body>
                    </html>

This was the result of uploading a pdf file:
application/pdf