Re: cvs: pear /HTTP_Upload/docs upload_example.php

From: Date: Mon, 13 Aug 2001 15:04:26 +0000
Subject: Re: cvs: pear /HTTP_Upload/docs upload_example.php
References: 1  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-491@lists.php.net to get a copy of this message
Quoting Bertrand Mansion <bmansion@wanadoo.fr>: > I think it is better to use $HTTP_SERVER_VARS["PHP_SELF"], just in case > register globals is off in configuration (which is going to be the default > sometimes soon). I thought this was in CODING_STANDARDS, but it isn't; if someone has time to write it up, it should be added. All PEAR code should work regardless of PHP settings - i.e., assume register_globals is off, check for magic_quotes if you deal with input; _especially_ don't rely on one or the other. -chuck -- Charles Hagenbuch, <chuck@horde.org> Some fallen angels have their good reasons.

« previous php.pear.cvs (#491) next »