There are ASP to PHP translators and PHP to ASP as well.
<? PHP CODE in ASP ?> - IIS.net
Note the date of the post. There may be better updated solutions, and the right place to ask should be the
Forums - IIS.net
PHP4Mono
Kw search
Exact: "php to asp translation"
Free: php to asp translation
Other:
php to asp compiler
php to asp processor
It is not an ideal solution, but it is one fast ad hoc solution if it can be used.
If you buy the book I mentioned above, I think the name of the connection class (where the database connection is encapsulated -
$db=& new MySQL($host,$dbUser,$dbPass,$dbName); ) is MySQL included in the file MySQL.PHP that followed with the code archive to the old books (volume I and II).
Old version of MySQL.php used (Is there a more up to date version in the new book?)
OOP in PHP and MySQL tips: Start here.
Some of the links may be broken since I moved the code to a server with PHP 5.2.* and have had no time to update it.
Note: PHP 5.2.5 Released For some PHP projects, like XML parsing you may need that version.