calling html from another domain?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Warphead
    Confirmed User
    • Jan 2001
    • 994

    #1

    calling html from another domain?

    For example, having a text list of today's links from TGP#1, calling the list from TGP#2 (like an SSI), any hints?
  • tdp-Cool-content
    Confirmed User
    • Oct 2002
    • 321

    #2
    what is your code in PHP, ASP ???
    i have a solution in ASP code..
    Webmaster Content Cool-content

    Webmaster Resources cool-XXXresources

    Comment

    • Voodoo
      ♥ ♦ ♣ ♠
      • Sep 2002
      • 10600

      #3
      Use PHP.
      DOMAIN1.com (Main URL)
      DOMAIN2.com (Secondary Include Files)

      On the .php page on DOMAIN1.com, in the place on the page where you want the included info to show up...
      Place the following code:
      PHP Code:
      <?php include("http://www.DOMAIN2.com/included.inc"); php?>
      That's about it. You can even write forms to update the include file, if you want web based administration.

      "I'm selflessly supporting the common good, but only coincidentally looking out for No.1."

      Comment

      Working...