Problem with file upload

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Problem with file upload

Postby -M&N- » 03. January 2007 22:45

Hello,
it seems that I have problem with a file upload. I have code in my upload script similar to this:
Code: Select all
if(is_uploaded_file($_FILES["my_file"]["tmp_name"]))
{
    # ... save file
    die("true");
}
else
{
    die("false");
}

When I reboot my Windows, start Apache and try first file upload, it works ok. But on next tries, script returns "false". At xampp temp folder are some sessions created, but it's strange. Sometimes session with size of 17KB (doesn't depend on file size!) is created and sometimes empty session (and than no more sessions till windows restart).

Any idea?
-M&N-
 
Posts: 4
Joined: 27. May 2005 15:31

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 192 guests