I just had an idea (guaranteed not to be an original one, im very sure) and its kinda scary...
Lets say this script resides at hacker.com.
Hacker.com decides to publish a malformed link to his site containing this script:
<?php
$hak = file_get_contents("http://www.sony.com");
//Do whatever I want with links, take info from forms, etc etc and then:
echo $hak;
?>
Now, Im sure that this technique has been around for a while but when combined with a malformed link the whole thing gets just scary.
Lets say I owned sony.com... How would I go about knowing if this was happening to my site?
Thanks much.