On July 18, 2011 at 11:33 AM Daniele Forsi <
address@hidden> wrote:
> 2011/7/18 Mosca Federico:
>
> > but if i try to use my cgi, it doesn't do nothing and i haven't any kind of
> > debug
>
> I guess you can redirect stdout and stderr, eg.:
> exec ("echo $sms_text|gnokii --sendsms +39xxxxx 1>>/tmp/debug.txt 2>&1");
>
> note that you usually don't run gnokii as root but you just give your
> user the right permissions for the device, in your case it's the user
> under which the webserver runs
>
> for continuous operation you should consider using smsd
> --
> Daniele Forsi
>
> _______________________________________________
> gnokii-users mailing list
>
address@hidden
>
https://lists.nongnu.org/mailman/listinfo/gnokii-users