filesize() function returns the size, in bytes.
Its syntax is: int filesize (string filename) <? $fs = filesize("data.txt"); print "Pastry.txt is $fs bytes."; ?>