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?