Page 1 of 1
Can ASP integrate with PHP?
Posted: Thu Sep 09, 2004 11:20 pm
by etron
Hi everyone ...
I would like to know if I can integrate ASP with PHP? You see ... I have this application coded in ASP and I would like add some features into it. The features ... if possible, I would like to code it in PHP ... cause I'm quite familiar with PHP than ASP ... So, I would like to know if this is possible?
Thanks guys for the help ... Love you all ...

Posted: Fri Sep 10, 2004 5:40 am
by m3mn0n
I don't recommend doing that, even if you found a way to do so (not sure if it's possible since I don't know ASP, and never attempted this).
Think about portability issues; what if you need to switch hosts and they both don't have PHP and ASP installed, and configured to run together?
Think about coding design issues; what if you were to work with someone else on the project and they didn't know one of the languages?
Think about program efficiency issues; it will be very stressful on a server having PHP, ASP and possibly MySQL running full tilt.
Just seems like a disaster waiting to happen to me, and I'd recommend just doing the rest in ASP since you do know that language.
not without losing your hair.
Posted: Fri Sep 10, 2004 6:09 am
by phpScott
not in the sense that you are thinking. as in both asp and php on the same page.
seperate pages passing data back and forth between them is possible but I would hate to code it.
either you could learn ASP better or rewrite the whole thing in php, sami's points are all really good.
I have done a little of what you are talking about and as I stated I hated to code it.
b.t.w. Sami your up late or early or whatever?
Posted: Fri Sep 10, 2004 12:06 pm
by timvw
If you are going to migrate from asp 2 php , do a little search for asp2php

Posted: Fri Sep 10, 2004 3:33 pm
by AngusL
You could of course try to rip apart teh ASP and PHP interpreters and write your own web server.
I've thought of this many a time. A project for later when I can code that sort of thing better.
Posted: Fri Sep 10, 2004 3:39 pm
by feyd
well.. there is that web server built in php someone did a few months ago..
