DaneEdw
DaneEdw

Reputation: 446

I need to include a php page in my asp.net application using master pages is that possible?

I would like to use the master page for this particular php page- Could I for instance have an aspx page that uses said master page and within that page use an iframe that references the php page? would that work? Any advice?

Upvotes: 0

Views: 1853

Answers (2)

Gromer
Gromer

Reputation: 9931

Yup, you can use an iframe:

<iframe src="path/to/my/file.php"></iframe>

You'd have to make sure php is installed and working with IIS, as well.

Upvotes: 1

Adam Plocher
Adam Plocher

Reputation: 14233

I agree with Justin, it would probably be a lot easier to just pick one language and stick with it. IFrames can cause problems. But short answer - yes, you can have an iframe in your master page that points to a PHP page.

Upvotes: 1

Related Questions