<form id='send'action ='../lib/getpage.php'method='post'target ='getpage'>
<input id='url'name ='url'type='text'value =''>
</form>
Which transmits a file getpage.php to the frame:
<iframe id='getpage'name ='getpage'src='class ='autoHeight'frameborder='0'scrolling ='auto'></iframe>
The getpage.php file itself displays the page body:
<?
$url=$_POST['url'];
$page=file_get_html($url);
echo $page;
?>
If the remote page contains XSS code, will it affect my site and, if so, how to get rid of it?