Re: New PHP extension - need account on pecl.php.net
| From: | Remi Collet | Date: | Sun, 21 Jun 2015 08:51:00 +0000 |
| Subject: | Re: New PHP extension - need account on pecl.php.net | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-13038@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 21/06/2015 09:05, mark@kreine.com a écrit :
> Hello, to whom it may concern,
>
> Let me introduce myself. My name is Mark and I'm the author of a
> brand new PHP extension. Please take into account that the
> functionality I'm going to offer PHP does not have.
Any link to sources ?
> I have written a new PHP extension which verifies file format by
> reading its internal signature. It is obvious for all of us that
> every format has its own particular signature. In most cases we
> cannot make another format file by just changing its extension.
>
> My PHP ext will take a file and verify its format. It cannot be
> mistaken also if you pass jpg file with "doc" extension - it will
> verify it as JPG-file.
How does this differ from FileInfo which use libmagic to compute this ?
Remi.
> Currently PHP does not have such functionality. It could be very
> helpful for example while uploading files to some place so that one
> could verify that he or she uploads the file of the right format.
>
> I'm going to maintain this ext for a long time, so please, could
> you let me request an account on pecl.php.net.
>
> Thanks,
>
> Mark.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlWGevQACgkQYUppBSnxahjJnwCffa2puRGjA4u66YOMyehjiJcc
U3QAoNssEUNFvfClmnEVqwc2ui1TbNMw
=lwun
-----END PGP SIGNATURE-----