?? 10 ? ?? ?? ?? ????? ??? ?? ????? ?? ??? ??? ?????????. ?? ???? ?? ??? ?? ??? ?????.
???? ???? ???? ??? ???? ???? ??? ?? ?????. ???? ?? ?? ?? ???? ???? ?? ??? ? ??? ?? ? ? ????. ? ????? ?? ?? ??? ??? ???.
??? ????? ? ???? ??????. ??? ? ?????? ????? ??? ? ?? ??? ?????. ?? ?? ????? ??? ??, ?? ?? ?? ??? ?? ? ? ????.
???? ??? ?? ???? ?? : PHP ??? ?? ? ???. ???? ?? ??? ??? ??? ?? ? ???? ?????. ??? ??? ?? ? ??? ?? ????? ? ? ????. ?? ?? ???? ?? ??? ??? ?????. Captcha? "???? ???? ????? ?? ??? ??? ? ?? ?? ???"? ?????.
? ????? ???? ??? ???? ???? ???? ?? ?????.
?? ?? ???
PHP GD ?????? ???????. ?? ???? GD? ??? ? ?? ??? ??? ????. ??? ?? ?? ???? ?? ??? ???? ?????.
??? ???? ?????
? ??? captcha.php
? ????. generate_string()
??? ?? ???? ????. ?? generate_string()
????? ??? random_int()
? ???????.
php $ permitted_chars = 'abcdefghijklmnopqrstuvwxyz'; ?? generate_string ($ input, $ thinge = 5) { $ input_length = strlen ($ input); $ random_string = ''; for ($ i = 0; $ i
?? ?? ?? ??
???? 5 ?? ??? ??? ???? Captcha ??? ?? (200x50 ??)? ?????.
php $ image = imageCreatetRuecolor (200, 50); imageAntialias ($ image, true); $ colors = []; $ red = rand (125, 175); $ green = rand (125, 175); $ blue = rand (125, 175); for ($ i = 0; $ i
??? $red
, $green
? $blue
?? ?? ??? ?????. ??? $colors
??? ??? ??? ??? ?????. ?? ??? ??? ??? ??? ?? ????? ???? ????.
?? ??? ???
?????, ??? ??? ???? ?????? ????. ?? ??, y ?? ? ??? ?? ???? ???? ?????.
php $ black = imageColorAllother ($ image, 0, 0, 0); $ white = imageColorAllother ($ image, 255, 255, 255); $ textColors = [$ black, $ white]; $ fonts = [dirname (__ ?? __). '\ fonts \ acme.ttf', dirname (__ file __). '\ fonts \ ubuntu.ttf', dirname (__ ?? __). '\ fonts \ merriweather.ttf', dirname (__ ?? __). '\ fonts \ playfairdisplay.ttf']; $ string_length = 6; $ captcha_string = generate_string ($ permitted_chars, $ string_length); for ($ i = 0; $ i
???? ? ??? ?? ??? ?????. ?? (15 ??)? ???? ??? ??? ??? ??? ????.
???? ?? ??? ?????
?? Captcha? ?? ???? ??????? (?? ??? ??? ??? ??). ??? ??? ???? ?? ?? ???? ???? ?????.
??? captcha.php
?? :
php session_start (); $ permitted_chars = 'abcdefghjklmnpqrstuvwxyz'; ?? generate_string ($ input, $ thinge = 10) { $ input_length = strlen ($ input); $ random_string = ''; for ($ i = 0; $ i
??? ??? "??? ???"?? ??? HTML? ??????.
<div class="elem-group"> <label for="captcha">?? ?? ???? ??????</label> <img src="/static/imghw/default1.png" data-src="https://img.php.cn/" class="lazy" alt="PHP?? ??? ?? ?? ? ??? ??? ????"> <i class="fas fa-redo refresh-captcha"></i> </div>
? JavaScript? ???? ?? ??? ?? ?? ? ????.
var refreshButton = docum refreshButton.onClick = function () { document.querySelector ( ". Captcha-Image"). src = 'captcha.php?' ?? .now (); };
?????, Captcha? ????? ??? ?? ?? ???? ( contact.php
)? ????????.
php session_start (); if ($ _ post) { // ... (?? ?? ?? ??) ... if (isset ($ _ post [ 'captcha_challenge']) && $ _post [ 'captcha_challenge'] == $ _session [ 'captcha_text'] { // ... (?? ??? ??) ... } ? ?? { ?? '<p> ??? ??? ? ???? ????.</p> ';; } } ? ?? { ?? '<p> ?? ???????</p> ';; } ?>
???? ??? ?? ??? ?? ?? ???? ????? ?????.
??
? ????? ??? ?? PHP ???? ??? ??? ???? ???? ?? ?? ???? ?? ? ??? ??? ?? ?????. ?? ??? ?? ?? ??? ??? ??????? ??? ? ????. ?? ?? ??? Codecanyon? ????? ???? ?? ??????.
? ??? PHP?? ??? ?? ?? ? ??? ??? ????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











TOSECURELYHANDLEAUSTENCENDACTIONANDACTERIZINGINPHP, FORCUCTSESTEPS : 1. ALWAYSHASHPASSWORTHPASSWORD_HASH () ? VERVERIFYUSINGPANSWORD_VERIFY (), usePREPAREDSTATEMENTSTOPREVENTSQLINGERGED, andSTOREUSERSESSEATAIN $ _SESSIONSAFTERLOGIN.2.impleplempletrole ?? ACCESSC

PHP?? ?? ???? ???? ????? ??? ?? ??? ???? ?? ??? ??? ??? ???? ????. 1. finfo_file ()? ???? ?? ?? ??? ???? ???/jpeg? ?? ?? ?? ? ?????. 2. uniqid ()? ???? ??? ?? ??? ???? ? Web ?? ????? ??????. 3. php.ini ? html ??? ?? ?? ??? ???? ???? ??? 0755? ?????. 4. Clamav? ???? ???? ???? ??? ??????. ??? ??? ?? ???? ????? ???? ?? ??? ????? ???? ??? ? ??? ?????.

PHP?? ==? ==? ?? ???? ?? ??? ??????. == ?? ??? ?? ?? ?????. ?? ??, 5 == "5"? true? ????, ?? ??? ???? ?? ?? ??? ????? ????? (? : 5 === "5"? false? ?????. ?? ?????? ===? ? ???? ?? ?????? == ?? ??? ??? ???? ?????.

PHP?? ?? ??? ??? ???? ??? ??? ????. 1. ?? ??? ?? ? ?? ??? ??? ???? ???? ??? ? ????. ??? ??? ???? ????? ????? ???? ????. 2. ?? ?? ?? - ??, ??? ???? ?? ??? ?????. 3. ?? ???? ??? ??? ???? ??? ??? ?????. 4. Division? / ??? ???? 0?? ??? ?? ????? ??? ?? ??? ?? ? ? ????. 5. ???? ??? ???? ?? ?? ? ?? ??? ???? ? ??? ? ???, ??? ?? ? ? ??? ??? ???? ?????. ? ???? ???? ???? ??? ??? ??? ???? ?? ??? ? ??????? ????.

?, PHP? ?? ?? ?? ?????? ?? MongoDB ? Redis? ?? NOSQL ??????? ?? ??? ? ????. ?? MongoDBPHP ???? (PECL ?? Composer? ?? ??)? ???? ????? ????? ??? ?????? ? ???? ????? ??, ??, ?? ? ?? ??? ?????. ??, Predis ????? ?? Phpredis ??? ???? Redis? ???? ?? ? ?? ? ??? ???? ??? ????? Phpredis? ???? ?? Predis? ?? ??? ?????. ? ? ?? ??? ???? ? ????? ????.

tostaycurrentwithphpdevelopments ? bestpractices, followkeynewssources lifephp.netandphpweekly, adgytwithcommunitiesonforumsandconferences, readlingupdated andgrad indewfeatures, andreadorcontributetoopensourceproceprosts.first

phpbecamepupularforwebdevelopmentduetoiteofleneflening, whithhtml, wididepreadhostingsupport, andalargeecosystemincludingframeworkslikelaravelandcmsplatformsformslikewordpress.itexcelsinhandlingformsubmissions, managingussess, interptisussivers, ?? ???

TOSETTHERIGHTTIMEZONEINPHP, usedate_default_timezone_set () functionattStartOfyourscriptwitHavalidInlifiersuchas'America/new_york'.1.edate_default_timezone_set () beforeanydate/timeFunctions.2
