Q:

Read GeoTIFF file with php or javascript

Sorry, I am newbie with GeoTIFF files.
I want to create a project that a person can upload a GeoTIFF file and the web application saves the lat/long of the picture into the database, the server side programming based on php and the database is MySQL.
Is there a library or a way to read and extract information of a GeoTIFF picture with php or javascript?

A:

there is a php extension called php-gdal
I found some install instructions:
https://www.drupal.org/node/2133103
the main site: 
https://github.com/geonef/php5-gdal
helpful?
http://dl.maptools.org/dl/php_ogr/php_ogr_documentation.html
I looked at scruss' suggestion: ( How to read GeoTIFF using PHP? ) and downloaded the code to take a look at.  I'm not convinced it is what you need.  Close, but I think you'll find yourself stripping most of the code away and possible need to add some of your own.  Best to try and find something pre-made.  Hopefully the php-gdal will work for you.  I have not tried it but use gdal in python regularly and it is great.
Be sure to let us know how it goes.
another possibility:
http://www.invet.net/images/catalog/creating_maps.pdf

