XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).
Moderator: General Moderators
etron
Forum Newbie
Posts: 1 Joined: Thu Sep 09, 2004 11:13 pm
Post
by etron » Thu Sep 09, 2004 11:20 pm
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 ...
m3mn0n
PHP Evangelist
Posts: 3548 Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada
Post
by m3mn0n » Fri Sep 10, 2004 5:40 am
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.
phpScott
DevNet Resident
Posts: 1206 Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.
Post
by phpScott » Fri Sep 10, 2004 6:09 am
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?
timvw
DevNet Master
Posts: 4897 Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium
Post
by timvw » Fri Sep 10, 2004 12:06 pm
If you are going to migrate from asp 2 php , do a little search for asp2php
AngusL
Forum Contributor
Posts: 155 Joined: Fri Aug 20, 2004 4:28 am
Location: Falkirk, Scotland
Post
by AngusL » Fri Sep 10, 2004 3:33 pm
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.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Fri Sep 10, 2004 3:39 pm
well.. there is that web server built in php someone did a few months ago..