Can you explain me, why we should write <varname>PHP_AUTH_USER</varname> without symbol '$' and <varname>$HTTP_SERVER_VARS</varname> with it?
GH> If you use the $ symbol, then it suggest that the global variable usage GH> is suggested. PHP_AUTH_USER is supposed to be in the _SERVER array if I GH> remember correctly, and if you write it with $, then you promote the GH> usage of register_globals = on, which is not right. $HTTP_SERVER_VARS is GH> the only way to access the ther variable, so it is fine with the dollar.
So, next part of PHP-manual:
For example,
<varname>$userfile_name</varname> will equal <varname>$_FILES['userfile']['name']</varname>,
<varname>$userfile_type</varname> will equal <varname>$_FILES['userfile']['type']</varname>, etc.
I should change to:
For example, <varname>userfile_name</varname> will equal <varname>$_FILES['userfile']['name']</varname>, <varname>userfile_type</varname> will equal <varname>$_FILES['userfile']['type']</varname>, etc.
Am i shure?
Please give more context. This seems to be a part which explains how register_globalled stuff was changed, so there the $ has the role to show how it was with register globals. If this is the case, then the dollar should not be removed. The question is not simply have the dollar or not, since it always depends on the context.
Goba