DreamweaverDeveloper'sInstantTroubleshooterRachelAndrewGarethDownes-PowellNancyGillKevinMarshallDrewMclellanApressDreamweaverDeveloper'slnstantTroubleshooter2003RachelAndrew,GarethDownes-Powell,NancyGill,KevinMarshall,DrewMclellanOriginallypublishedbyApressin2003Alirightsreserved.
Nopartofthisworkmaybereproducedortransmittedinanyformorbyanymeans,electronicormechanical,includingphotocopying,recording,orbyanyinformationstorageorretrievalsystem,withoutthepriorwrittenpermissionofthecopyrightownerandthepublisher.
ISBN978-1-59059-233-5ISBN978-1-4302-0806-8(eBook)DOI10.
1007/978-1-4302-0806-8Trademarkednamesmayappearinthisbook.
Ratherthanuseatrademarksymbolwitheveryoccurrenceofatrademarkedname,weusethenamesonlyinaneditorialtashionandtothebenefitofthetrademarkowner,withnointentionofinfringementofthetrademark.
TheDreamweaverMXlogoisatrademarkofMacromedia,lnc.
andisusedwithpermission.
Theinformationinthisbookisdistributedonan"asis"basis,withoutwarranty.
Althougheveryprecautionhasbeentakeninthepreparationofthiswork,neithertheauthor(s)norApressshallhaveanyliabilitytoanypersonorentitywithrespecttoanylossordamagecausedorallegedtobecauseddirectlyorindirectlybytheinformationcontainedinthiswork.
CreditsEditorialBoardDanApplemanCraigBerryGaryCornellTonyDavisStevenRycroftJulianSkinnerMartinStreicherJimSumserKarenWattersonGavinWrayJohnZukowskiTechnicalReviewersRayWestDavidPowersDaniloCelieMidJamieShefaliKulkarniCommunicationsManagerBruceLawsonProofreaderAgnesWiggersCommissioningEditorSimonMackieTechnicalEditorsDanWalkerMattMachellSimonMackieDaveMercerAmandaKayProjectManagersBeckieStonesSofiaMarchantGraphicEditorPipWonsonCoverDesignerKurtKramesCopyEditorNicoleLeClercIndexerBillJohncocksAbouttheAuthorsSolveDreamweaver'smostfrequentproblemswiththehelpofrenownedprofessionals.
RachelAndrewRachelAndrewrunsherownwebsolutionscompanyintheUK,edgeofmyseat.
com,thecompanywebsitealsobeinghometovarious"webstandards"-focusedarticlesandDreamweaverextensions.
RachelisamemberoftheWebStandardsProjectontheDreamweaverTaskForce,andhopestoencouragebestpracticesinthesupportanduseofW3CStandardsinDreamweaver.
Whennotwritingcode,orwritingaboutwritingcode,Rachelspendstimewithherdaughter,triestoencouragepeopletouseDebianGNU/Linux,studieswiththeOpenUniversity,andenjoysanicepintofbeer.
Thanksmustgotoeveryoneatglasshausformakingtheprocessofworkingonthisbookenjoyable;toDrewMcLellanforhisconstantloveandsupport;andtomydaughterBethany,whothinksthatallmummiesarepermanentlyattachedtoacomputer.
Thankyou.
GarethDownes-PowellGarethhasbeenworkinginthecomputerindustryforthelast12years,primarilybuildingandrepairingPCs,andwritingcustomdatabaseapplications.
HebranchedoutontotheInternet6yearsago,andstartedcreatingwebsitesandapplications.
Thisisnowhismainareaofexpertise,andhespecializesinwritingcustomPHPsitesandapplications,utilizingMySQLback-enddatabases.
GarethisapartnerinBuzzinet,http://www.
buzzinet.
co.
uk,anInternetcompanyspecializinginbusinesssolutions,andofferingprofessionalwebdesignandhostingservices.
ThroughhisworkheusesawiderangeofMacromediaproducts,fromDreamweaverMXthroughtoFlashMXandDirectorforcustomInternetandmultimediaapplications.
Recentlyhestartedhttp://www.
dreamweavermxsupport.
com/asawayofprovidingsupportforthewholeMacromediaDreamweaverMXcommunity,andheregularlyaddsnewtutorialsandguidestothisrapidlyexpandingsite,aswellasextensionssuchasthePHPLoginSLJiteforDreamweaverMX.
Garethenjoyskeepingupwiththelatestdevelopments,andhehasbeenprovidingsupporttomanyuserstohelpthemuseDreamweaverMXwithPHP.
HeactivelypromotesLinuxserversrunningPHPandtheMySQLDatabaseSystem,andhasnowcowrittenanumberofbooks,andhascontributedarticlestoanumberofmagazinesonafreelancebasis.
Thankstoallthestaffatglasshausfortheirhelpincreatingthisbook.
NancyGillKevinMarshallNancyGillistheownerofWebWishProductions,awebdesignbusinessshefoundedin1996afterbeingturnedontotheInternetataseminardesignedtogetcustomersinterestedinamassmall.
WebWishProductionstargetsmostlysmall-tomid-sizedbusinessesandhasworkedwithcompaniesineveryfieldfromagriculturetoentertainmentandmedia.
Currently,about90%ofthecompany'sbusinessconsistsofdata-drivensites.
Afterhand-codinginNotepadfornearly3years,NancydiscoveredMacromediaandDreamweaverin1999andneverlookedback.
ShebecameinvolvedintheMacromediaforumsinlate2000andhasbeenamemberofTeamMacromediasinceDecemberof2001.
NancyhasalsoparticipatedinanumberofbetaprogramsforMacromediaoverthepastyearandisexcitedaboutthenewMXlineofproducts.
KevinMarshalllivesinPerth,Scotland.
HeisaseniorprogrammerwithWebXeL.
comLtdandisalsoITmanagerwithSpectraglassLtd;bothcompaniesarebasedinPerth,Scotland.
Hehasbeeninvolvedincomputerprogrammingsince1990,web-basedprogrammingusingASPsince1997,andhasbeenbuildingASP.
NETapplicationssinceASP.
NETBeta2wasreleasedin2001.
HehasbeenanavidDreamweaverusersinceversion1waslaunchedandwiththereleaseofMXhasmovedintodevelopingextensions.
WebXeL.
comLtdlaunchedanewwebsiteinNovember2002dedicatedtothedevelopmentoffreeandcommercialDreamweaverMXextensionsforASP.
NET.
Thesitecanbefoundathttp://www.
webxel-dw.
co.
uk.
KevinisalsoaregularcontributortotheMacromedianewsgroups,providingadviceandassistancetootherDreamweaverusers.
Iwouldliketothankmywife,Abby,andmyparents,ElliottandPatricia,fortheircontinuedsupport.
IwouldalsoliketothankLawrenceMcNamaraofWebXel.
comLtd.
DrewMclellanDrewMclellanhasbeeninvolvedinwebdesignanddevelopmentsince1996.
Startingoriginallyasahand-coder,DrewquicklysawthegreatproductivitybenefitsthatcouldbebroughtbyaVisualEditorwiththearrivalofDreamweaver1.
2.
Sincethen,DrewhasbeenpushingtheboundariesofDreamweaverthroughitssolidHTML-basedmethodologyandpowerfulextensiblearchitecture.
WithliterallytensofthousandsofhisDreamweaverExtensionsinusearoundtheglobe,DrewhasestablishedafirmseatingwithinthecenteroftheonlineDreamweavercommunityandcanbefoundonadailybasisteachingandaidingfellowdevelopersinMacromedia'snewsforums.
Drew'sonlinetutorialsfromhisDreamweaverFever.
comwebsitearerecognizedasoneofthemorevaluableDreamweaverresourcesavailable,duetotheirclearandnonassuminguseoflanguage.
DrewalsohelpsoutattheWebStandardsProject(http://www.
webstandards.
org/)asaDreamweaverexpert,focusingontheissuessurroundingwebstandardsinMacromedia'sflagshipHTMLeditor.
AsaTeamMacromediavolunteer,DrewisacommittedDreamweaveruserandenjoysnothingmorethanbeingabletosharehisknowledgeandexperienceoftheproductwithfellowdevelopers.
Drewhasawideknowledgeofbothwebdesignanddevelopment,andiscurrentlyworkingforadesign,marketing,andITagencyinLondon,UK.
Introduction1Chapter1:SettingUpSiteDefinitions5BeforeYouStartBasicSiteDefinition.
BasicHTMLSite.
7DynamicSite8AdvancedSiteDefinition11LocalInfo11RemoteInfo11TestingServer.
12Cloaking13DesignNotes13SiteMapLayout14FileViewColumns14Contribute15TheEditSitesWindow.
15BringingItAllTogether15TopQuestions.
16Summary18Chapter2:DatabasesandConnections21UnderstandingDatabases21ChoosingaDatabase.
22MicrosoftAccess22SOLServer.
23Oracle23PostgreSQL24OtherDatabases24DesigningYourDatabase.
25AnExampleDatabase25CreatingtheConnection.
.
-27ASP.
27ASP.
NET30ColdFusion31GettingDatafromtheDatabase32FrequentlyAskedQuestlons.
34Summary35Chapter3:SettingUpliSforHTML,ASP,orPHP37InstallingandSettingUpliS37CheckingtheInstallation39AdministeringaBasicWebSite40viiiCheckingThatWebPagesAreBeingServedCorrectly42TroubleshootingliSInstallProblems44InstallingPHPforliS45DownloadingPHP45InstallingPHP46AddingPHPtoliS48TestingPHPPages.
52InstallingPHPExtensions53TroubleshootingPHP54Summary66Chapter4:ApacheandWindows59Apache.
59WhichVersionofApache60Security.
60DownloadingApache61InstallingApache61Apache'sConfigurationFiles65CheckingtheApacheInstallation68TroubleshootingGuide69ApacheModules.
70InstallingPHPwithApacheonWlndows.
70DownloadingPHP70InstallingPHP71ConfiguringApacheforPHP72ConfiguringPHP.
73RestartingApache75TestingApacheandPHP76ixTroubleshootingaPHPInstallation.
PHPExtensions77Summary78Chapter5:ApacheandPHPSetuponLinux81Linux82RecommendedSoftware82Telnet83Samba84Firewall85TheApacheWebServer85DownloadingApache85InstallingApache86ConfiguringApache91ControllingtheApacheServer93TestingApache94TroubleshootingtheApachelnstallation.
95ApacheModules.
96InstallingPHPintoApache96DownloadingPHP96ExtractingthePHPFile97CompilingPHPandConfiguringApache99ConfiguringApache100ConfiguringPHP102RestartingApache104TestingApacheandPHP105TroubleshootingthePHPInstallation106Summary107XChapter6:MySQLSetup109InstallingMySQLonWindows110DownloadingMySQL110InstallingMySQL110StartingtheMySQLServer112InstallingMySQLonLinux113DownloadingMySQL113InstallingMySQL114StartingandStoppingtheMySQLServer116MySQLFileLocations117MySQLServerSetupandConfiguration118SettingtheMySQLRootPassword119WorkingwithMySQL119WorkingwithUsers.
122FrequentlyAskedQuestions130Summary138Chapter7:CSS141WhyUseCSSforTextStylingInsteadofTags141SeparatingDocumentStructurefromPresentation141CSSToolsinDreamweaverMX.
146Preferences146TheCSSStylesPanel147ThePropertiesInspector148FrequentlyAskedQuestions.
148Summary161xiChapter8:Templates163HowTemplatesWork163LockedRegions163EditableRegions164AdvantagesandDisadvantagesofTemplates164CreatingaBasicTemplatePage164AddingTemplateFeatures165EditableRegions166CreatingaTemplateforDynamicPages174FrequentlyAskedQuestions.
175Summary177Chapter9:WebStandards179WhoSetstheStandards179DoesItTakeLongertoWorkwiththeStandards180WhyShouldIWorkwiththeStandards180Future-Proofing180Accessibility181EaseofDebugging181WorkingAsaTeam182CreatingStandards-CompliantDocumentsinDreamweaverMX182HTMLorXHTML182WhatIsaDOCTYPE186HowCanIConvertanHTMLDocumenttoXHTML191HowCanICheckThatMyDocumentIsStandards-Compliant192ValidatingWithinDreamweaver192ValidatingAttheW3CWebSite193xiiValidatingDynamicPages194StructuredMarkup194FrequentlyAskedQuestions.
197Summary199Chapter10:CreatingFlexibleLayouts201SizingUptheProblem201TheTroublewithResolution202WhyShouldtheLayoutStretch204Considerations205BuildingaStretchablePage209StylingtheBanner211StylingtheNavigation211StylingtheContent212FrequentlyAskedQuestions.
213Summary214Chapter11:TopPHPQuestions217WhyDon'tSessionVariablesWork217HowDoICheckThatSessionVariablesAreWorking218WhenDoIHavetoUsesession_start220HowDoIUploadaFileThroughtheBrowser220DisplayinganUploadedImage.
222HowDoIGetaListofFilesinaDirectory222E-mail.
223HowDoISendanE-mailAsHTML223xiiiHowDoISendaNewsletterwithPHP224HowDoIStopaScriptAfterTimingOutWhenSendingManyE-mails225DateandTimeProblems226HowDoIReadtheDateorTimefromtheServer226HowDoIConvertaDatetoandfromMySQLFormat226HowDoIFindtheLengthofTimeBetweenTwoDates228HowDoIFindaDate,xDays/MonthsNearsinthePastorFuture228CommonPHPErrors229ParseErrors229UndefinedIndexorVariable230HeadersAlreadySentErrors231HowDoIForceaFiletoDownloadRatherThanOpen232HowDoIFindtheDimensionsofanImage233HowDoICreateaRandomPassword234Summary235Chapter12:TopASPQuestions237xivHowDoIConnecttoaDatabaseWithoutaDSN237SoWhat'saConnectionString238HowDoIModifyMyConnection239HowDoIPreserveLineBreaksfromaTextarea240CanIPreventOffensiveLanguagefromBeingDisplayed241HowCanIRememberaVisitor'sName242HowDoICreateTableswithStripedRows244HowDoIGroupDatabyItsHeadings246SortingtheData246HowDoIE-mailtheResultsofMyForm248SettingUptheForm249CreatingtheE-mail250Summary252Chapter13:TopASP.
NETQuestions255HowDoIInstall·the.
NETFramework255WhatVersionShouldIInstall256WhatAretheSystemRequirements256HowCanIFixaBroken.
NETFrameworkInstallation257WhatDoestheError"AccessisDenied'some.
dll'"Mean257WhatIsaServerControl258What'stheDifferenceBetweenWebControlsandHTMLControls259WhatIsaUserControl260WhyDoesDreamweaverMXSometimesFailtoRenderServerControls260HowDoIEditaServerControl'sTagAfterItHasBeenInserted261WhatIsCode-Behind263CompiledAssemblies263DirectLinktotheCode-BehindFile263NamingYourCode-BehindFile263What'sweb.
conflg264HowDoIMakeMySiteUseItsOwnbinFolder264CanIUseDreamweaverMXandVisualStudio.
NETTogether266WhatProcessDoIUse267WhatArePostBackandVlewState268WhyMustSomeServerControlsBePlacedWithinaForm269XVEventsAPage'sLifeCycleWhat'sThatAbout270TheLifeCycleofaPage270Events271WhenDoIUseInsteadof272WhyDoestheSelectedItemofaDropDownListorListBoxGetLostonaPostBack273HowCanIInsertanItemintoaData-BoundDropDownListorListBox275HowDoIProgrammaticallySelectanIteminaDropDownListorListBox276What'stheDifferenceBetweenanMM:DataSetandaTrueDataSet.
.
.
.
278Summary279Index281
弘速云怎么样?弘速云是创建于2021年的品牌,运营该品牌的公司HOSU LIMITED(中文名称弘速科技有限公司)公司成立于2021年国内公司注册于2019年。HOSU LIMITED主要从事出售香港vps、美国VPS、香港独立服务器、香港站群服务器等,目前在售VPS线路有CN2+BGP、CN2 GIA,该公司旗下产品均采用KVM虚拟化架构。可联系商家代安装iso系统,目前推出全场vps新开7折,...
2022年春节假期陆续结束,根据惯例在春节之后各大云服务商会继续开始一年的促销活动。今年二月中旬会开启新春采购季的活动,我们已经看到腾讯云商家在春节期间已经有预告活动。当时已经看到有抢先优惠促销活动,目前我们企业和个人可以领取腾讯云代金券满减活动,以及企业用户可以领取域名优惠低至.COM域名1元。 直达链接 - 腾讯云新春采购活动抢先看活动时间:2022年1月20日至2022年2月15日我们可以在...
gcorelabs提供美国阿什本数据中心的GPU服务器(显卡服务器),默认给8路RTX2080Ti,服务器网卡支持2*10Gbps(ANX),CPU为双路Silver-4214(24核48线程),256G内存,1Gbps独享带宽仅需150欧元、10bps带宽仅需600欧元,不限流量随便跑吧。 官方网站 :https://gcorelabs.com/hosting/dedicated/gpu/ ...
headersalreadysent为你推荐
phpcms模板PHPCMS V9模板新iphone也将禁售iPhone停用怎么解锁 三种处理方法详解cisco2960配置思科的交换机怎么配置补贴eset正大天地网二三线城市适合做生鲜b2b电商吗qq头像上传失败我怎么总是QQ上传头像失败,团购程序什么是团购 团购的目的与流程zencart模板求zen-cart 模板结构社区动力我是一名新入职社区员工,怎样做好社区工作?长沙电话号码升位长沙的座机什么时候变成8位的,急!在线等答案,那如果之前的7位数是不是都会变啊?变成什么样了呢?
asp虚拟空间 2019年感恩节 arvixe bluehost softbank官网 shopex空间 http500内部服务器错误 美国php空间 标准机柜尺寸 panel1 699美元 91vps 四核服务器 空间首页登陆 国外在线代理服务器 阿里云邮箱登陆 群英网络 广东服务器托管 阿里云邮箱怎么注册 葫芦机 更多