The problem is likely due to you register_globals setting in php.ini.
To access the data from the form you should use the $_GET or $_POST superglobal arrays..
If you have an input field like so:
<input type='text' name='foo' />
And the method is POST...
Then you would access the variable in
$_POST['foo']
Instead of in $foo..
And $_GET['foo'] if the method is GET.
The default setting for this configuration directive used to be 'on' prior to PHP 4.2.0 and 'off' 4.2.0 onward.. the reasoning behind it being to tighten up security in PHP. The Wrox book was published prior to this configuration's default value being changed. Since PHP no longer encourages its use I would recommend getting used to working with it off. In fact, the directive is deprecated and at some point in the future PHP will no longer support it.
There are a multitude of articles in p2p forums that discuss this..
http://www.google.com/search?q=regis...e:p2p.wrox.com
: )
Rich
:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::