1- How to reset/destroy a cookie ? Reset a cookie by specifying expire time in the past: Example: setcookie(‘Test’,$i,time()-3600); // already expired time Reset a cookie by specifying its name only Example: setcookie(‘Test’); 2- What types of images that PHP supports ? Using imagetypes() function to find out what types of images are supported in your PHP engine. imagetypes() – Returns the image types supported. This function returns a bit-field corresponding to the image formats supported by the version of […]
PHP is one of the most popular development languages for building dynamic web applications today. Some of the most influential and popular open source CMS/Publishing platforms like WordPress, Joomla and Drupal all rely on PHP and many others do to. PHP offers many advantages; it is fast, stable, secure, easy to use and open source. Being familiar with PHP and having a good toolbox for working effectively with PHP is essential for most Web Developers because you will run into […]