I am trying to check the type of a mime file before uploading it to the database. However, I am not getting any results from my program. Can someone help me with this? Thanks in advance:)
Form handle code (handleUpload.php)
<?php if (isset($_POST['submit'])) { $Upload = new Upload(); if (function_exists("check_doc_mime")) {
Functions and database manipulation code (upload.php)
<?php
source share