Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //LOG
- $fn = $_GET["File"];
- if ($fn != '') {
- $fh = fopen($fn, 'w') or die("can't open file");
- $PageTitle = $_GET["PageTitle"];
- $CInfo = $_GET["CInfo"];
- $DInfo = $_GET["DInfo"];
- $UInfo = $_GET["UInfo"];
- fwrite($fh, "<html>\n<head>\n<title>".$PageTitle."</title>\n</head>\n<body>\n");
- fwrite($fh, $CInfo."<br />\n<br />\n");
- fwrite($fh, $DInfo."<br />\n<br />\n");
- fwrite($fh, $UInfo."</body>\n</html>\n");
- fclose($fh);
- //EMAIL
- $CEmail = $_GET["CEmail"];
- $Body = $_GET["Body"];
- $Subject = $_GET["Subject"];
- $from = "usbfind@mc-mycraft.com"
- $headers = "MIME-Version: 1.0" . "\r\n";
- $headers .= "Content-type: text/html; charset=iso-8859-1" . "\r\n";
- $headers .= "From: USBFind <usbfind@mc-mycraft.com>" . "\r\n";
- mail($CEmail, $Subject, $Body, $headers);
- }
- else { echo "This page was not intended for direct viewing."; }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement