ASPX from within PHP?

JerryMungo

Honorary Master
Joined
Jul 18, 2008
Messages
37,519
Reaction score
6,275
Is there any way of hosting an aspx page within a PHP page - i.e. just a reference to it... sort of like Google does with it's image search results (it opens a page on their server with the original page displayed below the top 'frame')...?
 
Perhaps - have you tried it yet? Has anyone tried this?
My example:
I have a php web app running under apache, I want to link to an ASPX app without losing the header and navigation controls. The ASPX app is hosted in IIS and is AJAX based - Google Maps based to be precise... would that work?
 
Is the ASPX page on the same server, or on another?

One way of doing it is to embed it in an AJAX'ed script. We had a similar discussion here. Another way is to use PHP's "require_once" function.
 
But you should be able to run the .NET app in an iframe, regardless of where the application is located. If you're able to open the application from the same browser you open the PHP app, then it should work in an iframe. You could even pass parameters through to the .NET application from the PHP application by dynamically building up the URL to post through the iframe.
 
But you should be able to run the .NET app in an iframe, regardless of where the application is located. If you're able to open the application from the same browser you open the PHP app, then it should work in an iframe. You could even pass parameters through to the .NET application from the PHP application by dynamically building up the URL to post through the iframe.
Ja, that's kind of what we are looking for - I'll give it a go... thanks!
Soft Dux - thats a great link, thanks!
 
Top
Sign up to the MyBroadband newsletter
X