I'm working on getting a PHP-script online that can read metadata from *.JPEG files. For that I need to use the Exif library, which is disabled by default by PHP. When I work on my localhost, I can add "extension = 'php_exif.dll'" to php.ini to solve problem.
Now what I want is putting this script on my website. I can't alter php.ini, because I don't own the IP I'm using. I'm using a host with DirectAdmin.
I tried the following (simply a line to enable *.dll's):
but I got this warning:
Warning: dl() [function.dl]: Unable to load dynamic library './php_exif.dll' - ./php_exif.dll: cannot open shared object file: No such file or directory in /home/spectogram/domains/spectogram.nl/public_html/funcs.php on line 2
I also tried putting the standard 'php_exif.dll' file in my public_html folder, but I got an 'invalid ELF header' then. So it was obviously trying to read this file, but without succes.
Does anyone have a clue how to enable standard PHP dll's on a host that is not your own? Google is a lot of help to me, but not on this topic.
Now what I want is putting this script on my website. I can't alter php.ini, because I don't own the IP I'm using. I'm using a host with DirectAdmin.
I tried the following (simply a line to enable *.dll's):
PHP:
<?php
dl('php_exif.dll');
?>
but I got this warning:
Warning: dl() [function.dl]: Unable to load dynamic library './php_exif.dll' - ./php_exif.dll: cannot open shared object file: No such file or directory in /home/spectogram/domains/spectogram.nl/public_html/funcs.php on line 2
I also tried putting the standard 'php_exif.dll' file in my public_html folder, but I got an 'invalid ELF header' then. So it was obviously trying to read this file, but without succes.
Does anyone have a clue how to enable standard PHP dll's on a host that is not your own? Google is a lot of help to me, but not on this topic.