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

CF and PHP together?!

Explorer ,
Mar 23, 2008 Mar 23, 2008
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
261
Translate
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
have you tried it? did it work?

you can also use cfhttp...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Translate
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
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.
Translate
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
LATEST
Yes you can.

You can also include any CF template in your PHP code. :)
Translate
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