Amin, thanks for the timely response.
1st test with f4v yielded:
Error! Wrong file format.
So I altered the signature check to:
$signature = fread($f,11);
if(substr($signature, 0, 3) != "FLV" && substr($signature, 8, 3) != "f4v")
f4v
flashyourweb.com/gallery2/myTests.p
...
flv
flashyourweb.com/gallery2/myTests.p
...
BTW, f4v is video/mp4, so the header may be at the end instead of the beginning.
Thanks,
Wayne