Finding a YouTube channel id with PHP
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…
PHP backend web language
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…
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….
Nested PHP if and if else statements can be confusing however if following the correct formatting and PHP basics they can be a very useful piece of code. In the…
A Unix timestamp looks like 1514452438 if you wanted to output how long ago this was such as 4 days, 18 hours, 44 minutes and 15 seconds in PHP here…
To change a webpage or html background based on what a PHP variable is, follow this guide: For practical purposes if a profile is online the PHP variable = 1…
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…
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…
PHP include, include_once, require and require_once are all different ways to make a file load within another, they each do roughly the same thing but what are the differences and…
A free way to get currency conversion rates within in an api callback is api.fixer.io https://api.fixer.io/latest?base=USD Returns {“base”:”USD”,”date”:”2017-11-20″,”rates”:{“AUD”:1.3235,”BGN”:1.6601,”BRL”:3.2585,”CAD”:1.2788,”CHF”:0.99109,”CNY”:6.634,”CZK”:21.703,”DKK”:6.3164,”GBP”:0.75494,”HKD”:7.8122,”HRK”:6.4212,”HUF”:265.21,”IDR”:13524.0,”ILS”:3.5139,”INR”:65.103,”JPY”:112.13,”KRW”:1095.9,”MXN”:18.97,”MYR”:4.1481,”NOK”:8.2589,”NZD”:1.4636,”PHP”:50.727,”PLN”:3.5915,”RON”:3.9482,”RUB”:59.542,”SEK”:8.453,”SGD”:1.3557,”THB”:32.77,”TRY”:3.9225,”ZAR”:14.055,”EUR”:0.84882}} Now its about simply using a json decode inside a function that…