At 11:01 AM 1/29/2002 -0500, you wrote:
> > Has anyone ever tried to use .php and .cfm files together ?
> > Jumping around between them works good, but is it possible
> > to use <?PHP> tags inside a .cfm file, and <CF_TAGS> inside
> > a .php file ?
> >
> > Am playing around with this idea, but can get it to works as
> > yet.
> >
> > Is it possible to tell CF-server to look for CF-tags inside
> > of a .php file, instead of .cfm only ? Or maybe tell php to
> > use .cfm files ?
>
>You can typically map only one server-side processing engine to a given file
>extension, so while you could have CF process files with a .php extension or
>vice-versa, you can't easily have one file processed by both engines.
>
>This is probably a good thing, since if you're using one, you typically
>don't need the other.

There are some times when one language does something more easily than the 
other (mostly PHP
in my experience), yet there is entirely too much code written to change 
mid-stream. I've
considered passing data back and forth using WDDX packets from a PHP app to 
a CF app using
CFHTTP to call the other page. This might be a workaround if you need the 
functionality from
a standard PHP library and can't write a custom CFX tag to do it yourself. 
One thing
that comes to mind is Boutell's excellent GD library. Very often it is 
compiled into PHP, and
I've often wished I could make GD calls from a CF page but never got around 
to trying to code the
CFX module.

-B




_____
Brian Panulla                           [EMAIL PROTECTED]
Chief Information Officer               814.238.6680
Elmwood Media Group                     www.elmwoodmedia.com
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to