hchsk Posted May 4, 2009 Share Posted May 4, 2009 im sorry in advance, i wasnt sure where to post this. i don't know if anyone has ever used the free DOTGO texting service, but by using an index.cmrl file on ANY website, texts sent to DOTCOM with the first word being your domain name, will automatically be responded to in a way you define within index.cmrl i have successfully integrated this into my website, with one exception, i cannot for my life figure out how to pass parameters from the text to an engine script. i have even copy and pasted their example exactly (with the obvious domain name/url modifications), and attempted to use both perl and php scrips, to no avail. can anyone help me figure out the problem? i get a 500 internal service error (or 404 not found, which cannot possibly be true, depending on what i'm trying), but the problem is caused by my use of the variable $param['password'] which is supposed to grab the parameter named "password", i have btw, tried using double quotes, and no quotes, as well as as i stated before, the exact script posted in http://dotgo.com/support/documentation/doc0005.1.0/html-1/ any help, suggestions, is as always appreciated, as is your time Quote Link to comment https://forums.phpfreaks.com/topic/156803-dotgo-script-processing/ Share on other sites More sharing options...
Ken2k7 Posted May 4, 2009 Share Posted May 4, 2009 Read rule #15 - http://www.phpfreaks.com/page/forum-rules Quote Link to comment https://forums.phpfreaks.com/topic/156803-dotgo-script-processing/#findComment-825805 Share on other sites More sharing options...
sbg-sm Posted May 29, 2009 Share Posted May 29, 2009 Hi, You're looking for the <engine> tag. See the document "How to implement DOTGO Engines" on the DOTGO website dotgo.com/support/documentation. Engines are scripts referenced from your CMRL that can return dynamic content. For example, you could write the following in your CMRL: <match pattern="news"> <engine href="http://yourdomain.com/dotgo.php" /> </match> and then define http://yourdomain.com/dotgo.php as: <?php $arg = $_REQUEST['sys_argument']; print "<message><content>No news today for '$arg'.</content></message>"; ?> See the DOTGO doc referenced above for more details. im sorry in advance, i wasnt sure where to post this. i don't know if anyone has ever used the free DOTGO texting service, but by using an index.cmrl file on ANY website, texts sent to DOTCOM with the first word being your domain name, will automatically be responded to in a way you define within index.cmrl i have successfully integrated this into my website, with one exception, i cannot for my life figure out how to pass parameters from the text to an engine script. i have even copy and pasted their example exactly (with the obvious domain name/url modifications), and attempted to use both perl and php scrips, to no avail. can anyone help me figure out the problem? i get a 500 internal service error (or 404 not found, which cannot possibly be true, depending on what i'm trying), but the problem is caused by my use of the variable $param['password'] which is supposed to grab the parameter named "password", i have btw, tried using double quotes, and no quotes, as well as as i stated before, the exact script posted in http://dotgo.com/support/documentation/doc0005.1.0/html-1/ any help, suggestions, is as always appreciated, as is your time Quote Link to comment https://forums.phpfreaks.com/topic/156803-dotgo-script-processing/#findComment-844667 Share on other sites More sharing options...
sbg-sm Posted May 29, 2009 Share Posted May 29, 2009 Sorry, responded too quickly before completely reading your post--can you post the CMRL and PHP engine which aren't working? im sorry in advance, i wasnt sure where to post this. i don't know if anyone has ever used the free DOTGO texting service, but by using an index.cmrl file on ANY website, texts sent to DOTCOM with the first word being your domain name, will automatically be responded to in a way you define within index.cmrl i have successfully integrated this into my website, with one exception, i cannot for my life figure out how to pass parameters from the text to an engine script. i have even copy and pasted their example exactly (with the obvious domain name/url modifications), and attempted to use both perl and php scrips, to no avail. can anyone help me figure out the problem? i get a 500 internal service error (or 404 not found, which cannot possibly be true, depending on what i'm trying), but the problem is caused by my use of the variable $param['password'] which is supposed to grab the parameter named "password", i have btw, tried using double quotes, and no quotes, as well as as i stated before, the exact script posted in http://dotgo.com/support/documentation/doc0005.1.0/html-1/ any help, suggestions, is as always appreciated, as is your time Quote Link to comment https://forums.phpfreaks.com/topic/156803-dotgo-script-processing/#findComment-844670 Share on other sites More sharing options...
keoflex Posted November 23, 2009 Share Posted November 23, 2009 for anyone wanting to use DOTGO service but not wanting to write the cmrl file i suggest dktext.com its free and uses a database to store all your dotgo categories and responces. I checked the website and they said this week they would open up for free service. They even wrote a way where you can update your response for a specific category from a text message by setting a pin code within there system. GREAT service!!! Quote Link to comment https://forums.phpfreaks.com/topic/156803-dotgo-script-processing/#findComment-964348 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.