Hi everyone,
Will appreciate your advice for this issue.
I posted a thread in the Database section of the forum a few days ago.
I encountered this problem when trying to use a upload function, which is part of a source code that i got from the Internet. I'm using it as part of a portal.
The error message that i get is:
Warning: filesize() [function.filesize]: stat failed for C:\WINDOWS\TEMP\phpA2.tmp in d:\inetpub\wwwroot\spoapps\ppp\uploadtrytest.php on line 76
Warning: fread() [function.fread]: Length parameter must be greater than 0 in d:\inetpub\wwwroot\spoapps\ppp\uploadtrytest.php on line 76
Error, query failed
I did try out this function previously and it worked perfectly fine.
I believe that filesize is definitely greater than 0.
The only thing that confuses me is this C:\WINDOWS\TEMP\phpA2.tmp.
Is this a temporary storage location for the contents of the uploaded file before it is transferred to the uploaded folder on the server?
Advice is greatly appreciated!