02-03-2013, 03:43 PM
(02-03-2013, 03:34 PM)If_ Wrote:(02-03-2013, 03:20 PM)roisbwi Wrote:(02-03-2013, 02:51 PM)If_ Wrote: nice share gan
buat yg suka nyepam
ya tingal di di edit sedikit sripntya
gunakan looping
PHP Code:for ($a=1; $a<=100000000; $a++)
cara editnya??? buat tambahin biar bisa nyepam gmn???
itu ane buat setelah belajar dari w3school offline
maklum newbie hehehe
PHP Code:<html> <body> <title>Fake Mail</title> <?php if (isset($_REQUEST['email'])) //if "email" is filled out, send email { //send email $email = $_REQUEST['email'] ; $to = $_REQUEST['to']; $subject = $_REQUEST['subject'] ; $message = $_REQUEST['message'] ; $banyak_email=$_REQUEST['banyak_email']; for ($a=1; $a<=$banyak_email; $a++){ mail($to, "$subject", $message, "From:" . $email, "To:" . $to); } echo "Terima Kasih Telah Menggunakan<br />"; echo "From: ", " <b>", $email, "</b> ", "To: <b>", $to, "</b><br />"; echo "Subject: <b>", $subject, "</b><br />"; echo "Message: <b>", $message, "</b><br />"; echo "<b>Berhasil</b>";} else //if "email" is not filled out, display the form { echo "<form method='post' action=''> Your Mail: <input name='email' type='text' /><br /> To Mail : <input name='to' type='text' /><br /> Subject: <input name='subject' type='text' /><br /> banyak email: <input name='banyak_email' type='text' /><br /> Message:<br /> <textarea name='message' rows='15' cols='40'> </textarea><br /> <input type='submit' /> </form>"; } ?> </body> </html>
coba aja bro maaf ane juga nubi php
Berhasil gan tp cman 5 Email yg masuk
pdahal tdi gw kirimnya 100 email
mungkin kalau di tambahi fitur loading dahulu trus kalau dh kelar baru muncul yg Text terkirimnya







