if(isset($_POST['upload']) && $_FILES['userfile']['size'] > 0)
{
if (file_exists("images/" . $_FILES["userfile"]["name"]))
{
echo $_FILES["userfile"]["name"] . " already exists. ";
}
else
{
move_uploaded_file($_FILES["userfile"]["tmp_name"],
"images/" . $_FILES["userfile"]["name"]);
echo "Stored in: " . "images/" . $_FILES["userfile"]["name"];
(...)
代码效果很好,但文件不会出现在上传文件夹中:s我做错了什么?