Status:Closed Asked:Oct 10, 2007 - 12:24 AM
how can i use asp.net file wth php
this Q is Related to PHP and Asp.net.B'coz i have an website developed in PHP.But i want to enhance hat website with including some file of asp.net.
This really depends on your setup, and how far you're looking into integrating the pages.
For example, on a windows machine with IIS as the webserver and PHP installed for IIS you could have both .asp and .php files exist on the same or different folders. You can link to each other as you can link to any webpage on the internet.
Since each click on a link is a different server request, IIS should have no problem starting php or the .net framework to serve that request.
You could even exchange data between pages, using POST and GET variables, but you would be unable to exploit specific features of either language, such as session handling, etc. You could write your own version of these features though, although that would be a very tedious task.
Now, if you are looking to embed asp code into php files, or vice versa, you could have a look on a project called Phalanger, http://www.php-compiler.net/doku.php which enables you to do just that.
I'm afraid your options are limited on the choice of operating system and web server. I'm sure that on linux/apache there is nothing you can do. I'm not sure about windows/apache but I wouldn't bet on it.
The question looks to be abandoned by the user who asked it. If no action is taken within 2 days, a Quomon Moderator will consider closing the question and distributing the points.
The Quomon Team
OTHER QUESTIONS NEEDING ANSWERS