filesize

I know in php if you use the function filesize it will return the size of the file in bytes, but is there an easy way to get the size in MB.
Cheers

Write you own php function called myfilesize:

pseudo code:

function myfilesize($fname) {
return filesize($fname/(1024*1024));
}

i.e. divide it by 1024 twice!

Best Wishes!

Thanks a million,
but I managed to get around it by using substr.
Thanks again
John