Remove a cookie using PHP
Cookie: A Cookie is a small file sent by the server to preserve stateful information for a user. It is stored on the client’s computer… Read More »
Cookie: A Cookie is a small file sent by the server to preserve stateful information for a user. It is stored on the client’s computer… Read More »
Often times, while writing a code we face situations where we need to pad a numbers/strings and make them of a default length. In this… Read More »
To configure XAMPP server to send mail from localhost we have to make changes to two files sendmail.ini and php.ini. Open the xampp folder. By… Read More »
Given a multi-dimensional array and the task is to convert this array into an XML file. To converting the multi-dimensional array into an xml file,… Read More »
In General, cURL stands for ‘Client for URLs’, here URL written in uppercase to indicates that the cURL deals with URLs. PHP Approach: Basic Function… Read More »
Given an array (single-dimensional or multi-dimensional) and the task is to check the given array is multi-dimensional or not. There are few methods to check… Read More »
The Imagick::queryFontMetrics() function is an inbuilt function in PHP which is used to return an array representing the font metrics. It takes the font and… Read More »
The Imagick::frameImage() function is an inbuilt function in PHP which is used to add a three-dimensional border around the image. Syntax: bool Imagick::frameImage( $color, $width,… Read More »
The ImagickDraw::getStrokeWidth() function is an inbuilt function of PHP which is used to return the width of the stroke used to draw object outlines. Syntax:… Read More »
The ImagickDraw::getStrokeOpacity() function is an inbuilt function in PHP which is used to return the opacity of stroked object outlines. Syntax: float ImagickDraw::getStrokeOpacity( void )… Read More »
The Imagick::gaussianBlurImage() function is an inbuilt function in PHP which is used to blur an image. This function convolves the image with a Gaussian operator… Read More »
The Imagick::pingImageFile() function is an inbuilt function in PHP which is used to return the image attributes in a lightweighted manner. This function is used… Read More »
The Imagick::polaroidImage() function is an inbuilt function in PHP which is used to simulate a polaroid picture. This function rotates the image with the polaroid… Read More »
The http_build_query() function is an inbuilt function in PHP which is used to generate URL-encoded query string from the associative (or indexed) array. Syntax: string… Read More »
The unpack() function is an inbuilt function in PHP which is used to unpack from a binary string into the respective format. Syntax: array unpack(… Read More »