Jump to content

filesize() returns same values over and over


xProteuSx

Recommended Posts

I have been making an upload script that uploads a file and updates a database.

 

One of the database fields is filesize, and I have tried using filesize("file.jpg") to get the filesize.  The first value that I got was 2010, which was about right, because this was a 2kb icon.  Every other file since, including a 1MB file has been the same size, 2010, however.  I have tried clearing the cache by using clearstatcache(), but it has done nothing as far as I can see ...

 

:)  I would appreciate your help.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.