|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
apache module for coldfusion and php as one handler
Hello,Martin Orth 05/12/06 03:46 P I dont have an answer, but I have to ask, WHY?Alan Rother 05/12/06 04:19 P >I dont have an answer, but I have to ask, WHY?Martin Orth 05/12/06 05:17 P Alan Rother wrote:Jordan Michaels 05/12/06 05:58 P Martin Orth wrote:Jordan Michaels 05/12/06 05:56 P 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 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 >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. 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 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
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||