Get the execution time of a PHP script
To check how long one of your phpscript takes when executing, use the following code. It is a short and compact way to measure php script execution time. $time_start =…
To check how long one of your phpscript takes when executing, use the following code. It is a short and compact way to measure php script execution time. $time_start =…
To check if a a steam profile is ingame and if so which game use the following function as a guide: function ingame($steamid) { $data = json_decode(file_get_contents(“https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=YOURAPIKEY&steamids=” . $steamid…
Here are two handy functions to use in getting the games and friend count for a steam profile. To count the games owned amount for a steam profile use: function…
Here is an example of the Steam GetPlayerSummaries api in work with PHP. I have made a function called summary that creates an array with the data so i can call…
Minimalism is seen as having few or less of something i.e possessions and keeping things simple and clean cut. Notice those bolded words? well they are what i see as the…
Have you ever wanted to quickly get a YouTube channels id quickly and simply? To do this in PHP firstly you will need PHP simple HTML DOM parser download simple_html_dom.php from…
Here is how to do a MYSQL backup and compress using 7zip though a batch file or .bat file this makes the process easy to run with windows scheduler to…
To do the jquery javascript animated number count up feature on your website you need jquery on your page: <script src=”https://write.corbpie.com/wp-content/litespeed/localres/aHR0cHM6Ly9jb2RlLmpxdWVyeS5jb20vjquery-3.2.1.min.js”></script> Include the following javascript in a .js file: $(‘.counter’).each(function…
Just like most languages you can use PHP to do Arithmetic equations like so: echo (10 / 2);//5 echo (10 + 2);//12 echo (10 * 2);//20 echo (10 – 2);//8…
If you have ever been annoyed by errors in PHP and your web app or script still works add the following at the top of your PHP page to make…