Bruno

Is there an issue with contrib/web/form.php? Running it here from the
nightly snapshot it gives

Warning: Variable passed to each() is not an array or object in
/......./form.php on line 294

Alex

----- Original Message -----
From: "Bruno Rodrigues" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 22, 2003 1:57 AM
Subject: Re: wap push si/sl


> Robin <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > When i did a wap push via commandline "./test_ppg -q
> > http://127.0.0.1:8080/wappush?username=f00'&'password=f00 ./content.xml
> > ./control.xml", it works perfectly fine.
> > But when i tried contrib/web/sendsms.php wap push si/sl, it doesn't
work.
>
> My fault ;)
>
> Wap Push SI code includes an hardcoded validity date way back in the
> past (2002).
>
> please apply this patch or update from cvs
>
> (just commenting those two lines with dates is enough)
>
>
> Index: contrib/web/sendsms.php
> ===================================================================
> RCS file: /home/cvs/gateway/contrib/web/sendsms.php,v
> retrieving revision 1.1
> retrieving revision 1.2
> diff -u -3 -p -r1.1 -r1.2
> --- contrib/web/sendsms.php     26 Feb 2002 00:04:57 -0000      1.1
> +++ contrib/web/sendsms.php     22 Jul 2003 00:56:52 -0000      1.2
> @@ -236,8 +236,8 @@
>         $fields['text'] .= "%0b" . "%03" . $fields['url'] . "%00";
> # href=$url
>         $fields['text'] .= "%11" . "%03" . rand(1,9)."@vodafone.pt" .
> "%00";    # si-id=
>         $fields['text'] .= "%08"; # action="signal-high"
> -       $fields['text'] .= "%0A" . "%C3%07%20%01%10%21%20%02%23"; #
>         created=
> -       $fields['text'] .= "%10" . "%C3%04%20%02%06%30"; # valid=
> +       #$fields['text'] .= "%0A" . "%C3%07%20%01%10%21%20%02%23"; #
> created=
> +       #$fields['text'] .= "%10" . "%C3%04%20%02%06%30"; # valid=
>          $fields['text'] .= "%01"; # end indication params
>         $fields['text'] .= "%03" . urlencode($fields['name']). "%00";
>        $fields['text'] .= "%01"; # </indication>
>


Reply via email to