Posting uploaded filename






Using a var dump I’ve got all the values from a form to insert into a table. The file upload is giving me more info than I need.

PHP Code:


if (isset($_FILES['CV'])) 
    {
        
$target_dir "uploads/";
        
$target_file $target_dir basename($_FILES["CV"]["name"]);
        
$check getimagesize($_FILES["CV"]["tmp_name"]);
        
$mime $check["mime"];
        if(
$mime == Read the entire article at the source link…

We're happy to share this resource that we found. The content displayed on this page is property of it's original author and/or their organization.
 
 

Leave a Reply