Converting asp to php
I have a site that is programmed in asp, but want to
move it to a hosting company that only supports php.
How difficult is it to convert the program from asp to php?
Is there a utility that you can run the files through that
can make the conversion...?.. or am I stuck with asp hosting?
andy206uk posted this at 13:45 — 9th November 2004.
He has: 1,758 posts
Joined: Jul 2002
I don't think theres any automatic way to convert one to the other. They both have very different syntax. The only way to do it would be to manually rewrite the code in the new language.
Andy
Abhishek Reddy posted this at 06:20 — 10th November 2004.
He has: 3,348 posts
Joined: Jul 2001
asp2php, I think, is a script that does that.
Or maybe it was php2asp.
My memory is failing me at this moment. A couple years ago, I was in a similar situation when I worked on the school intranet site. I was competent in ASP and not so much in PHP, while another member working on the project was a PHP person only. We found some scripts to convert one of our's legacy code to the other language... but I can't recall which way it was.
Google it.
Mind, these convertors are not necessarily 100% reliable. Although they crunch most of the code, you'll likely have to refine much of the results yourself.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.