Quantcast
Channel: Web Design, Logo Design | Thetis Media, Victoria, BC » PHP Code
Browsing latest articles
Browse All 2 View Live

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 Article


How 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

Browsing latest articles
Browse All 2 View Live