note 79382 added to ref.fileinfo
| From: | tom at bitworks dot de | Date: | Sat, 24 Nov 2007 04:35:56 +0000 |
| Subject: | note 79382 added to ref.fileinfo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132521@lists.php.net to get a copy of this message | ||
It sometimes seams to be already helpful, simply to ask if the file contains the character NUL (ord
== 0).
No normal textfile will contain an ASCII NUL, thus containing one or even perhaps more of them, it
might be an executable or a picture file.
To identify picture types files php provides the function getimagesize()
----
Server IP: 217.160.72.57
Probable Submitter: 91.3.151.217
----
Manual Page -- http://www.php.net/manual/en/ref.fileinfo.php
Edit -- https://master.php.net/note/edit/79382
Del: integrated -- https://master.php.net/note/delete/79382/integrated
Del: useless -- https://master.php.net/note/delete/79382/useless
Del: bad code -- https://master.php.net/note/delete/79382/bad+code
Del: spam -- https://master.php.net/note/delete/79382/spam
Del: non-english -- https://master.php.net/note/delete/79382/non-english
Del: in docs -- https://master.php.net/note/delete/79382/in+docs
Del: other reasons-- https://master.php.net/note/delete/79382
Reject -- https://master.php.net/note/reject/79382
Search -- https://master.php.net/manage/user-notes.php