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

NanHarbisonSmith at aol.com NanHarbisonSmith at aol.com
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 ?>.

<?php
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