I can't get PHP to recognize when a file has NOT been uploaded along w/ the form i have.
if ($resume == "none") { echo("boo yeah");/*do nothing */ }
else{
if (is_uploaded_file($resume)) {
$fileloc = $resume_name;
move_Uploaded_File($resume,$fileloc);
$message = $message . "Resume Submitted: " . $fileloc . "\r\n\r\n";
}
}
It always seems to hit this part of my code (and throws an error) regardelss if I choose a file to upload on the previous page or not.
Any help would be appreciated.
Thanks!