Here are some links to give you a decent overview of converting ASP to PHP. I think there are still some ASP programmers out there who are afraid to take the plunge so hopefully this will make it easier:
- Part 2: PHP, JScript and VBScript Function and Class Syntax
- Part 3: PHP Equivalents for ASP Objects
You’d be suprised how easy it is to convert from the former to the latter, mainly because PHP is a much richer language with a function for just about everything you need that you’d have to write by hand as an ASP coder.
There are the obvious tools like ASP2PHP, and quite a few similar projects, but it’s most likely quicker to do the job by hand.
Last year I went out to Latvia for just such a project, there were hundreds of these ASP pages in what was a huge web app, all procedural of course, my favourite, but we managed to squeeze quite a decent PHP project out of it in the end.
More helpful than any tutorial or autotranslating tool was just a simple VBscript api doc, which is easy to get once you have the right search term.