Re: wap push si/sl

Benjamin Lee <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
That error arises because the php installation has

register_globals = Off

in php.ini

If you add this to the top of sendsms.php, you should be fine.

<?php extract($_REQUEST); ?>
<html>
<font size=-2>
<?php
etc...


On Thursday, 2003-07-24 at 09:24:47 PM, Alex Judd scribbled:
> 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
> 

*snip*

On Thursday, 2003-07-24 at 11:49:15 PM, Bruno Rodrigues scribbled:
> Alex Judd <[email protected]> wrote:
> > 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
> 
> no changes in that code in cvs.
> 
> 294 uses an array with a $mode parameter. please check in your web
> interface what is said after "Sendsms <somemode>" and check if that mode
> is found in $aModeFields = array( "somemode" => ..."....)
> 
> 


-- 
Benjamin Lee
Melbourne, Australia         "Always real."    http://www.realthought.net/

__________________________________________________________________________
Leveraging always beats prototyping.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.