note 73329 added to ref.fileinfo
| From: | Alexey at osu1 dot php dot net | Date: | Sun, 18 Feb 2007 14:39:33 +0000 |
| Subject: | note 73329 added to ref.fileinfo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-123537@lists.php.net to get a copy of this message | ||
Well, it is hard to install and use this extension. There is better alternative - use lunux comand
"file". For insturctions - "man file" from linux shell.
<?
echo system("file -i -b file.pdf");
?>
application/pdf
----
Server IP: 195.222.164.18
Probable Submitter: 86.102.10.72
----
Manual Page -- http://www.php.net/manual/en/ref.fileinfo.php
Edit -- https://master.php.net/note/edit/73329
Del: integrated -- https://master.php.net/note/delete/73329/integrated
Del: useless -- https://master.php.net/note/delete/73329/useless
Del: bad code -- https://master.php.net/note/delete/73329/bad+code
Del: spam -- https://master.php.net/note/delete/73329/spam
Del: non-english -- https://master.php.net/note/delete/73329/non-english
Del: in docs -- https://master.php.net/note/delete/73329/in+docs
Del: other reasons-- https://master.php.net/note/delete/73329
Reject -- https://master.php.net/note/reject/73329
Search -- https://master.php.net/manage/user-notes.php