PHP : Appel à une fonction indéfinie exif_read_data

Solved
Fallentree Posted messages 2445 Status Member -  
Fallentree Posted messages 2445 Status Member -
Hello,
I was wondering why the exif_read_data function described http://www.manuelphp.com/php/function.exif-read-data.php was not recognized.
Thank you for your help.

P.S.: EXIF data is the metadata generated by digital cameras.
Configuration: Windows XP Internet Explorer 7.0

7 answers

Defouille Posted messages 404 Status Member 54
 
Hello, what is your version of PHP? In the documentation it says: "(PHP 4 >= 4.2.0, PHP 5)"

https://www.php.net/manual/en/function.exif-read-data.php
--
There are only 10 types of people, those who understand binary, and the others...
0
Fallentree Posted messages 2445 Status Member 210
 
phpinfo => version 5.2.-1

Have you ever encountered this function?
If so, can we modify or enter the information attached to the metadata of the jpg file?

0
Defouille Posted messages 404 Status Member 54
 
I have already used PHP EXIF functions, but it seems to me that they are only for reading.
But there must be writing APIs:

quick search:
https://www.phpclasses.org/package/1042-PHP-EXIF-information-reader-and-writer.html

--
There are only 10 types of people, those who understand binary, and the others...
0
Fallentree Posted messages 2445 Status Member 210
 
You need to refer to access this file....
Not very encouraging..
0
Defouille Posted messages 404 Status Member 54
 
You can find elsewhere, but phpclasses.org is a pretty good site for custom classes of this kind.
--
There are only 10 types of people, those who understand binary, and the others...
0
Fallentree Posted messages 2445 Status Member 210
 
I thought this function was present in my PHP configuration.
So, I wonder if it's just a PHP extension that needs to be activated.
I don't even know how to do that, if you ask me to use a class!?

I suspect it's a matter of time.
But I would like to know why this reference is not activated?
0
Defouille Posted messages 404 Status Member 54
 
On the PHP documentation, there is the installation procedure for the basic library:

https://www.php.net/manual/en/book.exif.php

--
There are only 10 types of people: those who understand binary, and those who don't...
0
Fallentree Posted messages 2445 Status Member 210
 
"Thus, do put exif as the very last extension to load and you should be fine."
It's true that when reinstalling WampServer, you need to remember everything.
Or copy-paste the php.ini.
0