I am using a html template.and i have a form with file upload option.there is a contact_process.php file where the collected data is sending as an email.The issue is i am not getting the file uploaded.only the name is getting in the mail. This is the html code of file upload.
<div class="projectfileupload form-group">
<input id="inputfile" name="inputfile" type="file" class="form-control-file form-control text-danger font-weight-bold">
<p id="inputfiledetail" class="form-control text-left">Select or Drop your file here</p>
</div>
in contact_process.php
the file is reading as
$inputfile = $_FILES['inputfile'];
i am not getting anything.simply NULL.
as it is an html template the php.ini file is not theree.is that the issue. Any body pls help.