send single sms post to iframe

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
usmansarwer
Forum Newbie
Posts: 4
Joined: Mon Nov 03, 2014 4:56 am

send single sms post to iframe

Post 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
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: send single sms post to iframe

Post by yacahuma »

you want to use someone else service?
usmansarwer
Forum Newbie
Posts: 4
Joined: Mon Nov 03, 2014 4:56 am

Re: send single sms post to iframe

Post 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
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: send single sms post to iframe

Post by yacahuma »

usmansarwer
Forum Newbie
Posts: 4
Joined: Mon Nov 03, 2014 4:56 am

Re: send single sms post to iframe

Post by usmansarwer »

i have tried but not working :(
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: send single sms post to iframe

Post by yacahuma »

did you try just the page by itself, not inside the iframe? If that does not work, is something else.
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: send single sms post to iframe

Post by yacahuma »

you action should look like action="send_sms.php" method="post"
usmansarwer
Forum Newbie
Posts: 4
Joined: Mon Nov 03, 2014 4:56 am

Re: send single sms post to iframe

Post 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
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: send single sms post to iframe

Post 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
Post Reply