You should get any checked checkboxes as part of your $_POST
array. Unchecked checkboxes will be absent.
Images uploaded (from <input type="file" />
fields) will be in the $_FILES
array, if and only if you set your form enctype
to "multipart/form-data" (see here).
To get started handling file uploads in PHP, there's an excellent tutorial on W3Schools.
Given the HTML:
<input name="foobar" type="file" id="some_id_for_foobar" />
If you want to get the filename of the uploaded file (i.e. the name of the file as it was on the user's PC), you want:
$name = $_FILES["foobar"]["name"];
If you want the name of the uploaded file on your server, you want:
$location = $_FILES["file"]["tmp_name"];
You may also find the documentation on move_uploaded_file
helpful.