爱问 爱问共享资料 爱问分类
首页 >IT资料 >IT书籍 >Apress_Beginning_PHP_and_MySQL_From_Novice_to_P…

Apress_Beginning_PHP_and_MySQL_…举报

简介:

php入门到精通原版,很不错哦。

PHPandMySQLthisprintforcontentonly—size&colornotaccurate7.5x9.25spine=x.xxx"824pagecountGilmoreFOURTHEDITIONBeginningPHPandMySQLFromNovicetoProfessionalFOURTHEDITION CYAN MAGENTA YELLOW BLACK PANTONE 123 CW.JasonGilmoreCompanioneBookAvailableLearnhowtobuilddynamic,database-drivenwebsitesusingtwooftheworld’smostpopularopensourcetechnologiesBOOKS FOR PROFESSIONALS BY PROFESSIONALSW.JasonGilmore,AuthorofBeginningPHPandPostgreSQL8,BeginningPHPandOracleUS$49.99Shelvein:WebDevelopment/PHPProgrammingUserlevel:Beginning/IntermediateTHEAPRESSROADMAPProPHPRefactoringProPHPandjQueryProPHP:Patterns,Frameworks,Testing,andMorePHPObject-OrientedSolutionsPracticalWeb2.0ApplicationswithPHPPHPObjects,Patterns,andPractice,ThirdEditionPHPforAbsoluteBeginnersBeginningPHPandMySQL,FourthEditionwww.apress.comSOURCE CODE ONLINECompanioneBookSeelastpagefordetailson$10eBookversionISBN978-1-4302-3114-1978143023114154999BeginningBeginningPHPandMySQL:FromNovicetoProfessionalDearReader,PHPandMySQLhavelongrankedamongtheworld'smostpopulartechnologiesforbuildingpowerfulwebsites—andforgoodreason.Bothofferdevelopersanamazingarrayoffeatures,yethavemanagedtoremainveryapproachableevenamongthemostnovicedeveloper.Inthelatesteditionofthisbestsellingbook,you'lllearnallaboutPHPandMySQL,settingyoualongthepathtowardscreat-ingthewebsiteyou'velongdreamedabout.IbeginwithavastoverviewofPHP'scapabilities,startingwithin-depthinstructionsoftheinstallationandconfigurationprocess.Next,IdevoteseveralchapterstofundamentalPHPconcepts,includingvariables,datatypes,func-tions,andobjectorientation.IalsointroducekeyconceptssuchasHTMLformprocessing,sessionhandling,andAJAX.ThisneweditionalsointroducesyoutoseveralofPHP'slatestfeatures,includingnamespaces,enhancedinputfilteringandvalidation,andimprovedconfigurationoptions.IthenintroducemanyofMySQL'skeyfeatures,beginningbyguidingyouthroughMySQL'sinstallationandconfigurationprocess.Next,you'lllearnaboutMySQL'sstorageenginesanddatatypes,administrationutilities,andsecurityfea-tures..I'llalsointroduceyoutoseveraladvancedfeaturessuchastriggers,storedprocedures,andviews.Alongtheway,you'llgaininsightintoPHP'sabilitytocom-municatewithMySQL,andyou’lllearnhowtocreateandexecutequeries,performsearches,andcarryoutotherkeydatabasetasksfromwithinyourwebsite.Whetheryou'reanewcomersearchingforathoroughintroductiontothesepopulartechnologiesoraseasoneddeveloperinneedofacomprehensiverefer-ence,thisbookisforyou.W.JasonGilmoreTHE EXPERT’S VOICE IN WEB DEVELOPMENTDownloadfromWow!eBook<www.wowebook.com>BeginningPHPandMySQLFromNovicetoProfessionalFourthEditionW.JasonGilmoreBeginningPHPandMySQL:FromNovicetoProfessional,FourthEditionCopyright2010byW.JasonGilmoreAllrightsreserved.Nopartofthisworkmaybereproducedortransmittedinanyformorbyanymeans,electronicormechanical,includingphotocopying,recording,orbyanyinformationstorageorretrievalsystem,withoutthepriorwrittenpermissionofthecopyrightownerandthepublisher.ISBN-13(pbk):978-1-4302-3114-1ISBN-13(electronic):978-1-4302-3115-8PrintedandboundintheUnitedStatesofAmerica987654321Trademarkednames,logos,andimagesmayappearinthisbook.Ratherthanuseatrademarksymbolwitheveryoccurrenceofatrademarkedname,logo,orimageweusethenames,logos,andimagesonlyinaneditorialfashionandtothebenefitofthetrademarkowner,withnointentionofinfringementofthetrademark.Theuseinthispublicationoftradenames,trademarks,servicemarks,andsimilarterms,eveniftheyarenotidentifiedassuch,isnottobetakenasanexpressionofopinionastowhetherornottheyaresubjecttoproprietaryrights.PresidentandPublisher:PaulManningLeadEditor:MichelleLowmanDevelopmentEditor:TomWelshTechnicalReviewer:MattWadeEditorialBoard:ClayAndres,SteveAnglin,MarkBeckner,EwanBuckingham,GaryCornell,JonathanGennick,JonathanHassell,MichelleLowman,MatthewMoodie,DuncanParkes,JeffreyPepper,FrankPohlmann,DouglasPundick,BenRenow-Clarke,DominicShakeshaft,MattWade,TomWelshCoordinatingEditors:AnneCollettandJenniferL.BlackwellCopyEditor:MaryBehrCompositor:BythewayPublishingServicesIndexer:BIMIndexing&ProofreadingServicesArtist:AprilMilneCoverDesigner:AnnaIshchenkoDistributedtothebooktradeworldwidebySpringerScience+BusinessMedia,LLC.,233SpringStreet,6thFloor,NewYork,NY10013.Phone1-800-SPRINGER,fax(201)348-4505,e-mailorders-ny@springer-sbm.com,orvisitwww.springeronline.com.Forinformationontranslations,pleasee-mailrights@apress.com,orvisitwww.apress.com.ApressandfriendsofEDbooksmaybepurchasedinbulkforacademic,corporate,orpromotionaluse.eBookversionsandlicensesarealsoavailableformosttitles.Formoreinformation,referenceourSpecialBulkSales–eBookLicensingwebpageatwww.apress.com/info/bulksales.Theinformationinthisbookisdistributedonan“asis”basis,withoutwarranty.Althougheveryprecautionhasbeentakeninthepreparationofthiswork,neithertheauthor(s)norApressshallhaveanyliabilitytoanypersonorentitywithrespecttoanylossordamagecausedorallegedtobecauseddirectlyorindirectlybytheinformationcontainedinthiswork.Thesourcecodeforthisbookisavailabletoreadersatwww.apress.com.CONTENTSATAGLANCEiiiContentsataGlanceAbouttheAuthor................................................................................................xxixAbouttheTechnicalReviewer............................................................................xxxAcknowledgments.............................................................................................xxxiIntroduction......................................................................................................xxxiiChapter1:IntroducingPHP....................................................................................1Chapter2:ConfiguringYourEnvironment..............................................................9Chapter3:PHPBasics..........................................................................................41Chapter4:Functions.............................................................................................91Chapter5:Arrays................................................................................................103Chapter6:Object-OrientedPHP..........................................................................135Chapter7:AdvancedOOPFeatures....................................................................159Chapter8:ErrorandExceptionHandling............................................................175Chapter9:StringsandRegularExpressions......................................................191Chapter10:WorkingwiththeFileandOperatingSystem..................................229Chapter11:PEAR................................................................................................257Chapter12:DateandTime.................................................................................269Chapter13:WorkingwithHTMLForms..............................................................287Chapter14:AuthenticatingYourUsers..............................................................303Chapter15:HandlingFileUploads......................................................................319Chapter16:Networking......................................................................................331Chapter17:PHPandLDAP..................................................................................351CONTENTSATAGLANCEivChapter18:SessionHandlers.............................................................................367Chapter19:TemplatingwithSmarty..................................................................387Chapter20:WebServices...................................................................................411Chapter21:SecuringYourWebSite...................................................................427Chapter22:CreatingAjax-enhancedFeatureswithjQueryandPHP.................437Chapter23:BuildingWebSitesfortheWorld....................................................449Chapter24:IntroducingtheZendFramework....................................................457Chapter25:IntroducingMySQL..........................................................................477Chapter26:InstallingandConfiguringMySQL...................................................487Chapter27:TheManyMySQLClients.................................................................505Chapter28:MySQLStorageEnginesandDataTypes.........................................527Chapter29:SecuringMySQL..............................................................................557Chapter30:UsingPHPwithMySQL....................................................................587Chapter31:IntroducingPDO..............................................................................607Chapter32:StoredRoutines...............................................................................627Chapter33:MySQLTriggers...............................................................................649Chapter34:MySQLViews...................................................................................659Chapter35:PracticalDatabaseQueries.............................................................673Chapter36:IndexesandSearching....................................................................693Chapter37:Transactions....................................................................................709Chapter38:ImportingandExportingData.........................................................719Index...................................................................................................................733CONTENTSvContentsAbouttheAuthor................................................................................................xxixAbouttheTechnicalReviewer............................................................................xxxAcknowledgments.............................................................................................xxxiIntroduction......................................................................................................xxxiiChapter1:IntroducingPHP....................................................................................1History...............................................................................................................................1PHP4........................................................................................................................................................2PHP5........................................................................................................................................................3PHP5.3.....................................................................................................................................................4PHP6........................................................................................................................................................5GeneralLanguageFeatures...............................................................................................5Practicality................................................................................................................................................5Power.......................................................................................................................................................6Possibility.................................................................................................................................................7Price.........................................................................................................................................................7Summary...........................................................................................................................8Chapter2:ConfiguringYourEnvironment..............................................................9InstallationPrerequisites...................................................................................................9DownloadingApache..............................................................................................................................10DownloadingPHP...................................................................................................................................10DownloadingtheDocumentation...........................................................................................................11InstallingApacheandPHPonLinux................................................................................12CONTENTSviInstallingApacheandPHPonWindows..........................................................................13InstallingIISandPHPonWindows..................................................................................15TestingYourInstallation..................................................................................................16ConfiguringPHP...............................................................................................................18ConfiguringPHPatBuildTimeonLinux.................................................................................................18CustomizingtheWindowsBuild.............................................................................................................19Run-TimeConfiguration...................................................................................................19ManagingPHP’sConfigurationDirectives..............................................................................................19PHP’sConfigurationDirectives...............................................................................................................21ChoosingaCodeEditor....................................................................................................37AdobeDreamweaverCS5.......................................................................................................................37Notepad++.............................................................................................................................................37PDT(PHPDevelopmentTools)................................................................................................................38ZendStudio............................................................................................................................................38ChoosingaWebHostingProvider....................................................................................38SevenQuestionsforAnyProspectiveHostingProvider.........................................................................39Summary.........................................................................................................................41Chapter3:PHPBasics..........................................................................................41EmbeddingPHPCodeinYourWebPages.......................................................................41DefaultSyntax........................................................................................................................................42Short-Tags..............................................................................................................................................42Script......................................................................................................................................................43ASPStyle................................................................................................................................................43EmbeddingMultipleCodeBlocks...........................................................................................................44CommentingYourCode...................................................................................................44Single-LineC++Syntax.........................................................................................................................44ShellSyntax............................................................................................................................................44Multiple-LineCSyntax...........................................................................................................................45CONTENTSviiOutputtingDatatotheBrowser.......................................................................................45Theprint()Statement..............................................................................................................................46Theecho()Statement.............................................................................................................................47Theprintf()Statement............................................................................................................................47Thesprintf()Statement...........................................................................................................................49PHP’sSupportedDataTypes...........................................................................................49ScalarDataTypes...................................................................................................................................49CompoundDataTypes............................................................................................................................51ConvertingBetweenDataTypesUsingTypeCasting.............................................................................52AdaptingDataTypeswithTypeJuggling...............................................................................................53Type-RelatedFunctions..........................................................................................................................55TypeIdentifierFunctions........................................................................................................................56Identifiers.........................................................................................................................56Variables................................................................................................................

用户评论

0/200
暂无评论

资料阅读排行

该用户的其它资料

关闭

请选择举报的类型

关闭

提示

提交成功!

感谢您对爱问共享资料的支持,我们将尽快核实并处理您的举报信息。

关闭

提示

提交失败!

您的举报信息提交失败,请重试!

关闭

提示

重复举报!

亲爱的用户!感觉您对爱问共享资料的支持,请勿重复举报噢!

收藏
资料评价:

所需积分:2 立即下载
返回
顶部
举报
资料
关闭

温馨提示

感谢您对爱问共享资料的支持,精彩活动将尽快为您呈现,敬请期待!