I don’t know if this is the right way to do this, I’m Mike and new to PHP, How do you use PHP to link to a page that requires the login from a previous page so it cannot be linked to externally. Doesn’t need to be super secure just not easily broken. > On Feb 2, 2015, at 12:11 PM, Jim Lucas <lists@xxxxxxxxx> wrote: > > On 01/29/2015 08:58 PM, Peter West wrote: >> Hi Jim, >> >> I'm new to php. I've just looked at phpinfo() on my yosemite installation of 5.5.14. >> >> The build configuration included '--enable-exif', which I believe is common in recent phps. > > This tells the make scripts to build the module. > >> >> Additional Modules lists sysvsem and sysvshm only. >> >> What appears to be the default php.ini file (although it has not been renamed from /etc/php.ini.default to /etc/php.ini) contains a section header for exif, but no contents. > > If you don't have a php.ini being loaded, then you probably are not loading > the module. > > This is what I would try, rename that php.ini.default to php.ini and make sure > that the following lines exist within it. > > extension=mbstring.so > extension=exif.so > > Restart your web service, FastCGI service, etc... and see if phpinfo() now > has it listed. > > Jim > >> >> Is any other configuration needed? >> >> Peter West >> >> "Other seed fell among thorns, and the thorns grew up and choked it, and it yielded no grain." >> >>> On 30 Jan 2015, at 4:22 am, Jim Lucas <lists@xxxxxxxxx> wrote: >>> >>> On 01/28/2015 11:49 PM, Abdul Abdul wrote: >>>> Hello Peter, >>>> >>>> Thanks for your reply. Actually, this is what I have regarding exif in my >>>> php.ini file. Should I add what you mentioned manually? >>>> >>> >>> What you are listing are the setting for exif in your php.ini file. What you >>> need to make sure exists is the line that actually loads the extension. >>> >>> You should see something like this in your php.ini file, or depending on your >>> distro, you might find something in /etc/php.d/*, /etc/httpd/conf.d/*, etc... >>> >>> Here is a portion of my php.ini file: >>> >>> ;;;;;;;;;;;;;;;;;;;;;; >>> ; Dynamic Extensions ; >>> ;;;;;;;;;;;;;;;;;;;;;; >>> >>> ; If you wish to have an extension loaded automatically, use the following >>> ; syntax: >>> ; >>> ; extension=modulename.extension >>> ; >>> ; For example, on Windows: >>> ; >>> ; extension=msql.dll >>> ; >>> ; ... or under UNIX: >>> ; >>> ; extension=msql.so >>> >>> extension=mbstring.so >>> extension=exif.so >>> >>> >>> >>> If you are on a unix system, you'll want to verify that you have the exif.so >>> extension in the correct folder. Run this: >>> >>> # ls `php -i | grep "^extension_dir" | sed -e 's/.*=> //'` >>> >>> If you don't have the exif.so file in the output, you don't have the extension >>> available to you to load. >>> >>> This also assumes that your cli php.ini file is the same as your web server >>> php.ini file. >>> >>> -- >>> Jim Lucas >>> >>> http://www.cmsws.com/ >>> http://www.cmsws.com/examples/ >>> >>> -- >>> PHP General Mailing List (http://www.php.net/) >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >> > > > -- > Jim Lucas > > http://www.cmsws.com/ > http://www.cmsws.com/examples/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php