How to add / remove month(s) to a date in PHP

How to add / remove month(s) to a date in PHP

This is an easy function to add or remove months from a date in PHP. There is a limitation, you can only subtract up to 999 years, but you can change that by increasing the 12000 number in the code, to whatever you want to. function add_month($strbegin, $count) {...
Make a simple HTTP call with parameters using CURL

Make a simple HTTP call with parameters using CURL

Here is a simple code to make an HTTP call with the CURL library. The call is also passing 2 parameters and the line will looks like: http://somewebsite.com/web_server.php?param1=12345&param2=67890 This is also requires the installation of the curl library....