Tropo free sms client api class

Started on the old forum in May 2011 · view the original in the archive · old links redirect here

157 replies · 15,361 views · started 15 years ago · 1 min read

TL;DR · summary of 157 replies
  • pkmob's problem was resolved after providing a valid token and copying the full token from the tropo application pop-up.
  • The issue with messages not being received persists, as no clear fix has been provided yet.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

38 participants
frankboee Newbie · 6 posts #81

Ya really algorithm is true, please guys, think about some security !!!

CreativityKills Lead · 833 posts #83

i have updated the archive and added v2.1.0 contains captcha. There is one known bug though, the valid human doesnt seem to work. I put a valid human setting that is supposed to turn off captcha automagically. When a user has entered the correct captcha x times, this is so that a user doesnt get pissed off (not that i care, its free anyway) but after a user has entered the correct captcha say 4 times, theres really no need to keep requesting captcha, hes proven to be a valid human. You can turn off the feature by setting a high value like 100000 lol.

Added after 22 minutes:

i just fixed it in my demo so you guys should fix it yall selves lol open process.php and edit the following:

// Find this line
$_human = (int) Arr::get($_SESSION, 'valid_human', 0, true);

// Change to ...
$_human = (int) Arr::get($_SESSION, 'valid_human');

// Then find this line...
$_SESSION['valid_human'] = $_human++;

// Change to...
$_SESSION['valid_human'] = $_human + 1;
atef Developer · 224 posts #84

When i entered a number without + sympole i got that error and it contain ur tropo token ,i replaced it with xxx array(3) { ["ftoken"]=> string(32) "xxxx" ["result"]=> string(4) "pct7" ["valid_human"]=> int(1) }

CreativityKills Lead · 833 posts #85

pmpl i forgot to remove a debug var i used when i was debugging the code. Look for it at process.php and remove the var_dump($_SESSION) statement

oh now i understand you, you mean in my demo? Yeah i know, thats not my token, thats the form token, its randomly generated.

frankboee Newbie · 6 posts #86

It worked!! thanks creativitykills!! You r talent guy!!

CreativityKills wrote: pmpl i forgot to remove a debug var i used when i was debugging the code. Look for it at process.php and remove the var_dump($_SESSION) statement

oh now i understand you, you mean in my demo? Yeah i know, thats not my token, thats the form token, its randomly generated.

avira Newbie · 1 posts #87

is Romania supported? I do not find Romania in the "international" list

frankboee Newbie · 6 posts #89

I got this error in my error log, can you please go through it, [29-May-2011 17:46:26] PHP Warning: session_start() [<#>]: The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in public_html/freesms/app/captcha_string.php on line 2

pkmob Junior · 31 posts #91

CreativityKills wrote: Your host is the problem not the script. U could use cookies instead but set a very short time limit to expire

how to Set cookies bro. pls. Post any example here.

shakil420 Developer · 125 posts #93

Why its stop ? no response from tropo !! check token !! but check and re active then update it .. but still this error ?? what to do bro ??

pkmob Junior · 31 posts #94

CreativityKills wrote: oh my God youve gotta be kidding me!!!

setcookie('token', $token, time() + (60 * 2));

bro i want to Set COOKIES on a Page, if user opne that page 50times, he automatically Redrict to other Page, pls. Bro. help me I m New In PHP.

give me that code.

iporidge Newbie · 8 posts #96

Great service, going to design a new template.

godfathersis Junior · 35 posts #99

atef wrote: Is it stoped? i dont recive the messages i tried ur demo and 3 tokens :-S

no itz working.....

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close