php includes (was Re: [thelist] SSI Brain Fart)

NanHarbisonSmith at NanHarbisonSmith at
Mon May 6 16:26:17 CDT 2002

[ Picked text/plain from multipart/alternative ]
Doesn't the include have to be in parentheses? (I am not sure, but I always
use them in require and include statements.)  And you should not leave blank
lines between the <?PHP and ?>.

include ('http://some-url');

> <tip type="php include url">
> You can include a url (from the same server or a different one) with PHP by
> using the following syntax:
> <?php
> include 'http://some-url';
> ?>
> </tip

More information about the thelist mailing list