↧
How To Build A Dynamic “On Air Now” Banner Using PHP.
Recently I was looking for a way to change an image on a website according to a schedule. I found a pretty simple way to do this with a little bit of PHP and thought I would share. I’ll do my best to...
View ArticleHow To Build An “Offer Expires At Midnight” Script
Recently, I was asked to create a script that sets a cookie in a visitors browser and does the following:1. On page-load set visit, date, time. 2. If it’s set already, don’t reset. 3. Evaluate if it’s...
View Article