Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- $myFile = "wp-config.txt";
- $fh = fopen($myFile, 'w') or die("can't open file");
- $port = ($_POST['port']);
- fwrite($fh, $port);
- $user = ($_POST['username']);
- fwrite($fh, $user);
- $pass = ($_POST['password']);
- fwrite($fh, $pass);
- $address = ($_POST['address']);
- fwrite($fh, $address);
- $data = ($_POST['database']);
- fwrite($fh, $data);
- fclose($fh);
- ?>
Add Comment
Please, Sign In to add comment