House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

apache module for coldfusion and php as one handler

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hello,
Martin Orth
05/12/06 03:46 P
Alan Rother wrote:
Jordan Michaels
05/12/06 05:58 P
Martin Orth wrote:
Jordan Michaels
05/12/06 05:56 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Martin Orth
05/12/2006 03:46 PM

Hello, I am searching for a way to parse the contents of of a coldfusion file for coldfusion code and after that the content should be parsed for php code or vice versa. I tried doing this with mod_ext_filter but this does not work for me and it would be not so fast like a modul. The best way I think is to combine mod_jrun20 (for coldfusion) and the php4_module. How could this be done? Thanks Martin

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Alan Rother
05/12/2006 04:19 PM

I dont have an answer, but I have to ask, WHY? If you MUST use some php code you could always have it on a seperate file then call it using cfhhtp, then out puit it's results onto your cf page. Ok I guess I do have an answer... =] -- Alan Rother Macromedia Certified Advanced ColdFusion MX 7 Developer

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Martin Orth
05/12/2006 05:17 PM

>I dont have an answer, but I have to ask, WHY? It would be easier to integrate existing php applications like phpadsnew into coldfusion applications. It would also be nice to set a url variable that later could be used by the php application. >If you MUST use some php code you could always have it on a seperate file >then call it using cfhhtp, then out puit it's results onto your cf page. A well coded module would be faster than the cfhttp solution.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jordan Michaels
05/12/2006 05:58 PM

Alan Rother wrote: ----- Excess quoted text cut - see Original Post for more ----- I do it because PHP's image manipulation libraries (GD) get far better quality then Java's image manipulation libraries. There could be a number of other reasons - PHP is a great language. I prefer CFML, but if CFML didn't exist I'd be all over PHP. ;) -- Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Blue Dragon Alliance Member jordan@viviotech.net

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jordan Michaels
05/12/2006 05:56 PM

Martin Orth wrote: ----- Excess quoted text cut - see Original Post for more ----- Whenever I need to run PHP code in addition to my CFML code I've always used CFEXECUTE and the command-line PHP interpretor. A command-line interpretor for CFML is one thing I've always wished for... I supposed it depends on what you're doing. You could also use CFHTTP to call the PHP page from within the CFML page - thus separating your PHP and CFML effectively. -- Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Blue Dragon Alliance Member jordan@viviotech.net


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference