Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб Simple and Easy way to make Captcha in PHP в хорошем качестве

Simple and Easy way to make Captcha in PHP 4 года назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



Simple and Easy way to make Captcha in PHP

Welcome Coders, In this video i have shown you how to make simple captcha. PHP md5() Function:- The md5() function calculates the MD5 hash of a string. Syntax:- md5(string,raw) PHP substr() Function:- The substr() function returns a part of a string. Syntax:- substr(string,start,length) imagecreatetruecolor() Function:- The imagecreatetruecolor() function is an inbuilt function in PHP which is used to create a new true-color image. This function returns a blank image of the given size. Syntax:- imagecreatetruecolor( $width, $height ) *$width: This parameter is used to set the width of image. *$height: This parameter is used to set the height of image. imagecolorallocate() Function:- The imagecolorallocate() function is an inbuilt function in PHP which is used to set the color in an image. This function returns a color which is given in RGB format. Syntax:- imagecolorallocate ( $image, $red, $green, $blue ) imagefill() Function:- The imagefill() function is an inbuilt function in PHP which is used to fill the image with the given color. This function performs a flood fill starting at the given coordinate (top left is 0, 0) with the given color in the image. Syntax:- imagefill( $image, $x, $y, $color ) imagestring() Function:- The imagestring() function is an inbuilt function in PHP which is used to draw the string horizontally. This function draws the string at given position. Syntax:- imagestring( $image, $font, $x, $y, $string, $color ) Parameters: This function accepts six parameters as mentioned above and described below: $image: The imagecreatetruecolor() function is used to create a blank image in a given size. $font: This parameter is used to set the font size. Inbuilt font in latin2 encoding can be 1, 2, 3, 4, 5 or other font identifiers registered with imageloadfont() function. $x: This parameter is used to hold the x-coordinate of the upper left corner. $y: This parameter is used to hold the y-coordinate of the upper left corner. $string: This parameter is used to hold the string to be written. $color: This parameter is used to hold the color of image. imagejpeg() creates a JPEG file from the given image. Thanks For Watching !_! Hope this video is helpful to you So, Please Like the Video and Subscribe the channel. Ek to like kardo bhai Please.

Comments