Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 How to include PHP into ASP page
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

ru55ian
New Member

81 Posts

Posted - 13 March 2002 :  09:08:53  Show Profile  Send ru55ian an AOL message  Send ru55ian an ICQ Message  Send ru55ian a Yahoo! Message
Is there a way to do that?

I have a header and a footer page in asp i want to include
a php center page into that and make it load at ones as one page

plus my PHP script is located on the other domain ... it should like something like this... only with the right command:

<!-- #include file = "http://www.mynewdomain.com/script/index.php" -->

can anyone help me use this include so it will work?

Thanks in advance.



We can learn from the past, but those days are gone...
We can hope for the future, but there may not be one...

bikedude
Starting Member

38 Posts

Posted - 13 March 2002 :  14:12:09  Show Profile
You would need a server object such as AspHTTP to do an "http include." IIS does not support this "out of the box."


Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 13 March 2002 :  18:22:47  Show Profile  Visit Nathan's Homepage
PHP into asp. I do not think that is possible with IIS. It might be with ChiliSoft but I have never used that.

  Nathan Bales - Romans 15:13
----------------------------------

Snitz Exchange | Do's and Dont's
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 14 March 2002 :  04:10:25  Show Profile  Visit Kat's Homepage
I am pretty sure you can't include php in asp. Why don't you write your includes in php?

KatsKorner

For Installation help: http://www.aslickpage.com/snitz_help.html
For Snitz Mods: http://ls3k.com/snitz/

Go to Top of Page

bikedude
Starting Member

38 Posts

Posted - 14 March 2002 :  14:20:53  Show Profile
ru55ian,

Are you trying to include the actual PHP code from another server or are you trying to include the HTML output from a PHP script on another server?

You can not include the actual PHP code in the asp code and have IIS perform the scripting in each language.

However, you can include HTML from another server using a component such as AspHTTP. It doesn't matter if the HTML is generated via PHP, ASP, Java, Python, etc.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07