?? ?? ?? ????
PHP??? get_browser() ??? ???? ???? ???? ? ?? ??? ?? ??? ??? ? ????. ? ??? ?? ??? ??? ??? ?????.
- browser: "Chrome" ?? "Firefox"? ?? ??? ????? ??.
- version: ????? ?? "10.0" ?? "52.0"? ?? ??? ????.
- ???: ??? ?? ??? ???, ?: "Windows" ?? "Linux".
- javascript: ??? ?????? JavaScript? ????? ??? ??? ???? ?? ?.
???? ?? ?? ??? ????? ??? ?????. get_browser() ???? ??? ??? ??? ??? ?????. ?:
$browser = get_browser(); echo $browser['platform'];
??:
Windows
?? ??:
<?php // Get user agent from header $userAgent = $_SERVER['HTTP_USER_AGENT']; // Sniff the operating system $os = null; if (preg_match('/windows nt 10/i', $userAgent)) { $os = 'Windows 10'; } elseif (preg_match('/windows nt 6.3/i', $userAgent)) { $os = 'Windows 8.1'; } elseif (preg_match('/windows nt 6.2/i', $userAgent)) { $os = 'Windows 8'; } elseif (preg_match('/windows nt 6.1/i', $userAgent)) { $os = 'Windows 7'; } elseif (preg_match('/windows nt 6.0/i', $userAgent)) { $os = 'Windows Vista'; } elseif (preg_match('/windows nt 5.2/i', $userAgent)) { $os = 'Windows XP x64'; } elseif (preg_match('/windows nt 5.1/i', $userAgent)) { $os = 'Windows XP'; } elseif (preg_match('/windows xp/i', $userAgent)) { $os = 'Windows XP'; } elseif (preg_match('/windows nt 5.0/i', $userAgent)) { $os = 'Windows 2000'; } elseif (preg_match('/windows me/i', $userAgent)) { $os = 'Windows ME'; } elseif (preg_match('/win98/i', $userAgent)) { $os = 'Windows 98'; } elseif (preg_match('/win95/i', $userAgent)) { $os = 'Windows 95'; } elseif (preg_match('/win16/i', $userAgent)) { $os = 'Windows 3.11'; } elseif (preg_match('/macintosh|mac os x/i', $userAgent)) { $os = 'Mac OS X'; } elseif (preg_match('/mac_powerpc/i', $userAgent)) { $os = 'Mac OS 9'; } elseif (preg_match('/linux/i', $userAgent)) { $os = 'Linux'; } elseif (preg_match('/ubuntu/i', $userAgent)) { $os = 'Ubuntu'; } elseif (preg_match('/iphone/i', $userAgent)) { $os = 'iPhone'; } elseif (preg_match('/ipod/i', $userAgent)) { $os = 'iPod'; } elseif (preg_match('/ipad/i', $userAgent)) { $os = 'iPad'; } elseif (preg_match('/android/i', $userAgent)) { $os = 'Android'; } elseif (preg_match('/blackberry/i', $userAgent)) { $os = 'BlackBerry'; } elseif (preg_match('/webos/i', $userAgent)) { $os = 'Mobile'; } else { $os = 'Unknown'; } // Print the operating system echo $os; ?>
? ??? 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
