PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
what is $file_path? filesize() requires direct file system level access to the file. If the file is across a network on another machine or a URL you will not be able to access that information.