curl - How To Post Data To Some External Php Without Redirecting & How To Loop Or Execute Some Php For Several Times -
i'm trying create sms floader , have created 2 following php files when ever user entered mobile number redirecting external website , please me on how input user loop same code several times. if user enter mobilenumber , loop value 10 times should send 10 sms destination number
sms.php
<html> <head> <meta charset="utf-8"> <title>trickztracking | sms floader</title> <meta name="author" content="nandan t rsn" /> <meta name="keyword" content="sms bomber,sms bomber 2016,working sms bomber,trickztracking sms bomber,unlimited sms bomber,anonymous sms bomber" /> <meta name="description" content="free sms bomber | trickztracking" /> <meta name="contact" content="trickztracking@gmail.com" /> <meta name="copyright" content="copyright (c)2015-2016 trickztracking. rights reserved." /> <style> body { background: #3b5998; font-family: 'lato', sans-serif; color: #fdfcfb; text-align: center; } #id1{ color: #000000; } input{ margin: 5px; } .input{ margin: 5px; } form { width: 500px; margin: 17% auto; margin-top:90px; } .header { font-size: 35px; text-transform: uppercase; letter-spacing: 5px; } .description { font-size: 20px; letter-spacing: 1px; line-height: 1.3em; margin: -2px 0 45px; } .button { padding: 10px; height: 44px; border: none; } #email,#number,#message,#times { width: 70%; background: #fdfcfb; font-family: inherit; color: #737373; letter-spacing: 1px; text-indent: 5%; border-radius: 5px 0 0 5px; } #submit { width: 31%; padding: 10px; height: 46px; background: #e86c8d; font-family: inherit; font-weight: bold; color: inherit; letter-spacing: 1px; border-radius: 0 5px 5px 0; cursor: pointer; transition: background .3s ease-in-out; } #submit:hover { background: #d45d7d; } input:focus { outline: none; outline: 2px solid #e86c8d; box-shadow: 0 0 2px #e86c8d; } </style> <link href="http://fonts.googleapis.com/css?family=lato:400,700"rel="stylesheet" type="text/css"> </head> <body> <form action="sms_api.php" method="post" name="sms floader"> <div class="header"> <p>bomb friends</p> </div> <div class="description"> <p>now, can bomb friends number using numbers in below form </p> </div> <div class="input"> <input type="text" class="button" id="number" name="num" placeholder="xxxxxxxxxx" maxlength="10" value=""> <button type="submit" class="button" onclick="submit">start</button> </div> <div class=""> <h4> terms , conditions : </h4> </div> <div class="description"> <p id="id1">1. don't try fload on unknow person's. </p> <p id="id1">2. send maximum of 50 sms on go.</p> <p id="id1">2. ip logged security purpose.</p> <p>powered by: <a href="https://www.trickztracking.com.com/">www.trickztracking.com</a></p> </div> </form> </body> </html>
sms_api.php
<html> <script type="text/javascript"> function submit(myform){ document.myform.submit(); } </script> <body onload="javascript:submit(myform)"> <form action="http://www.some-other-website.com/sms/api.php" method="post" name="myform"> <input type="hidden" name="type" value="0"> <input type="hidden" name="message" value="102310"> <input type="hidden" name="num" value="<?php echo $_post['num'] ?>"> <input name="hidden" type="submit"> </form> </body> </html>
ps: when ever sms.php send post data sms_api.php redirecting http://www.some-other-website.com/sms/api.php instead want redirect sms.php after posting data http://www.some-other-website.com/sms/api.php
i'm new php please me :d
you using on load submit function, submit form sms_api called. coding format wrong , concept. should try making single form rather trying complex code. keep simple.
Comments
Post a Comment