Include PHP file with ASP

For the discussion of Perl, Python, Ruby, and PHP and other interpreted languages.

Include PHP file with ASP

Post by Bren2010 on Wed Jun 10, 2009 7:08 am
([msg=25186]see Include PHP file with ASP[/msg])

If I use ASP to include a PHP file from another server (i.e. it will already be executed) will it still work?

EDIT: The ASP server only supports ASP and the PHP server only supports PHP.
User avatar
Bren2010
Poster
Poster
 
Posts: 340
Joined: Fri Sep 19, 2008 3:23 pm
Blog: View Blog (0)


Re: Include PHP file with ASP

Post by BhaaL on Wed Jun 10, 2009 11:45 am
([msg=25194]see Re: Include PHP file with ASP[/msg])

You cannot download a PHP file's source if the server is set to process it. If you request an external PHP file, you'll end up with its output (and not the executable php code).
Maybe thats what you want? (like a frame inside your ASP application showing the other page?)
BhaaL
Poster
Poster
 
Posts: 270
Joined: Sun Apr 13, 2008 11:16 am
Blog: View Blog (0)


Re: Include PHP file with ASP

Post by Bren2010 on Wed Jun 10, 2009 1:59 pm
([msg=25201]see Re: Include PHP file with ASP[/msg])

Yes! Thank you!
User avatar
Bren2010
Poster
Poster
 
Posts: 340
Joined: Fri Sep 19, 2008 3:23 pm
Blog: View Blog (0)



Return to Interpreted Languages

Who is online

Users browsing this forum: No registered users and 0 guests