How to Run a Coldfusion Page From PHP

ColdFusion is a rapid application development software program developed and marketed by Adobe Systems. It is typically used to create Web applications with the proprietary scripting language ColdFusion Markup Language (CFML). PHP is a server-side scripting language that is also typically used to develop dynamic web applications. With specific syntax (<cf_php>) available in ColdFusion 8 and later, you can implement PHP code into your ColdFusion files.

Things You'll Need

  • Adobe ColdFusion 8 or later
Show More

Instructions

    • 1

      Find your Adobe ColdFusion "cfm"/"cfml" file, right click on it, click on "Open with," then click on "Notepad."

    • 2

      Copy and paste the following code into the Adobe ColdFusion file:

      <cf_php>

      <?php

      EXAMPLE PHP CODE

      ?>

      </cf_php>

      Replace "EXAMPLE PHP CODE" with the PHP code you want to implement into the Adobe ColdFusion file.

    • 3

      Press Ctrl and S on your keyboard to save the Adobe ColdFusion file. Exit Notepad.

Related Searches:

References

Comments

Related Ads

Featured