WA
08-13-2002, 05:30 AM
Does anyone the limitations of using PHP to read a page from another server and display on the current? For example, I find that the code:
<?
$url="http://www.yahoo.com/";
$test=readfile($url);
?>
works on one server in extracting and showing Yahoo's page, while on another server, it doesn't work. Does it have to do with safe mode, or something else? Why the inconsistency?
Thanks,
<?
$url="http://www.yahoo.com/";
$test=readfile($url);
?>
works on one server in extracting and showing Yahoo's page, while on another server, it doesn't work. Does it have to do with safe mode, or something else? Why the inconsistency?
Thanks,