Cheap Global SMS Widget / Webview

Just as you can access the widget URL (or web view) directly at https://cheapglobalsms.com/widget , you can as well embed it in your applications or simple HTML webpages.

E.G. Loading the widget into an iframe is demonstrated below:

<iframe src='//cheapglobalsms.com/widget' style='width:100%;height:560px;border:1px solid #bbb;border-radius:3px;'></iframe>

Example of CGSMS widget, loaded into an iframe


TIPS: Sub-accounts can easily be created for free here.

Auto-login URL

Supposing that you are importing the widget into a page on your admin panel, the sample php code describes how to generate a url that could be used; in order to be automatically logged in.
<?php
 $sub_account='001_mysub1';
 $sub_account_pass='pa55w0Rd';

 $token=base64_encode($sub_account.':'.$sub_account_pass);

 $url="http://cheapglobalsms.com/widget/?token=$token";
?>
So for instance, to load the above authenticated url via iframe could be like:
<iframe src='<?php echo $url; ?>' style='width:100%;height:560px;border:1px solid #bbb;border-radius:3px;'></iframe>