Skip to main content
Inspiring
March 23, 2008
Question

CF and PHP together?!

  • March 23, 2008
  • 3 replies
  • 297 views
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?
This topic has been closed for replies.

3 replies

Participating Frequently
March 24, 2008
Yes you can.

You can also include any CF template in your PHP code. :)
Inspiring
March 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.
Inspiring
March 24, 2008
have you tried it? did it work?

you can also use cfhttp...

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