Hi Phil,
your input file name should be "the_file"
<snip>
global $the_path_news, $the_file_name, $the_file, $the_path;
if ($the_file_name)
{
if (!@move_uploaded_file($the_file, $the_path."/".$the_file_name))
{
echo "something barfed.";
exit;
}
else
{
echo "uploaded.";
}
}
<snap>
Mirza [EMAIL PROTECTED]
01.07.2002 17:59
> anyone have some code they can send me that will successfully upload a
> file? I've got all the HTML correct, it's just that my PHP code ain't
> working.
> Thanks!
> Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php