Re: [PHP-DEV] UNIX file command

2003-01-03 Thread Ilia A.
On January 3, 2003 12:18 pm, Michael Montero wrote: > Is there a built in function in PHP that mimicks the UNIX file command? > For instance, I run : > > file blah.jpg > > and I get this: > > blah.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), 72 x 72 For identifying images there is a

[PHP-DEV] UNIX file command

2003-01-03 Thread Michael Montero
Is there a built in function in PHP that mimicks the UNIX file command? For instance, I run : file blah.jpg and I get this: blah.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), 72 x 72 I suspect this isn't worth its own module...perhaps it is. Can someone suggest where I might a