Is there a way i can use includes with an absolute path

Discussion in 'Programming' started by visualkreations, Aug 27, 2008.

  1. #1
    Is there a way i can use an include with an absolute path so its something likes this


    <!--#include file="http://www.mysite.com/includes/file.html" -->
     
    visualkreations, Aug 27, 2008 IP
  2. Joseph S

    Joseph S Well-Known Member

    Messages:
    1,373
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    155
    #2
    Depends what you need. Are we talking about a code written in PHP? Do you only need to include the result of the page? Try
     <? include('http://www.mysite.com/includes/file.html');?>
    Code (markup):
     
    Joseph S, Aug 28, 2008 IP
  3. visualkreations

    visualkreations Well-Known Member

    Messages:
    454
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #3
    its asp actually
     
    visualkreations, Aug 28, 2008 IP