Question

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.


Add New Comment


 
Do you have the same question? Follow this Question
 

Answers

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.


Add New Comment


 

Oct 14, 2009 - 12:23 PM

0
0
Report 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


Add New Comment


 

Nov 27, 2009 - 06:13 AM

0
0
Report it


OTHER QUESTIONS NEEDING ANSWERS

Asus Eee PC 1025 Battery
Can you refer step by step study material for creating Wordpress blog?
How do I start a blog?
Is there a good online tutorial for learning Wordpress?
Best open source theme for wordpress with photobloging option?
Do you know any great free webhost with cPanel that will run WordPress?
Login   |   Register

Ask a question on Quomon


guptad12
504
1441
0 question
1 question
Knowledgeable, Contributor

 | Direct a question to this member
anastis
510
748
1 question
0 question
Knowledgeable, Contributor

 | Direct a question to this member
admin
9486
Not ranked
799 questions
0 question
Maestro, Hardcore, Experienced, Knowledgeable, Contributor

 | Direct a question to this member
wommy
101
3177
5 questions
0 question

 | Direct a question to this member
hiphop
121
3173
6 questions
0 question

 | Direct a question to this member
Urypomuer
149
3160
9 questions
0 question

 | Direct a question to this member
barrybart
149
3159
7 questions
0 question

 | Direct a question to this member