Are you wanting to forward the user to a different page? (Must be sent before any output is printed.)
header( "Location: http://yahoo.com" );
exit;
?>
or (can be executed after output has already been sent to the browser, but requires javascript or a click)
print '';
print '';
?>
Do you want to read in another web page and output it on your own? (Requires allow_url_fopen to be enabled in the configuration.) Be careful about doing this sort of thing, because if a hundred people hit your page, your server makes one hundred sudden requests to download. If this is the route you're after, look into cacheing/saving the result for a period of time or get fancy and ask the web server if the page has been updated.
$url = "http://www.yahoo.com";
$f = fopen( $url, "r" );
if( !$f ) die( "Could not open $url for reading" );
If you want to display the page within the page take a look at
?
2016-11-26 07:00:49 UTC
dynamic information superhighway content do not artwork this way in case you do not wanna contain a db and save your records in why do not you write your consumers comments right into a report separated with suggestions from empty strains then once you reveal your web page study the report and append all comments on your HTML reaction sturdy success
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.