Professional Web Applications Themes

Including / Parsing CF in HTML - Coldfusion - Getting Started

Ok, so I?ve been looking everywhere and I can?t find anything about it. I want to know how to introduce CF code into a page. I was wondering, just like PHP uses <?php does CF have something similar. Like <?cfm or ? does anyone know? Thanks...

  1. #1

    Default Including / Parsing CF in HTML

    Ok, so I?ve been looking everywhere and I can?t find anything about it.

    I want to know how to introduce CF code into a page. I was wondering, just
    like PHP uses <?php does CF have something similar. Like <?cfm or ? does anyone
    know?

    Thanks

    RazorX Guest

  2. #2

    Default Re: Including / Parsing CF in HTML

    RazorX wrote:
    > Ok, so I?ve been looking everywhere and I can?t find anything about it.
    >
    > I want to know how to introduce CF code into a page. I was wondering, just
    > like PHP uses <?php does CF have something similar. Like <?cfm or ? does anyone
    > know?
    >
    > Thanks
    >
    <cfoutput> would be the equivalent.

    Matt

    --
    Matt Woodward
    Team Macromedia - ColdFusion
    mpwoodward *TMM* Guest

  3. #3

    Default Re: Including / Parsing CF in HTML

    > I want to know how to introduce CF code into a page. I was wondering, just
    > like PHP uses <?php does CF have something similar. Like <?cfm or ? does anyone
    > know?
    CF is tag-based, so it might be just <
    :)
    Manaus Guest

  4. #4

    Default Re: Including / Parsing CF in HTML

    The page simply has to have a .cfm or .cfml extension and the webserver must
    have a ColdFusion connector installed into it.

    At that point you don't need to have anything special to put around the cf
    tags, you just put them inline with the HTML.

    The processing will happen on the server and the resultant HTML will be spit
    out to the browser through the connector.

    Dean

    "RazorX" <webforumsusermacromedia.com> wrote in message
    news:cvqjsp$sh0$1forums.macromedia.com...
    > Ok, so I?ve been looking everywhere and I can?t find anything about it.
    >
    > I want to know how to introduce CF code into a page. I was wondering,
    just
    > like PHP uses <?php does CF have something similar. Like <?cfm or ? does
    anyone
    > know?
    >
    > Thanks
    >

    Dean Harmon Guest

  5. #5

    Default Re: Including / Parsing CF in HTML

    Hi

    As you know that CF is tag based language. so dont have anything like you
    have in asp or php (<?php or <%)

    here you have all the tags just like the HTML tags. but still you can write
    the script in CF also.
    for this you need to use the tags <cfscript> and </cfscript>

    vkunirs Guest

Similar Threads

  1. Have ColdFusion execute on all IIS 6 requestes(including *.doc, *.html, etc)
    By craigbenner in forum Coldfusion Server Administration
    Replies: 0
    Last Post: July 26th, 05:10 PM
  2. including php via a html template
    By Chris in forum PERL Modules
    Replies: 1
    Last Post: June 24th, 04:45 PM
  3. including php generated data in a html file
    By Erik Schulp in forum PHP Development
    Replies: 3
    Last Post: September 27th, 05:09 PM
  4. including html files in a .html page
    By Murray *TMM* in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: August 8th, 04:06 PM
  5. Including HTML MarkUp.
    By Ray at in forum ASP
    Replies: 0
    Last Post: June 30th, 01:02 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