convert code to asp to php

Posted on 2006-04-23
Last Modified: 2008-03-06
hi all
i have a real estate application in asp
and database is sql server 2000 and i m using relationships in in database
now the problem is my client told me that he want to convert all the applciation into php
so please help me that any body know about how i gonna convert the code of asp into php
and sqlserver datbase to mysqlserver database

please any body know the short way please tell me thanks
Question by:mubbsher
    LVL 20

    Accepted Solution

    LVL 4

    Assisted Solution

    The short way would be using something like to convert your code.
    But, rest assured, this will not be 100% ready to go PHP code.
    Also, it will not convert your sql server 2000 database code to MySQL code.
    It will also not convert your SQL Server 2000 SPs (if any) to MySQL SPs.

    The *good* way would be to recode the whole site. Once you know how to write basic PHP, it's not that difficult to convert an ASP site into a PHP site.
    You could try to convert your code with one of the many (free) ASP2PHP convertors and learn from the code generated by that engine, also.

    (ps: honestly, I had your problem about 5 years ago: I had to change a website from ASP/Access to PHP/MySQL in 12 hours time (changing hosts on the fly 4tw) and I had *no* prior PHP knowledge. I got a php mysql connect script from a guy and 4 hours later i had converted the complete site to work with PHP. It can be done, you just have to want to do it ;-))



    Author Comment

    Thanks Muhammad Wasif and Andy For your help
    now i got the idea
    thanks for your time and  effort

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
    Part of the Global Positioning System A geocode ( is the major subset of a GPS coordinate (, the other parts being the altitude and t…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now