OK. I don't know if this is a bug in PHP / LSAPI / LSWS , but here goes:
When uploading a file via a form to a .php , php says it saves the file in /tmp/php<random> whatever, and if I do the following, it creates the new file "test1.move" correctly.
move_uploaded_file($_FILES['filename1']['tmp_name'],'/home/picgame/tmp/test1.move');
The problem is, the filename in [tmp_name] does not exist, so I am thinking instead of php SAVING the file to the upload_dir like it should be, it is storing it and accessing it from RAM.
For a script I am working on (upload progress) , I need to be able to read the size of the file from the filesystem before it is finished and after it is finished without having to use move_uploaded_file.
Anybody have ANY ideas why php is not saving the file /tmp/phpRandomID to the drive as it is being uploaded?
When uploading a file via a form to a .php , php says it saves the file in /tmp/php<random> whatever, and if I do the following, it creates the new file "test1.move" correctly.
move_uploaded_file($_FILES['filename1']['tmp_name'],'/home/picgame/tmp/test1.move');
The problem is, the filename in [tmp_name] does not exist, so I am thinking instead of php SAVING the file to the upload_dir like it should be, it is storing it and accessing it from RAM.
For a script I am working on (upload progress) , I need to be able to read the size of the file from the filesystem before it is finished and after it is finished without having to use move_uploaded_file.
Anybody have ANY ideas why php is not saving the file /tmp/phpRandomID to the drive as it is being uploaded?