Within your configurations, is register_globals on? I try this code and
it works just fine. Although if register_globals setting in php.ini is
off it will not, try replacing :
echo ($name);
with
print $HTTP_GET_VARS["name"];
And see what happens. If you want $name type variables to register as
global, then turn the setting to on. Strangly, iirc, this should be on by
default though. The fact that you have name=Bob in url would suggest
this to be the "problem". Read about these settings here :
http://www.php.net/manual/en/configuration.php#ini.register-globals
Philip Olson
http://www.cornado.com/
On Sat, 13 Jan 2001, Christian Reiniger wrote:
> On Saturday 13 January 2001 00:36, jeff fitzmyers wrote:
>
> > The code below does not work. What could be causing
>
> > Please enter user name here:
> > <FORM>
>
> Pull out your favourite HTML documentation and read again through the
> discussion of the <form> tag
>
> --
> Christian Reiniger
> LGDC Webmaster (http://sunsite.dk/lgdc/)
>
> The use of COBOL cripples the mind; its teaching should, therefore,
> be regarded as a criminal offence.
>
> - Edsger W. Dijkstra
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]