There are five functions in PHP's Exif Library that you may use to play with pictures: Make sure to look over the tips section above for OS-specific issues. On the other hand, if you are doing everything local, you may find it easier to just copy your picture from the device to your machine and place it in a folder that PHP can access with a minimum of read access. If you are using a remote web server for this example, you may find it best to create a simple HTML form to allow uploading the image. You may then perform whatever means will allow you to snap your picture. Step 1 Taking the PictureĪs explained in the tips section above, you will need to have a GPS sensor available and enabled on your device. Once your environment is established, you may begin examining pictures. There are so many different ways, I refuse to cover all of them in this article. If you are unsure of how to do this, I would advise you to poke around that OS's forum. If you are on a *nix system, you may use your distributions package manager to satisfy the installation of PHP and Apache or just PHP. If you just want PHP installed as a command line tool, find your way over to their website and install the MSI file. The WPI will assist you on installing PHP and configuring it with IIS. If you are on a Windows machine and wish to do everything through a web server, I would advise you to download the Microsoft Web Platform Installer ( WPI), install IIS through the Add/Remove Features, and setup your server through the IIS manager console MMC. Now there are many avenues to getting this done, each relies on your operating system and the method for running the 'application'. You will need PHP installed at the minimum.
0 Comments
Leave a Reply. |