I tried replacing "@" with "!" but I get "!" in the
text message and not "@". Any suggestions please?
Thanks in advance.
--- Rodney Machado <[EMAIL PROTECTED]> wrote:
> What I did to solve that is replace the "@" sign
> with an "!" character.
>
> <code_fragment>
> if($argc != 3)
> {
> echo ("Usage: $argv[0] <phone#1,phone#2,...>".'
> <"SMS Message">');
> return 0;
> }
>
> $PHONES= str_replace(",","+","$argv[1]");
>
> $sms_text = str_replace("@","!","$argv[2]");
>
> </code_fragment>
>
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> > Behalf Of Ghost
> > Sent: Jueves, 20 de Enero de 2005 09:48 a.m.
> > To: [email protected]
> > Cc: [EMAIL PROTECTED]
> > Subject: Encoding "at" symbol
> >
> >
> > Hello all,
> >
> > I noticed that text gets truncated when at "@"
> sign is
> > in the text. Please, how do I get Kannel SMPP
> gateway
> > to correctly encode it.
> >
> > Waiting for an answer PLEASE!!
> >
> > Thanks in advance.
> >
> >
> > =====
> > Sometimes it rains on the just. I believe that.
> > Sometimes it rains on the unjust. I believe that
> too.
> > Sometimes it just rains,
> > Neither God nor belief nor justice has anything to
> do with it.
> >
> > The great thing about suicide is that it is not
> one of those
> > things you have to do now or you loose your
> chance. I mean,
> > you can always do it later.
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - 250MB free storage. Do more. Manage
> less.
> > http://info.mail.yahoo.com/mail_250
> >
>
=====
Sometimes it rains on the just. I believe that.
Sometimes it rains on the unjust. I believe that too.
Sometimes it just rains,
Neither God nor belief nor justice has anything to do with it.
The great thing about suicide is that it is not one of those things you have to
do now or you loose your chance. I mean, you can always do it later.
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com