$.post('image.php', { image:form.image.value } <form id="form" enctype="multipart/form-data"> <input type="file" id="image" name="image"/>
PHP → isset($_FILES['file'])
How to use $.post() to send $_FILES inside a form tag?
Should I still include enctype or do I need to use AJAX, and how can I do this?
source share