• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 321
  • Last Modified:

Can I insert a PHP include statement on an ASP page?

I have an ASP Web site that I want to insert an include statement from a PHP page on a PHP server. Can this be done?

The include statement (<!--#INCLUDE FILE="http://toledobladeserver.com/weatherapi.php"-->) gives me a 500 Internal server error.
Suggestions?
0
kfranck
Asked:
kfranck
  • 2
1 Solution
 
TonyRebaCommented:
Not is not possible, web server needs to be configured to host either asp or php pages...  
0
 
kfranckAuthor Commented:
OK, since I can't include my weather statement (http://toledobladeserver.com/weatherapi.php), which is on an PHP server, in my ASP project (on an ASP server), is there a way to convert the PHP statement to ASP or find another method to get this work?
0
 
TonyRebaCommented:
yes you need to convert it to asp, I dont have any page to refer you to, but try googling :


php to asp converter ..


Good Luck
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now