Using a dafont font with imagettftext in PHP
If you want to spice up your imagettftext use and use custom fonts from dafont here is how to do it: Choose your font from dafont in this example I…
If you want to spice up your imagettftext use and use custom fonts from dafont here is how to do it: Choose your font from dafont in this example I…
The PHP foreach loop is the best and easiest way to iterate through an array. Here are some examples of the foreach loop. Basic PHP foreach with echo: $array =…
If you wondered how to do a new or random background image each time a web page is loaded here is how. Put the PHP script at the top of…
If you have a date time stamp and want to check it against another date time to check if its older than a certain amount of days here is how…
An under used Steam api feature is getting server information such as players, map, name, location and version. Here is how to do it using DayZ mod as an example….
Having the right timezone on your web server can be crucial to ensure cron jobs, tasks and time related conversions are done right. To change and set your PHP timezone…
An easy way to check if a Twitch user is streaming in PHP can be done with the following function and PHP code: $streamer = ‘kyr_sp33dy’;//the streamers username function is_channel_live($channel)…