Posts: 31
Location: Redondo Beach, CA
|
If you want to include text from your server it should be easy to just use 'include' (or include_once) or get the text from whatever file or db it is gotten from on the first page.
If you want to include something from a web page outside of your server do
$fp = fopen('http://www.whatever.com/file.html', 'r');
while (!feof($fp)) {
$filecontents .= fgets($fp, 4096); // or just echo it
}
fclose($fp);
for options look up fopen at php.net
__________________
Myrealtypage - Real Estate Web Design
|