2. ?? ????? ???? ?????. ?? ?? ????? ????? ?? getcwd() ??? ???? ?? ? ????. ???? ?? ?? ????? ?????. ???? FALSE ? ?????.3. ???? ?? ?? ? ?? opendir($dir) ??($dir_handle) 4. ???? ?? ?? readdir(), ? ????? ?? ?? ???? ???? while ??? ???? ????? ??? ? ???? 5. ??? ??? ?? ????? ??? ?????. ?? scandir(??? $directory [, int $sorting_order [, ?? $context ]]) ??: $directory? ??? ?????. $sorting_order ????? ????? ??? ?????? ????? ????, 1? ???? ??? ?????? ????? ?????. $context? ??? ?????? stream_context_create() ??? ???? ??? ? ?? ??? ?????. ? ??? ?? ?? ??? ??? ?? ???? ?????. ??? ???? ??? ?? ??? ?? ???? ? ?? ??? ??? ??? ????, ???? FALSE? ?????. 2. ???? ?? ?? ?? 3. ?? ?? ? ?? 1.??? ????? ??? fopen(??? $filename, ??? $mode [, bool $use_include_path [, ??? $context ]]) ●$filename ????. fopen() ??? $filename ????? ??? ?? ??? ???? ??????. ●$mode ????. $mode ????? fopen() ??? ??? ????? ??? ?????. ?? ? 4.5? ?? ????. $?? ???? '?? ??' ?? ?? ??? ??? ?? ??? ???? ????. 'r' ??-?? ??? ??? ?? ??? ???? ?? ? ??? ?????. '?' ?? ??? ??? ?? ?? ???? ?? ??? ????? ???. ??? ?? ??? ?? ???? ????, ??? ??? ?? ??? ???. '?' ??-?? ??? ??? ?? ?? ???? ?? ??? ????? ???. ??? ?? ??? ?? ???? ????, ??? ??? ?? ??? ???. '??' ?? ??? ??? ?? ?? ???? ?? ??? ?????. ??? ?? ??? ??? ?? ??? ?????. ??? ???? ??? ??? ??? ????. 'a' ??-?? ??? ??? ?? ?? ???? ?? ?? ????? ???. ??? ?? ??? ???? ??? ?? ??? ?? ? ??? ?????. ??? ???? ??? ??? ??? ????. '??' ?? ???? ?? ??? ???? ??? ??? ??? ???. ??? ?? ???? ?? fopen() ??? ???? FALSE? ???? E_WARNING ?? ?? ???? ?????. ??? ???? ??? ?? ??? ?????. ? ??? PH ? ?? ???? ???? ?? ???? ??? ? ????. '??' ?? ???? ?? ??? ???? ?? ? ??? ??? ??? ???. ??? ?? ???? ?? fopen() ??? ???? FALSE? ???? E_WARNING ?? ?? ???? ?????. ??? ???? ??? ?? ??? ?????. ? ??? PH ? ?? ???? ???? ?? ???? ??? ? ????. '?' ?? ?? ?? ???? ? ???? ???? ?????. ?? ???? ???? ??? ??? ??? ??? ? ?? ??(Windows? ????? UNIX? ???? ??) ? ??? ???? ??, ???? ?????? ?? ? ??? ???? ?? ????. ●$use_include_path ????. include_path(PHP? ?? ??, PHP? ?? ??? ???)?? ??? ???? ?? ??, ??? ???? $use_include_path? ?? 1 ?? TRUE? ??? ? ??? ???? FALSE???. ●$context ????. ??? $context ????? ??? ???? ?? ??(?: HTTP? ??) ?????. fopen() ??? ?? ?? ??? ??? ?? ???? ?????. fopen()? HTTP ??? ??, ?? ?? ? ??? FTP ??? ?? ?? ?? ?? ??, HTTP ?? ? ?? HTTP ?? ?? ??? ?????. ???? ?? FTP? ???/??? ??? ?? ???? 2. ??? ????. bool fclose(??? $handle) 4. ?? ?? ??? ?? ?? ?? ??? ??, ???? ?? ?? ?? ???? ???. ????? fopen() ??? ???? ?????. ●fwrite().??? ? ? ??? ??? ???. int fwrite(??? $handle, ??? $string [, int $length]) ??: $handle ????? ??? ?? ?????. $string? ??? ??? ??? ??????. $length? ??? ???????. $length? ???? $string? ???? ? ?? $length ???? ? ? ??? ?????. ●file_put_contents() ??. PHP 5??? file_put_contents() ??? ???????. ? ??? ??? fopen(), fwrite(), fclose() ??? ??? ???? ?? ????. ?? ??? ??? ????. int file_put_contents(string $filename , string $data [, int $flags [, resources $context ]]) ??: $filename? ???? ??? ??? ???????. $data? ??? ??????. $data? ??? ?? ??? ??? ??? ?? ????. FTP ?? HTTP? ???? ?? ??? ???? ? ? ??? ??? ???? ?? ??? ?? ?? $flags ? $context? ??? ? ????. ??? ???? ??? ? ??? ?? ????, ??? ??? FALSE? ?????. ●fputcsv() ??. CSV? ????? ???? .csv? ????? ???? ?? ?????. CSV ??? ??? ? ?? ???? ???? ???? ??? ??? ?????. PHP?? fputcsv() ??? ???? ??? ??? CSV ?? ??? ???? ???? ???? ?? ???? ???? ?? ?? ???. ?? ??? ??? ????. int fputcsv(resource $handle [, array $fields [, string $delimiter [, string $enclosure ]]]) ??: $handle ????? ??? ?? ?????. $fields ????? ??? ??? ?????. ??? $delimiter ????? ?? ?? ??(? ??? ???)? ???? ? ???? ???? ?????. ??? $enclosure ????? ?? ??? ?????(? ??? ???). ???? ???????. 5?? ?? ?? 1. ??? ??? ????. fread() ??? ??? ??? ?? ? ??? ? ????. ?? ??? ??? ????. ??? fread(int $handle, int $length) ??: $handle ????? ?? ?? ??????. $length? ?? ?? ??? ?? ???? $length? ?? ?? 8192???. $length ???? ?? ?? EOF(?? ? ???)? ???? ?? ??? ???? ?? ??? ?????. ??? ???? ?? ???? ????, ??? ???? FALSE? ?????. ??: ??? ?? ? ?? ??? ??? ? ???? HTML ??? ?? ?? ??? ? ?? ??? ??? ? ????. ?? ??? ??? ????? htmlspecialchars() ??? ???? HTML ??? ???? ???? ???. 2. ?? ??? ????. ●file() ??. file() ??? ?? ??? ??? ?? ? ?????. ?? ??? ??? ????. ?? ??(??? $filename [, int $use_include_path [, ?? $context ]]) ??: ? ??? ??? ??? ??? ???? ????. ??? ? ??? ? ??? ???? ??? ?? ????. ?? ? FALSE? ?????. $filename ????? ?? ?? ?????. $use_inclue_path ? $context ????? ??? ?? ??? ?? ?????. ●readfile() ??. readfile() ??? ?? ??? ????? ???? ? ?????. ?? ??? ??? ????. int readfile(string $filename [, bool $use_include_path [, resources $context ]]) ●fpassthru() ??. fpassthru() ??? ?? ???? EOF?? ??? ?? ???? ?? ??? ?? ??? ???. ? ??? ????? ?? fopen() ??? ???? ??? ? ?? ?? ???? fpassthru() ??? ?? ??? ???? ???. fpassthru() ??? ?? ???? ???? ??? ??? ?? ???? ????. ??? ???? ?? ??? ?? ????, ??? ??? FALSE? ?????. ●file_get_contents() ??. file_get_contents() ??? ?? ??? ?? ?? ??? ???? ??? ? ????. ??? fopen(), fread(), fclose() ??? ??? ???? ?? ????. ?? ??? ??? ????. string file_get_contents(string $filename [, int $offset [, int $maxlen ]]) ??: $filename? ?? ?? ?????. ??? ?? ??? $offset? ?? ?? ??? ???? ??? ? ????. ? ??? $offset?? ??? ???? $maxlen ??? ???? ??? ? ????. ???? ??? FALSE? ????? 3. ??? ?? ????. ●fgets() ??. fgets() ??? ???? ??? ? ?? ?? ? ????. ?? ??? ??? ????. ??? fgets(int $handle [, int $length ]) ??: $handle? ?? ?? ?????. ??? ???? $length? ? ???? ???? ???? ?? ??? ?? ?????. ?? ??-1???? ???? ??? ? ????. $length? ???? ??? ???? 1024??????. ●fgetss() ??? fgetss() ??? ?? ????? html ? php ??? ????? ????? ?? ???? ????? fgets()? ?????. ●fgetcsv() ??. fgetcsv() ??? ??? ??? ?? ?? ??, CSV ??? ???? ??? ?? ????, ??? ??? ??? ??? ??? ? ????. ?? ??? ??? ????. array fgetcsv(int $handle [, int $length [, string $delimiter [, string $enclosure ]]]) 4. ?? ?? fgetc() ??. fgetc() ??? ?? ????? ??? ?? ? ????. ?? ??? ??? ????. ??? fgetc(?? $handle) ? ??? $handle ???? ???? ??? ??? ?????. EOF? ???? FALSE ? ?????.5. ??? ??? ???? ??? ????. fscanf() ??. fscanf() ??? ??? ???? ??, ??? ??? ?? ??? ????, ??? ??? ? ????. ?? ??? ??? ????. ?? fscanf(?? $handle , ??? $format [, ?? &$... ]) ?? ???? ??? ?? ???? ??? ?????. ?, ?? ???? ? ?? "t"? ?? ???? ?? ??? ?????. 6. ?? ??? ? ???? 1. ?? ??? ?? ???? html ??? ???? ??? ? ????. ??? ???? ??? ????? ?? ????? ???? ?? ?? ?????? ????? ?? ??? ???? ???. PHP? move_uploaded_file()? ???? ?? ??? ?????. move_uploaded_file() ??? ?? ??? ??? ????. bool move_uploaded_file(string $filename, string $destination) ??: ??? ???? ?? HTTP POST? ?? ??????? ???? ???. ?? ?? ???? ???? ????? ?? ?? ????? ???? ? ?? ??? ???? ? ??? ? ? ????. ?? is_uploaded_file() ??? ???? ???. ? ??? ????? ??? ?? ?? ?????. HTTP POST? ?? ??? ????? ??? TRUE? ?????. ?? 4.5 HTML ???? ???? GIF ??? ??? html ????? ??
2. ?? ???? header() ??? ??? ??? HTTP ??? ????? ??? ????. ??? ? ??? ??? ??, ??? ?? ? ?? ??? ?????. header() ???? ?? ??? ??? ???? ??? ???? ????. ●??? ??. header() ??? ????? "Location: xxx"? ?? ???? "xxx"? ???? URL? ???? ?????. ?? ??: header("??: http://www.baidu.com"); //??? ???? ?? header("??: first.php"); //?? ????? first.php ???? ?????. ●???? ??? ?????. ?? ??, ??? XML ??? ??? ?? header() ??? ????? "Content-type:application/xml"? ????, ????? XML ?? ??? ?? ?? ?? ?????. ??? "Content-type: text/xml"? ?? ????? ?? ??? ?? ???? ?????. header() ??? readfile() ??? ???? ??? ??? ????? ? ???? 7. ?? ???? ?? ?? 1. ?? ?? ?? filesize() ??? ?? ??? ??? ??? ???? ? ?????. fread() ??? ??? filesize() ??? ?? ??? ? ?? ?? ? ???? 2. ??? ????? ?????. ??_??() is_dir() ??? ??? ?? ??? ?????? ??? ???? ? ?????. is_file() ??? ??? ?? ??? ???? ??? ???? ? ?????. is_reader() ??? ??? ??? ?? ? ??? ??? ???? ? ?????. is_writeable()? ??? ??? ?? ???? ??? ???? ? ????? 3. ?? ?? ?? ??() 4. ?? ?? bool copy(string $source,string $dest), ???? ??? ?? ???? ?? ???? ??? 5. ?? ?? ? ?? ??? move_uploaded_file() ?? ??? ??? ??? ? ?? rename() ??? ????. ?? ??? ??? ????. bool rename ( ??? $oldname , ??? $newname [, ?? $context ] ) ??: rename() ??? ?? ?? ??? ??? ? ?????. $oldname? ??? ?? ???? $newname? ? ?? ?????. ??, $oldname? $newname? ??? ??? ?? ?? ??? ????? 6. ?? ??? ?? PHP?? rewind(), ftell(), fseek() ?? ?? ?? ?? ???? ???? ?? ??? ????. ??? ???? feof() ??? ?? ???? ??? ?? ??? ????? ? ?????. ?? ?? ??? ?? ??? ????. ???() ??. ???? ??? ?? ???? ????? ?? ??? ??? ????? ? ?????. ???? ?? ?? ??? ?? ??? ??? ????? ????. ftell() ??. ?? ? ??? ??, ? ?? ??? ? ???? ??? ??? ??? ? ????. ?? ????? ?? ?? ????? ???. fseek() ??. ?? ???? ???? ? ??? ? ????. ?? ??? ??? ????. int fseek(??? $handle , int $offset [, int $whence ] ) ?? 4.8 ?? ??
|

? 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)

??? ??











ToversionAphp ??, forclarityandeasofrouting, ac

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

ProceduralAndObject-OrientedProgramming (OOP) InphpDiffersiMINTIFINTIONTERINGLISTURE, ??? ? ? DATAHANDLING

phpdoesnothaveAbuilt-inweakMapButofferSweakReference.1.WeakReenceAllowsholdingReferences withoutpreventinggarbageCollection.2.ItusteForCaching, Eventlisteners, andMetAdataWithoutAftingObjectLifeCycles.3.youcoucococococococcinccing

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

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

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

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