ASP embedded in PHP
I know, I know....I have another developer who wants to code in ASP. I
have a shell of our intranet that is php. I include my files from a
case statement basically.
something like this.
if the url is
http://blah.com/page.php?m=Something
I have in script:
switch($_GET['m'])
case"Something":
$module="pages/something.php";
break;
Then down in the page I use:
include($module);
I want to use:
case"Something":
$module="pages/something.asp";
break;
How can I make this work...Is there a way?
.
Relevant Pages
- Re: What is the difference between php & asp?
... >ASP is a Microsoft product based on the very ackward Visual Basic syntax ... >PHP is a C-Like, ... >need to physically register on the server. ... It works fine with SQL Server and Access if you really really ... (alt.php) - Re: IIS, ASP & PHP - is it possible?
... IIS is perfectly able to run both ASP and PHP on the same server at the ... (microsoft.public.inetserver.iis) - Re: PHP [win32] & CLI Testers needed.
... written, lets just say to create shell emulation for now, and have ... My previous attempts to create the source below, ended with the loop ... finally resolve any issues due to this problem in PHP compatibility. ... Debug Warning: testforLinuxUser.php line 24 - stream_select: supplied argument is not a valid stream resource ... (php.general) - Re: Advice for an asp developer
... productivity and maintenance to slide to the negative side of ASP. ... Lastly as proof that Microsoft actually 'supporting' PHP is the ... My perspective is that PHP and ASP.NET are not competing/replacement ... (comp.lang.php) - help: advanced shell interaction (exec and the like) from PHP
... I need to start a program from shell (pg_dump, a Postgresql export tool) from PHP. ... So I can give multiple commands with `` ) but I *cannot* pass the password. ... (comp.lang.php) |
|