资源描述:
《[PHP.Web.Services(2013.4)].Lorna.Jane.Mitchell.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、PHPWebServicesLornaJaneMitchellPHPWebServicesbyLornaJaneMitchellCopyright©2013LornaJaneMitchell.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotional
2、use.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:800-998-9938orcorporate@oreilly.com.Editors:MariaGulickandRachelRoumeliotisCoverDesigner:RandyComerProductionEditor:MarisaLaFleurInteriorDesigner
3、:DavidFutatoProofreader:MarisaLaFleurIllustrator:RebeccaDemarestApril2013:FirstEditionRevisionHistoryfortheFirstEdition:2013-04-19:FirstreleaseSeehttp://oreilly.com/catalog/errata.csp?isbn=9781449356569forreleasedetails.NutshellHandbook,theNutshellHandbooklogo,andtheO’Reillylogoareregisteredtr
4、ademarksofO’ReillyMedia,Inc.PHPWebServices,theimageofanAlpineAccentor,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofa
5、trade‐markclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcontainedherein.ISBN:978-1-449-35656-9[LSI]TableofContents
6、Preface.......................................................................vii1.HTTP......................................................................1ClientsandServers3MakingHTTPRequests4Curl4BrowserTools6PHP82.HTTPVerbs................................................................11
7、MakingGETRequests11MakingPOSTRequests13UsingOtherHTTPVerbs153.Headers...................................................................19RequestandResponseHeaders20CommonHTTPHeaders20User-Agent21HeadersforContentNegotiation22SecuringRe