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
hypervmart怎么样?hypervmart是一家成立了很多年的英国主机商家,上一次分享他家还是在2年前,商家销售虚拟主机、独立服务器和VPS,VPS采用Hyper-V虚拟架构,这一点从他家的域名上也可以看出来。目前商家针对VPS有一个75折的优惠,而且VPS显示的地区为加拿大,但是商家提供的测速地址为荷兰和英国,他家的优势就是给到G口不限流量,硬盘为NVMe固态硬盘,这个配置用来跑跑数据非常...
RAKsmart 商家我们肯定不算陌生,目前主要的营销客户群肯定是我们。于是在去年的时候有新增很多很多的机房,比如也有测试过的日本、香港、美国机房,这不今年有新增韩国机房(记得去年是不是也有增加过)。且如果没有记错的话,之前VPS主机也有一次磁盘故障的问题。
这不今天有看到商家新增韩国服务器产品,当然目前我还不清楚商家韩国服务器的线路和速度情况,后面我搞一台测试机进行...
BGPTO是一家成立于2017年的国人主机商,从商家背景上是国内的K总和有其他投资者共同创办的商家,主营是独立服务器业务。数据中心包括美国洛杉矶Cera、新加坡、日本大阪和香港数据中心的服务器。商家对所销售服务器产品拥有自主硬件和IP资源,支持Linux和Windows。这个月,有看到商家BGPTO日本和新加坡机房独服正进行优惠促销,折扣最低65折。第一、商家机房优惠券码这次商家的活动机房是新加坡...
headersalreadysent为你推荐
Downloadwordpress操作httpaccess数据库修复Access数据库恢复,有些表被损坏或有些表的部分记录被损坏,求解啊iproute怎么查看已配置的静态路由163yeahyeah邮箱和163邮箱的区别在哪里 那个好用重庆400年老树穿楼生长生长百年的老树,仍能不断生长,是因为主要有什么组织asp.net网页制作如何用DREAMWEAVER ASP.NET 做网页资费标准联通所有套餐介绍购物车在超市、商场中为什么需要使用购物车呢?银花珠树晓来看下雪喝酒的诗句
台湾vps 过期域名 东莞服务器租用 深圳主机租用 com域名价格 欧洲欧洲vps 国外服务器网站 paypal认证 12306抢票攻略 一元域名 微信收钱 admit的用法 免费申请个人网站 联通网站 监控服务器 阿里云免费邮箱 国外在线代理服务器 存储服务器 网站防护 restart 更多