I've run this code
$processUser = posix_getpwuid(posix_geteuid());
print $processUser['name'];
echo "<br>";
echo get_current_user();
and get "apache" for both....
when i look at this part
$uploadDir = '/home/httpd/vhosts/mysute.com/httpdocs/';
$uploadFile = $uploadDir . $_FILES[userfile][name];
echo $uploadFile;
the echo only has /home/httpd/vhosts/mysute.com/httpdocs/
and no file at the end.... this could be the problem???
If so how do I fix it?