Register  |  Login




Advertisement

Start Your Own Q&A Site

Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.

Question

Status: Open Points: 25 Time: 03:24 - Oct 10, 2007  

guptad12

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.

Categories

Answer Discussion
Tutorials

 

anastis

Date:: Oct 14, 2009

Time:: 15:23

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.

admin

Date:: Nov 27, 2009

Time:: 09:13

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

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Tutorials cannot be submitted until the Answer Discussion is complete.

Submit answers in the Answer Discussion area

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Experts

View More

Rank

Expert

Points

1.

nidhi

10354

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4848

5.

PeterNZ

3487

6.

gonzalo

2840

7.

Mason

2770

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es