Nicholas, Try this patch. I haven't tried it... ;-) but it may work.
On Wednesday, 2004-01-07 at 12:54:40 PM, Benjamin Lee scribbled: > Sounds like you aren't encoding your plus '+' sign in your CGI query. > > + is encoded as %2B > > On Wednesday, 2004-01-07 at 12:41:05 PM, Nicholas Calugar scribbled: > > I am having an issue with International SMS. I believe the "+" that I > > have been prefixing international numbers with is being converted to a > > space by the smsbox. Please take note of the to field below from > > smsbox.log > > > > 2004-01-06 17:27:11 [2] DEBUG: HTTP: Creating HTTPClient for > > `65.36.154.35'. > > 2004-01-06 17:27:11 [3] INFO: smsbox: Got HTTP request > > </cgi-bin/sendsms> from <65.36.154.35> > > 2004-01-06 17:27:11 [3] INFO: sendsms used by <tester> > > 2004-01-06 17:27:11 [3] INFO: sendsms sender:<tester:GLOBAL_SENDER> > > (65.36.154.35) to:< 5022011058> msg:<This is nick from Chatter in the > > USA!> > > 2004-01-06 17:27:11 [3] DEBUG: message length 37, sending 1 messages > > 2004-01-06 17:27:11 [3] DEBUG: Status: 202 Answer: <Sent.> > > 2004-01-06 17:27:11 [3] DEBUG: HTTP: Destroying HTTPClient area > > 0x80adc40. > > 2004-01-06 17:27:11 [3] DEBUG: HTTP: Destroying HTTPClient for > > `65.36.154.35'. > > > > > > Nicholas Calugar > > 619-546-9803 > > 866-404-2428 > > > > Chatter > > 3577 4th Ave. > > San Diego, CA 92103 > > > > www.2chatter.com > > > -- Benjamin Lee Melbourne, Australia "Always real." http://www.realthought.net/ __________________________________________________________________________ You know you've been sitting in front of your Lisp machine too long when you go out to the junk food machine and start wondering how to make it give you the CADR of Item H so you can get that yummie chocolate cupcake that's stuck behind the disgusting vanilla one.
? php-admin.rawurl.patch ? sendsms.php.oldurl ? sendvcard.php.oldurl Index: sendsms.php =================================================================== RCS file: /home/cvs/gateway/contrib/php-admin/sendsms.php,v retrieving revision 1.1 diff -u -r1.1 sendsms.php --- sendsms.php 1 Dec 2000 12:49:56 -0000 1.1 +++ sendsms.php 7 Jan 2004 08:05:35 -0000 @@ -11,7 +11,7 @@ if ($submit) { echo "Sending the SMS Text message <b>\"$text\"</b> to the phone <b>$to</b>...<br>\n"; - $URL = "/cgi-bin/sendsms?username=".USERNAME."&password=".PASSWORD."&from=".GLOBAL_SENDER."&to=$to&text=".urlencode($text); + $URL = "/cgi-bin/sendsms?username=".USERNAME."&password=".PASSWORD."&from=".GLOBAL_SENDER."&to=$to&text="rawurlencode($text); http_send($URL,SENDSMS_PORT); echo "<address><a href=\"$PHP_SELF\">Back to Send SMS</a></address>\n"; } else { Index: sendvcard.php =================================================================== RCS file: /home/cvs/gateway/contrib/php-admin/sendvcard.php,v retrieving revision 1.1 diff -u -r1.1 sendvcard.php --- sendvcard.php 1 Dec 2000 12:49:56 -0000 1.1 +++ sendvcard.php 7 Jan 2004 08:05:35 -0000 @@ -16,7 +16,7 @@ $text .= "TEL;PREF:+".$telephone."\r\n"; $text .= "END:VCARD\r\n"; echo "Sending the vCard SMS message <b>\"$text\"</b> to the phone <b>$to</b>...<br>\n"; - $URL = "/cgi-bin/sendsms?username=".USERNAME."&password=".PASSWORD."&from=".GLOBAL_SENDER."&to=$to&udh=%06%05%04%23%F4%00%00&text=".urlencode($text); + $URL = "/cgi-bin/sendsms?username=".USERNAME."&password=".PASSWORD."&from=".GLOBAL_SENDER."&to=$to&udh=%06%05%04%23%F4%00%00&text="rawurlencode($text); // echo "URL: $URL<br>\n"; http_send($URL,SENDSMS_PORT); echo "<address><a href=\"$PHP_SELF\">Back to Send vCard SMS</a></address>\n";