Function Overloading and Overriding in PHP concept come from polymorphism of OOP. According to Object Oriented Programming, function overloading means multiple method/function have the same name but different parameters. And in the child class having the same name, same parameters as in its parent it called method overriding. Generally, PHP doesn’t support function overloading directly like other languages such as C++, JAVA etc. But we can overcome this issue with using the PHP magic method __call(). So let’s see how …
Blog Posts
There are lots of application out there who has the functionality to block call and SMS. I assume, you also want to develop an application where you can block SMS in android as well as block call in android. It’s a common use cause. But most of the time it’s not that much easy as you are thinking. With the latest version upgrade and other policy implemented inside android operating system that requires you to tweak your code base if …
Now a days, lots of professionals are selling their creative works on ThemeForest. I just created the following simple (very simple) PHP script that works with HTML DOM and XPATH will do a very interesting job to show the ThemeForest theme information and statistics. Just run this script on your PHP environment and you will get the following information of any specific ThemeForest theme. Array ( [sellCount] => 2 [price] => $16 [created] => 2016-10-13 [lastUpdated] => 2016-10-13 [highResolution] => …
WHMCS is a popular billing system specially for domain+hosting business. It provides mostly billing solutions. You can download WHMCS from download page. As a billing system, if you have several tools, utilities and services that require connection between your application and WHMCS then you badly need API to accomplish that interconnection. WHMCS has a very basic API documentation (it’s enough though) without any specific programming library. You can use the following wrapper class to interact with your WHMCS system from …
Some important commands for Docker containers and images. It’s useful for delete all docker containers and images altogether at once. # Stop all docker containers docker stop $(docker ps -a -q) #Remove all docker containers docker rm $(docker ps -a -q) # Delete all images docker rmi $(docker images -q)