Show time left with PHP
Let say you have a time or date in the future, and want to show your visitor the time left until that time.
Let say you have a time or date in the future, and want to show your visitor the time left until that time.
Sometimes it’s necessary to generate images with text on, and it can be a wise idea to generate it with transparent background so you can use it on different colors.
Sometimes you need to change the way php.ini is configured. But if you are on a shared host, there will be no possibilities to get them to change, because that affects all their sites.
But of course there are ways to handle this for you any way
In this tutorial I will show you how to list files in a directory in a pretty way.
I am a statistics freak. I can’t say anything else
But I guess that most of you, my fellow webmasters love to check your adsense stats every now and then every every day, and probably every hour also…
Why not let your own script fetch the statistics directly from google adsense reporting site? It’s always much [...]
Arrays, Arrays, Arrays, always it’s Arrays!
To help your life getting a little bit easier, I would like to give you some pointers on how to work with Arrays. There are maybe 5 functions that are more important than the other array functions, so read this introduction and get a head start with Arrays in PHP [...]
One thing that I almost always have to double check when programming PHP is date handling. Simple things like “What’s the date yesterday” can be hard to remember exactly how to program.