I've done this.
Once I did everything in CF.
Today, I do everything in PHP and have not looked back. PHP is faster,
easier and far less taxing on the server than CF.
Basically, once you know the syntax and functions of PHP, converting is
pretty easy, although time consuming. What you need to do is create the
same functionality in PHP, then you take whatever HTML you had in the CFM
files, and use that either as an include file or you can include it directly
in the PHP. Just remember to change all those #variables# to $variables.
As long as you keep the same names, porting the sites is not that hard.
Although I feel for you since you have 500 pages to do. Unfortunately I
don't know of any utility that can do this automatically; perhaps it's time
we who know both languages make one...
-----Original Message-----
From: Michael Kimsal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 6:43 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Converting CFML to PHP
I didn't see the original post before, but this is interesting. It's not
often
we
hear of people switching FROM CF to PHP. It must happen,
but I can't think of too many companies that I know using CF who would
"throw away" that investment, so to speak.
Kevin, could you shed some light on why the change is being made? Was
it financial? Or something deeper than that?
Dean Hall wrote:
> Seeing as how CFML is just more markup and PHP is an embedded language,
your
> task will be interesting. IMHO, CFML is the worst thing out; it's not a
real
> scripting language, and it blurs the distinction between markup and logic.
>
> Sorry I couldn't help. (Just wanted to voice my opinion -- no flamebait
> intended.)
>
> Dean.
>
> ""Kevin Queen"" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > List,
> > I have been given the task of converting all of our current ColdFusion
> pages
> > to PHP, I am wondering if there is some kind of converting tool out
there
> > for this. I don't need 100% accuracy as I can/will fix any errors, I am
> > just looking for the easiest way to convert 500+ files.
> >
> > TIA,
> >
> > Kevin Queen ____
> > Software Developer ||""||
> > AnyDevice ||__||
> > Atlanta, Ga [ -=.]
> > http://www.anydevice.com =======:0~
> >
> > (w) (404)260.4155
> > (p) (888)645.2815
> > (e) [EMAIL PROTECTED]
> >
> > "Ah, I see!", said the blind man to the deaf mute. -Unknown
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]