PHP password hashing and verifying

Password hashing is to prevent easy password exploiting by not storing password in plaintext. Instead you store a hash and verify this against the login attempt. Imagine if a database…

Mass renaming images in PHP

Lets say you have a group of photos from a location, shoot or event. They will be named depending on the camera something like DC001984 or IMG_02891 something like that…

MySQL WHERE = OR =

How to do a MySQL WHERE query whilst filtering for multiple values from the different columns. An example being the need to SELECT data where name = value OR last_nameĀ …

Getting image exif data with PHP

Exif stands for Exchangable Image Format, it is the data and information that gets attached to digital images. From location, aperture, IOS, camera, lens, date time, image size + format…