Answered
PHP Programmer needs CF Help!
I'm a PHP programmer that has found himself in the unenviable
position of needing to port a ColdFusion web site to PHP and I have
no ColdFusion experience at all. My company has agreed to redesign
a client's web site for him, which was done by another developer
with whom our client now has open hostilities with. I have access
to the web site, and ColdFusion files, but I don't have any idea
what database the web site is running on (though I have determined
that it's being accessed via ODBC so I suspect MS Access), much
less what the database layout is like. Unfortunately, I don't have
the time to learn the language before I can begin working on the
new web site.
While I'm not seeking a full tutorial or hand-holding through deciphering this web site, I could use some guidance on a few issues.
First of all, is there a ColdFusion command similar to PHP's var_dump or print_r functions which will output a variable's value, and in the case of an array, class, or database record, would show the field names in addition to values?
Second, is there a way for me to definitely identify the database? If so, then I might be able to figure out appropriate SQL syntax to identify tables and/or other databases that are in use within the web site.
Third, is there a book or e-book that would help me as a PHP programmer to come to understand ColdFusion better? I don't forsee using ColdFusion on a regular basis, but if I can understand it better, I might ease my task.
While I'm not seeking a full tutorial or hand-holding through deciphering this web site, I could use some guidance on a few issues.
First of all, is there a ColdFusion command similar to PHP's var_dump or print_r functions which will output a variable's value, and in the case of an array, class, or database record, would show the field names in addition to values?
Second, is there a way for me to definitely identify the database? If so, then I might be able to figure out appropriate SQL syntax to identify tables and/or other databases that are in use within the web site.
Third, is there a book or e-book that would help me as a PHP programmer to come to understand ColdFusion better? I don't forsee using ColdFusion on a regular basis, but if I can understand it better, I might ease my task.
