Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>From the little i have read from your post, i could understand what exactly you are trying to achieve and i must say that its quite straight forward if you carefully plan your web application.</p> <p>I have embarked upon such a solution before and will give you a hint on how to solve the sms part which will enable you send sms with unique booking id to the user. I presume that your booking form will have all the necessary fields which will enable you collect the basic user details precisely the important ones which consist of booking details,user name,email &amp; phone number.</p> <p>Below is a sample php curl code embedded with XML that my sms gateway provided which i usually tweak to enable me deploy both static and dynamically generated sms using this script below. /////////////////////////////SMS GATE WAY IS WWW.INFOBIPS.COM ///////////////////// <pre><code>$user="smsgateway_user"; $pass="smsgateway_password"; $sender= "sendername"; $mobileno="2348034057037"; $message= "Your sms message goes here"; ?&gt; &lt;?php $postUrl = "http://www.infobip.com/AddOn/SMSService/XML/XMLInput.aspx"; // XML-formatted data $xmlString = "&lt;SMS&gt; &lt;authentification&gt; &lt;username&gt;$user&lt;/username&gt; &lt;password&gt;$pass&lt;/password&gt; &lt;/authentification&gt; &lt;message&gt; &lt;sender&gt;$sender&lt;/sender&gt; &lt;text&gt;$message&lt;/text&gt; &lt;/message&gt; &lt;recipients&gt; &lt;gsm&gt;$mobileno&lt;/gsm&gt; &lt;/recipients&gt; &lt;/SMS&gt;"; // previously formatted XML data becomes value of “XML” POST variable $fields = "XML=" . urlencode($xmlString); // in this example, POST request was made using PHP’s CURL $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $postUrl); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $fields); // response of the POST request $response = curl_exec($ch); // redirect the page upon successful sending header("Location:customized/confirmationpage.php"); curl_close($ch); ?&gt; </code></pre> <p>What i expect you to do is to simply redirect your booking form to this script after it has been submitted,this script will trigger the sms to the phone no of the user before redirecting back to the confirmation page of your booking script.</p> <p>With regards to the other part where the user sends and sms with unique room booking ID to confirm, I'm not to familiar this area but i guess you can decide to use a short code service or just use a manual phone number to receive your confirmation sms.</p> <p>I hope this helps</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload