Say my site is:
http://www.codingclick.com/index.php
How do I include the whole page:
http://edevboards.com/gowansnet.inc.php
Thanx, P.S include() doesn't work
-Peter
Depends on what you want to do with the included file. In PHP4, include() does work with remote files.
You may have to set --enable-url-includes during config/compilation of PHP.
Read the manual for more information.
Hi,
From the manual: <?php // get a web page into an array and print it out $fcontents = file (’http://www.php.net’); while (list ($line_num, $line) = each ($fcontents)) { echo "<b>Line $line_num:</b> " . htmlspecialchars ($line) . "<br>\n"; } // get a web page into a string $fcontents = join (”, file (’http://www.php.net’)); ?>
Good luck, Gauss