• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF and PHP together?!

Explorer ,
Mar 23, 2008 Mar 23, 2008

Copy link to clipboard

Copied

I am putting together an image gallery that randomly loads a series of images from subdirectories within a root directory. to make a short story long, i've been able to find and modify a php script to do exactly what i'm looking for...however, my site is a coldfusion-based site. can i use a <cfinclude template="myfilename.php"> and have a php file run embedded within a .cfm file?
TOPICS
Advanced techniques

Views

230

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 23, 2008 Mar 23, 2008

Copy link to clipboard

Copied

have you tried it? did it work?

you can also use cfhttp...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 24, 2008 Mar 24, 2008

Copy link to clipboard

Copied

You should be able to use PHP with CF if you have CF 8. Prev versions of CF won't let you, but you can use iframe.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 24, 2008 Mar 24, 2008

Copy link to clipboard

Copied

LATEST
Yes you can.

You can also include any CF template in your PHP code. :)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation