Code: Select all
$uploadedfile = $_FILES['avatar']['tmp_name'];Code: Select all
<input type='file' name='avatar'>So I want to stop them and suggest them remove spacing.
I know how to query it for spacing, via pregmatch or preg_replace, but how do I query the variable itself?
I can't query $uploadedfile, or $avatar.
How do I do it?