Well no, not inside a page. You can not embed PHP code in a
CFM file
and expect the ColdFusion engine to know what to do with it,
anymore
then you can embed CFML code in a PHP file and expect the PHP
engine to
understand it.
You can cross process with frames, as mentioned. Since then
each
request will be sent to the appropiate engine by the web
server.
You can also use web services to pass information from one
app server to
the other.
With ColdFusion you could use the CFHTTP tag to call a PHP
page and
process what it returns. I'm sure PHP has similar
functionality.
Those are the three ideas I could come up with.
YC wrote:
> Of course, you can run ColdFusion and PHP at the same
time in one machine.
> I am running both of them on Windows and with IIS.
>
> But I think kabbi~'s question is, in fact, this is my
question, too, can we
> run a PHP page embedded inside a ColdFusion page? The
only way I can think
> of is using frames, but frames can be tricky in many
cases, so I want to
> avoid it if possible. Is there a better way to do this?
>
> YC
>
>
> "frank_tudor" <webforumsuser@macromedia.com> wrote
in message
> news:ea86v1$rfk$1@forums.macromedia.com...
>> I have had success running PHP and Coldfusion
together with Apache on
>> Windows
>> and Linux.
>>
>> Start with installing Apache then install Coldfusion
to use apache as the
>> webserver, then install PHP
>>
>> Or PHP then Coldfusion...
>>
>> It'll work. :)
>>
>> Frank
>>
>
>