Solved

Convert PHP to ASP?

Posted on 2007-03-24
7
1,065 Views
Last Modified: 2008-02-01
Dose anyone know if there is some software to convert PHP code to ASP classic ?
0
Comment
Question by:gummisj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 5

Assisted Solution

by:Gitcho
Gitcho earned 200 total points
ID: 18786667
There's a free online converter that will translate blocks of PHP code to ASP classic, but its not foolproof. It might save you a lot of time though :  http://www.me-u.com/php-asp/  .  The specifics of what it will port are listed here : http://www.me-u.com/php-asp/conversionnotes.htm

I would think you will have a tough time finding a do-it-all solution that won't require much post-processing, but maybe this is what you're looking for.  Good luck !
0
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 300 total points
ID: 18786685
I have seen software or sites that offer this but I suggest that they are not used.  ASP is a nice technology/language but PHP has many different capabilities and features.  Any "automated" translation of ASP to PHP script will ignore this.  Even if the PHP script functions, which is doubtful especially with complex scripts, it will be poorly designed.  For best results the script should be rewritten as a new PHP script not just "translating" the ASP.

I can suggest some good sites to learn PHP.  The best is the documentation that comes with PHP which is also available at www.php.net.  The article at http://www.4guysfromrolla.com/webtech/010601-1.shtml is a good discussion of converting to PHP for the ASP developer.

Let me know how this helps or if you have a question.

bol
0
 

Author Comment

by:gummisj
ID: 18786718
this is not ceversion from ASP to PHP. this is convert FROM PHP to ASP, quote "For best results the script should be rewritten as a new PHP script not just "translating" the ASP."
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

Author Comment

by:gummisj
ID: 18786729
i will think i will let someone rewrite the PHP script to NEW ASP script. but i need to ask about this. and it whould be nice to know if such software exists?
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 18786742
I'm not sure what the quote was meant to add to the correction but sorry for the mistake.  The dyslexia strikes again.  :)  Sorry!  My general suggestion still holds, don't tranlate (or use something to translate).  Let me know if you want some suggestions (i.e. books, sites) to help you learn ASP.

Sorry if mixing the languages up confused the comment.

bol
0
 

Author Comment

by:gummisj
ID: 18787786
hehe... np.  i will let some one rewrtite it :), do you know about some good book to learn ASP
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 18793699
I have personally really like the books by Wrox for ASP.  Depending on your level of programming skills and what you want to learn you can select different books but "Beginning ASP 3.0" (http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764543636.html) is a good one.

I noticed the B grade.  Did you still have some question or need some help?  If so, let me know.  It is nice to have a chance to earn the A. :)

Thanks for the fun question.

bol
0

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

626 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