Forum Moderators: coopster

Message Too Old, No Replies

ASP SSI in a PHP?

Is it possible to do an include of an asp page on a php page?

         

SlimJack

1:36 am on May 5, 2003 (gmt 0)

10+ Year Member



I briefly spoke with another webmaster that assured me that doing an include of an asp page to a PHP page is indeed possible.

Example.

I've got an index.php and I want to do an include of news.asp.

Darned if I see how he might get this to work. Standard php include and ssi statements don't cut it.

Am I missing something?

thx.

(long time lurker, btw.)

;-)

senior mcinvale

2:52 pm on May 5, 2003 (gmt 0)

10+ Year Member



you can not do that.

PHP & ASP use different software to parse them. they dont work together.

perhaps you can pre-process the ASP page and then include it somehow, but that would be more trouble than its worth.

dvduval

3:03 pm on May 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you preprocessed it, you could assign it to a variable and then call the variable.

SlimJack

11:30 pm on May 6, 2003 (gmt 0)

10+ Year Member



Damn.

Thanks, all.

:(

daisho

2:59 am on May 7, 2003 (gmt 0)

10+ Year Member



You could use curl or fopen and asp page via a full URL. You could ofcourse not share vaiables or anything like that but this would let you include the results of an asp page.

daisho.