-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsendsms.php
31 lines (31 loc) · 930 Bytes
/
sendsms.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
session_start();
/**
* Created by PhpStorm.
* User: MSaqib
* Date: 07-03-2017
* Time: 19:31
*/
//echo "Please Wait..Completing Transaction....!";
include('sms.php');
if (isset($_POST['pwd'])) {
//echo "<script>window.open('../index.php?transaction=success','_self');</script>";
echo "Done";
// header("Location:../index.php?transaction=success");
exit();
}
$msg = "helllllo";
//echo $msg;
//echo "Please Wait..Completing Transaction....!";
?>
<div class="content">
<form method="post" id="smsform">
<input type="hidden" name="uid" value="9690296844"/>
<input type="hidden" name="pwd" value="pass1234"/><input type="hidden" name="to" value="9690296844"/>
<input type="hidden" name="msg" value="<?php echo $msg; ?>"/>
<input type="hidden" value="Send SmS" id="send"/></form>
</div>
<script>
var send = document.getElementById('smsform');
send.submit();
</script>