CF and PHP question

Discussion in 'Programming' started by rubiconman500, Nov 4, 2008.

  1. #1
    For those of you that know both languages... Is there some type of php page equivalent to a Application.cfm in CF?
    At work we use CF and the use of the application.cfm page is really handy.
    Thanks
     
    rubiconman500, Nov 4, 2008 IP
  2. gavy

    gavy Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well i am not sure but something like config.php
     
    gavy, Nov 6, 2008 IP
  3. ariefsyu

    ariefsyu Active Member

    Messages:
    192
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Application.cfm is a file which executes automatically before every script, right?

    PHP doesn't support this. In other way, php coder usually includes something like this
    <?php 
    include("config.php");
    include("header.php");
    ?>
    Code (markup):
    Arief
     
    ariefsyu, Nov 16, 2008 IP