您好,欢迎访问三七文档
当前位置:首页 > 机械/制造/汽车 > PHP程序设计习题答案.pdf
1PHP1.Apachehttpd802.B/SC/S3.URLUniformResourceLocator4.HTTP5.HTTP()2.PHPMySQL()3.PHPMVCPHP()4.ZendStudioPHPIDE()5.PHP()1.URLDA.B.C.D.2.PHPAA.B.C.D.3.PHPCA.B.C.D.4.PHPLinuxApacheMySQLWebBA.WAMPB.LAMPC.LNMPD.WNMP5.PHPBAB.C.D.1.PHP1.23.4.5..21.phpphp2.PHP/**/3.PHP4.PHPextends5.@1.()2.ASPasp_tags()PHP!----#phpB.%C.D.eof1.phpBA.B.headerC.htmlD.apache2.PHPPHPCA.phpB.C.!----D.%%3.PHPAA.B.C.ASPD.SCRIPT4.PHPAA.!----B.#C./**/D.E_NOTICE5.tigger-error1.2.PHP()3.PHP()4.PHP5.E_ALLE_STRICT()1.DA:E_ERRORB:E_WARNNINGC:E_PARSED:E_NOTICE2.AA:trigger_error()B:error_reporting()C:error_trigger()D:reporting_error()3.Trigger_errorDA:2,1B:2,2C:1,2D:1,14.trigger_error()AA:ini_set()B:set_ini()C:reporting_error()D:error_reporting()5.PHPAA:B:error_reporting()echo()C:error_reporting()die()D:ini_set()die()1.(1)error_reporting,(2)display_errorsON,OFF(3)log_errors,OFF,;(4)track_errorsOFF,,PHP3HTTP1.HTTPHyperTextTransferProtocol2.HTTP/3.HTTP1.HTTPContent-Type4.41.HTTP2.TCPHTTP3.Web4.formmethodpost5.POST1.HTTPDA:B:C:HTTPD:2.CA:200B:302URIC:404D:5003.CA:3306B:23C:80D:214.HTTP(C)A:B:C:D:HTTP5.HTTPDA:POSTHEADB:GETHEADC:HEADOPTIONSD:POSTGET1.HTTP1/2GETHEADPOSTHTTPHTTP3HTTPContent-Type45HTTP4PHPWeb1.strip_tags()HTMLPHP1.htmlentities()HTMLPHP2.isset()0FALSENULL3.empty()0nullfalse2.is_numeric()1.PHPHTML()2.HTTP3.PHPApachePHPHTMLApache()4.()5.PHP1.isset()falseDA:0B:falseC:D:NULL2.CA:URLB:HTTPC:WebWebD:HTML3.FormnamemethodactionenctypeAA:B:C:D:4.inputtypetextcheckboxpasswordradioCA:B:C:D:5.GETPOSTCA:getACTIONURLURLB:postHTTPpostHTMLHEADERACTIONURLC:getpostpostgetD:FORMMethodGETFormurlurl1.GETPOST1.getpost2.getACTIONURLURLpostHTTPpostHTMLHEADERACTIONURL3.getpost4.get2KBpostIIS480KBIIS5100KB5.getpostGETPost5PHP1.sessioncookie2.cookie71.session_destroy()session3.PHPsession$_SESSION[]4.sessionsession_start()session1.session2.PHPsession3.$_SESSIONsession4.PHP$_SESSION[]session5.session_start()1.PHPDsessionA:session_autoB:session_startC:session_auto_startD:2.sessionCA:B:C:D:3.AA:CookieB:SessionC:RequestD:AB4.CA:SetCookieB:CookieC:Set-CookieD:5.PHPACookieA:setcookie()B:set_cookie()C:cookie()D:1.isset()empty()isset()nulltruefalseempty()falsetrue''0'0'nullfalsearray()61.RegExp1.PCREPerl2.|3.^2.PHPpreg_grep()1.()2.PHPPOSIXPCRE3.^$4.\B\b5.[]1.it\c\astBA:it\c\astB:it\\c\\astC:itcastD:it*c*ast2.DA:B:C:D:3.itcastDA:\w-B:\W+C:\s+D:\S+4.(go)+gleBA:googleB:gogleC:goglogleD:gle5.()BA:B:C:D:1.XSSxssCrossSiteScriptWebHTMLJavaScriptHTMLJavaScript71.r2.r+3.a4.file_put_contents()fopen()5.file_put_contents()FILE_APPEND1.()2.()3.4.5.Linux/()1.PHPCA:fileinfo()B:filesystem()C:filetype()D:fileowner()2.PHPBA:fileinfo()B:file_exists()C:fileperms()D:filesize()3.fileatime()BA:B:C:D:4.BA:fileinode()B:stat()C:filetype()D:fileowner()5.ctimeDA:windowsctimeB:linuxctimeC:linuxctimeD:linuxctime1.HTTPHTTPPOSTGET
本文标题:PHP程序设计习题答案.pdf
链接地址:https://www.777doc.com/doc-7295736 .html