httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Finkler" <>
Subject OT: Re: PHP Request.Form equivalent
Date Fri, 25 Jan 2002 16:05:34 GMT
> > You mean printing it out to the browser?
> > This one will do it,
> >
> >     <? echo $field_name ?>
> Or even shorter:
> <?= $field_name ?>

This actually would only work if register_globals is on.  It typically is on
most PHP installations, but as of 4.1.0 the PHP developers are actively
encouraging folks to NOT turn on register_globals.  The reasoning is that
automatically sticking everything the browser submits into a variable makes
the programmer less concious of the fact that he/she shouldn't really
"trust" what the client is telling the server -- the data could be getting
manipulated in a way he or she doesn't expect.

Take a look at for more info on this.

Ed Finkler
Webmaster, Dept. of Mathematics
Purdue University

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message