My scripts look alright, but the problem is that the $_FILES variable is not storing any information about the file being uploaded; I think it may be because I'm not loading a complete new page. Instead my form sends user data to a javascript function which then sends a post request to a register script.
Code: Select all
<?php
// Not storing anything (register script)
$_FILES['icon']['tmp_name'];
?>How can I get around while still keeping intact my current setup?