Ähm, was ist merkwürdig?
*ungläubiigkuckt*
*ungläubiigkuckt*
<input name="userzip" type="file" size="25">
$uploaddir = "/pix/";
$uploadfile = $uploaddir . $_FILES['userzip']['name'];
if (move_uploaded_file($_FILES['userzip']['tmp_name'], $uploadfile))
{
echo "File is valid, and was successfully uploaded. ";
echo "Here's some more debugging info:\n";
}
else
{
echo "error";
print_r($_FILES);
}
Kommentar