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.

Reply via email to