SSI in my PHP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • francan00@yahoo.com

    #1

    SSI in my PHP

    I need to do an SSI include in my PHP web page located on a Unix web
    server, but cant seem to get it to work.

    <!--#include virtual="http://anotherServer/thepage.asp" -->

    Please advise.
  • petersprc

    #2
    Re: SSI in my PHP

    Hi,

    You can use this:

    <?php include('http://server.test/page.asp') ?>

    Another option is to use cURL (php.net/curl).

    Apache's SSI doesn't support cross-server includes.

    HTH,

    John Peters

    On Mar 2, 8:33 pm, franca...@yahoo .com wrote:
    I need to do an SSI include in my PHP web page located on a Unix web
    server, but cant seem to get it to work.
    >
    <!--#include virtual="http://anotherServer/thepage.asp" -->
    >
    Please advise.

    Comment

    Working...