Self-referentiallyshortforPHP:HypertextPreprocessor,anopensource,server-side,HTMLembeddedscriptinglanguageusedtocreatedynamicWebpages.InanHTMLdocument,PHPscript(similarsyntaxtothatofPerlorC)isenclosedwithinspecialPHPtags.BecausePHPisembeddedwithintags,theauthorcanjumpbetweenHTMLandPHP(similartoASPandColdFusion)insteadofhavingtorelyonheavyamountsofcodetooutpu...
Wantyoursiteshowcased?emailusapressrelease.ImprovingDiskI/OinPHPAppsJul7,2012AgreatarticlefromRodneyRehmaboutdiskI/OimprovementsinSmarty3.1.0,andtipsaboutdiskI/OforPHPingeneral.ImprovingDiskI/OinPHPAppsChinese(simplified)docsreleased!Jun30,2012Thanksto"jake"forallhishardwork!docsarehereSmarty3.1.11ReleasedJun30,2012Smarty3.1.11hasbeenreleased.Minorbugfixesandim...
Inthischapter,you'lllearn:WhatWebPagesandWebMatrixare,plushowtoinstalleverything,getstarted,anddeploysites.IntroducingASP.NETWebPages2ByMikePope|May18,2012ThissetoftutorialsgivesyouanoverviewofASP.NETWebPages(version2)andRazorsyntax,alightweightframeworkforcreatingdynamicwebsites.ItalsointroducesWebMatrix,atoolforcreati...WebsiteCreationwithWebMatrix(Intermedia...
ASPFileSystemObjectObject«PreviousNextChapter»TheFileSystemObjectobjectisusedtoaccessthefilesystemonaserver.TryitYourself-ExamplesDoesaspecifiedfileexist?Howtocheckifafileexists.Doesaspecifiedfolderexist?Howtocheckifafolderexists.Doesaspecifieddriveexist?Howtocheckifadriveexists.GetthenameofaspecifieddriveHowtogetthenameofaspecifieddrive.Getthenameoftheparentf...
ASPCookies«PreviousNextChapter»Acookieisoftenusedtoidentifyauser.TryitYourself-ExamplesWelcomecookieHowtocreateaWelcomecookie.WhatisaCookie?Acookieisoftenusedtoidentifyauser.Acookieisasmallfilethattheserverembedsontheuser'scomputer.Eachtimethesamecomputerrequestsapagewithabrowser,itwillsendthecookietoo.WithASP,youcanbothcreateandretrievecookievalues.HowtoCreate...
ASPSessionObject«PreviousNextChapter»ASessionobjectstoresinformationabout,orchangesettingsforausersession.TheSessionobjectWhenyouareworkingwithanapplicationonyourcomputer,youopenit,dosomechangesandthenyoucloseit.ThisismuchlikeaSession.Thecomputerknowswhoyouare.Itknowswhenyouopentheapplicationandwhenyoucloseit.However,ontheinternetthereisoneproblem:thewebserverdoesnotk...