Forum Moderators: coopster

Message Too Old, No Replies

How to mport external HTML files into a PHP document?

Beginner's question

         

Trenton

4:22 pm on Feb 29, 2004 (gmt 0)

10+ Year Member



Hi

I've been using SSIs to import external HTML files in to the main SHTML document using:

<!--#include virtual="document.htm" -->

I've now had to save one of the documents as a PHP cos of some scripting it's got in it, but I know about zero about PHP and the SSI no longer works.

What's the PHP equivilent to the above command?

Birdman

4:43 pm on Feb 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can use

include [php.net]("somefile.htm");