Re: Failure remote includes
| From: | skate | Date: | Thu, 31 Jul 2003 12:10:41 +0000 |
| Subject: | Re: Failure remote includes | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20948@lists.php.net to get a copy of this message | ||
> <?php include('http://somedomain.com/'); ?>
> give error Failed opening 'http://somedomain.com/'
> for inclusion
you tried ...
<?php include('http://somedomain.com/index.html'); ?>
would it not be more beneficial to open the files (fopen, fread)? this way
you can parse the page if needed, and add your own headers / footers without
killing any HTML