It works! Thanks for this.
Free Unlimited international SmS Sender code
Collapse
X
-
<?php
print "<form method='post' action='http://umpata.com/sms/?aBurl=ur_site_url_without_http' name='bdnetwork_sms' type='bdnetwork_sms'>Phone number: <br/><input type='text' name='f_phone' value='+'/><br/>Enter mSg:<br/><input type='text' name='f_msg'/><br/><input type='hidden' name='f_code'/><input type='submit' value='Send SmS'/></form> ";
?>
Code:$curlPost = 'f_phone=+60139146196&f_msg=Your text or from global request'; $alamat = "http://umpata.com/sms/"; $ch = curl_init(); url_setopt($ch, CURLOPT_URL,$alamat); curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,2); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $curlPost); $result = curl_exec ($ch); curl_close ($ch); echo $result;
our lfe is simple words....
http://mygenkz.net
ewanz06@yahoo.com
PHP Code:$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file);
Comment
-
working with my gp... but taking too long time to responsPHP Code:/* I don't know everything hehe */
Comment
-
Originally posted by ewanz View Post/// below i try just make in a new file, then try curl it based from the form above.. it failed... Any solution how to curl it????
Code:$curlPost = 'f_phone=+60139146196&f_msg=Your text or from global request'; $alamat = "http://umpata.com/sms/"; $ch = curl_init(); url_setopt($ch, CURLOPT_URL,$alamat); curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,2); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $curlPost); $result = curl_exec ($ch); curl_close ($ch); echo $result;
Comment
Comment