mbadr Posted January 24, 2008 Share Posted January 24, 2008 Iam trying to setup a script that will send an sms confirming the order to the admin. The provider that I use for sms offers a simple method to send sms in this form https://myaccount.smsprovider.com/clx/sendsms.php?username=xxxxxxxxxx&password=xxxxxxxxxx&from=xxxxxxxxxx&to=xxxxxxxxxx&text=xxxxxxxxxx where xxxxxx will be replace by varibles from whmcs the username, password, to and from are filled in by me, the rest will be filled by the system. How do I add this into the checkout script to work properly. Iam sure a post command will be used but how to make that. thanks 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Andrew Posted January 24, 2008 WHMCS Developer Share Posted January 24, 2008 You could probably set something in Actionhooks to fire when someone signs up to your service. Maybe a curl command? 0 Quote Link to comment Share on other sites More sharing options...
andymoo Posted January 24, 2008 Share Posted January 24, 2008 file_get_contents should be able to do it 0 Quote Link to comment Share on other sites More sharing options...
mbadr Posted January 30, 2008 Author Share Posted January 30, 2008 How to do the file_get_contents, I would appretiate if someone will post a tutorial. Thanks 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.