Harrisonm

Saving image from external url using PHP

There exists several methods to save image from external url to the remote server such as cURL, combination of file_put_contents and file_get_contents. But the most efficient method is to use copy() function. copy() – Makes a copy of the file source to dest. [crayon-6286da5c09c59637293358/] If the destination file already exists,...Read more …
Harrisonm

How To Remove Query String From URL in PHP?

Today I needed to remove the query string or parameter from the URL. I found this quick function which does exactly what i needed i.e remove query string from URL. [crayon-6286da5c09d8e242766698/] For example, if your URL was this: [crayon-6286da5c09d91276763493/] The above function would return: [crayon-6286da5c09d92955425180/] All I needed to do...Read more …
Harrisonm

jQuery fullcalendar integration with PHP and MySQL

This plugin is to create a comprehensive interactive calendar that looks like “Google Calendar”. And to perform basic operations on events (display, add, edit) dynamically through AJAX requests, it also allows to easily manipulate the various elements via “drag & drop”. Step1 : Download the jQuery fullcalendar plugin by here...Read more …