All,
Trying to run an upload script.
<?php
if ($userfile=="none")
{
echo "Problem: no file uploaded";
exit;
}
if (move_uploaded_file($userfile,".".$userfile_name))
echo "your file was loaded successfully";
}
else
{
echo "nope";
exit;
}
?>
Looks like the problems is in the "if (move_uploaded_file.." line also a
look at the configuration of PHP4.1.2 shows "no value" for upload_tmp_dir
Any hints?
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php