Page 1 of 1
send single sms post to iframe
Posted: Mon Nov 03, 2014 4:58 am
by usmansarwer
Hi I have sms website and i have add one button to my all single post button is working but the problem is the send button is going on another page i have create this code
<form action="
http://uksmsserver.ismspoetry.com/" method="post"> <input name="go-content" type="hidden" value="<?php echo $new_content; ?>" /><div id="button"><input type="submit" value="Send this Sms to Mobile" /></div></form>
but i want to do i want to send single sms to This Page Iframe Sms Sender
http://ismspoetry.com/send-free-sms-to-united-kingdom/
i don
Re: send single sms post to iframe
Posted: Mon Nov 03, 2014 8:55 am
by yacahuma
you want to use someone else service?
Re: send single sms post to iframe
Posted: Mon Nov 03, 2014 11:49 am
by usmansarwer
no i have my own service give me any code if need to put on this sms sender script i will put it there
Re: send single sms post to iframe
Posted: Mon Nov 03, 2014 12:04 pm
by yacahuma
Re: send single sms post to iframe
Posted: Mon Nov 03, 2014 5:08 pm
by usmansarwer
i have tried but not working

Re: send single sms post to iframe
Posted: Mon Nov 03, 2014 7:25 pm
by yacahuma
did you try just the page by itself, not inside the iframe? If that does not work, is something else.
Re: send single sms post to iframe
Posted: Mon Nov 03, 2014 7:38 pm
by yacahuma
you action should look like action="send_sms.php" method="post"
Re: send single sms post to iframe
Posted: Tue Nov 04, 2014 5:53 am
by usmansarwer
i did,t upload these files on my hosting these files are on another server
i made subdomin in my hosting with simple dns zone and i have add ip of my sms sender server so i just want to send my single post on that page what i have add
Re: send single sms post to iframe
Posted: Tue Nov 04, 2014 6:37 am
by yacahuma
if you have access to the code, then look for something like
Code: Select all
if (isset($_POST['submitbtn']))
{
//send sms here
}
your submit button name must match that name