Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP embeds PHP

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,
I MUST use an IIS running an ASP site,
but i installed PHP4 on it. Now i can
call a PHP OR a ASP site, each of them is
shown correctly, but I MUST use a navigation bar
surround the pages i want to show. This navigation bar is written in ASP. and MY site is written in PHP - Therefore I need a method to "embed" a php site in a asp-site, with other words. I want to put a php-generated site on a
asp site - using ASP AND PHP on same site. is there any possibility? Because i dont want to rewrite the whole php project again. "Include virtual='site.php'" did nothing. Thanking you in advance

Thomas L.
 
How about renaming the file to be included as the nav bar to .INC? The only foreseeable risk is that you might lose the functionality of your server-side scripting though...

<!--#include file=&quot;site.inc&quot;-->

I believe PHP will some (to some extent) in ASP, but not the other way around. :(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top