SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    I'm a college yuppie now! sbdi's Avatar
    Join Date
    Jul 2000
    Location
    Dublin , Ireland
    Posts
    1,271
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    my site might have cfm and php on the same page this would cause problems? i havent tryed but am gonna assume it does since it wont end in the right extension is their any way around this?
    Back Again

  2. #2
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Location
    Derbyshire, UK
    Posts
    4,411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can put them both on the same page, but only one of them will work because only one will get parsed.

    You can use a bit of trickery to get CFM in a PHP page as you can use fopen() to open an http connection to your CFM paghe, read in the info and display it in your PHP page.
    Karl Austin :: Profile :: KDA Web Services Ltd.
    Business Web Hosting :: Managed Dedicated Hosting
    Call 0800 542 9764 today and ask how we can help your business grow.

  3. #3
    SitePoint Member
    Join Date
    Sep 2000
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am not sure about how much you know about coldfusion, but what you can do is something like this;

    Have your PHP script ina seperate file, and as you have it parsed have the results saved as an external txt file, then have coldfusion do two things, parce its template and then do a cffile and append the php output to the coldfusion output, other than that I am not too sure how you could execute those two server side languages in on template call.

    It is best to keep them seperate and if there is a task you want to do with coldfusion but only know how to do with php, just ask and you are sure to get the technique



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •