xProteuSx Posted March 10, 2010 Share Posted March 10, 2010 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. Link to comment https://forums.phpfreaks.com/topic/194753-filesize-returns-same-values-over-and-over/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.