$dosya = "ahmetpasha.txt"; $boyut = filesize($dosya); echo "$dosya adlı dosyanın boyutu $boyut byte.";