Professional Web Applications Themes

New Dynamic Site - Macromedia Dynamic HTML

Building my first dynamic website and I was curious if my home page (with login and registration areas) needed to be html or a php page?...

  1. #1

    Default New Dynamic Site

    Building my first dynamic website and I was curious if my home page (with login and registration areas) needed to be html or a php page?
    Cjohn50 Guest

  2. #2

    Default Re: New Dynamic Site

    Cjohn50 wrote: 

    If you're creating a site with any dynamic pages, it's best to make them
    all PHP pages. That way, you can add PHP code to any page without
    needing to redirect users from the old HTML page.

    --
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/
    David Guest

  3. #3

    Default Re: New Dynamic Site

    Thanks David Powers! So instead of developing an html page adding forms and
    inserting the needed php code I should just create the whole page with php?
    Pretty cool I didn't realize you could do that. Thanks again.

    Cjohn50 Guest

  4. #4

    Default Re: New Dynamic Site

    > I should just create the whole page with php?

    Hmmm. Any page can contain both HTML and PHP. If you want the PHP to be
    pd and executed, the filename needs to use a *.php extension (unless you
    have configured the server to p all extensions). So, the HTML part of
    the page would contain the form, and the PHP part of the page would process
    the form submit to authenticate the user's login.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "Cjohn50" <com> wrote in message
    news:g4d9ej$fp2$macromedia.com... 

    Murray Guest

  5. #5

    Default Re: New Dynamic Site

    Cjohn50 wrote: 

    NO!!! PHP is designed to be embedded in HTML. Use PHP only for the
    elements that need to be generated dynamically. The point is that an
    ..html page cannot normally contain PHP code, whereas a .php page can
    contain any of the following:

    * PHP code only
    * HTML code only
    * a combination of both

    --
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/
    David Guest

Similar Threads

  1. Dynamic and Static Site
    By UliZ in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 1
    Last Post: June 19th, 01:20 PM
  2. Help defining a dynamic site
    By jannmirch2180 in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 1
    Last Post: December 16th, 07:38 PM
  3. Upload Dynamic Site
    By stacyp in forum Dreamweaver AppDev
    Replies: 2
    Last Post: June 2nd, 05:43 PM
  4. ANN: Learn to go dynamic with WebAssist Dynamic Site 101
    By Joseph Lowery in forum Dreamweaver AppDev
    Replies: 3
    Last Post: April 28th, 04:20 PM
  5. Dynamic flash site
    By erdisa in forum Macromedia Flash Sitedesign
    Replies: 3
    Last Post: August 13th, 04:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139