hi! there needs to be just a couple more lines of code to complete your task. what you have done so far with
$fp = fopen("http://www.somesite.com","r");
.. is open a connection to this site for the purpose of being read, but you havn't actually added the commands to read this site.
you need to use the FPASSTHRU() function. this reads your open connection all the way through from the first character to the last, and closes the connection after the last character. so, your script would simply look like this:
$fp = fopen("http://www.somesite.com","r");
fpassthru($fp);
usually, i would include $fp in an IF statement to check for the connection and return an error is a connection could not be made. like this
if ($fp){
fpassthru($fp);
}else{
echo ("no connection possible");
}
hope this helps.
blue