You could always open it and see if the first few characters are
"{\rtf1".
Brady
> Is there any way to test a file to confirm it is an RTF file?
>
> I'm thinking along the lines of how we can test for an image with
> getimagesize().
>
> kind regards,
>
> bill
>
--
PHP General Mailing List
Here's something I found on the PHP Code Exchange:
Generate Excel files from PHP by Christian Novak on 2000-11-25 11:47:24
(v for 4.0) is 1974 bytes.
Small function library to generate Excel files/stream directly from PHP.
http://px.sklar.com/code.html?code_id=488
I haven't tried it out...it do
2 matches
Mail list logo