note 14530 deleted from language.variables.external by didou

From: Date: Wed, 21 Jan 2004 09:29:28 +0000
Subject: note 14530 deleted from language.variables.external by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-63932@lists.php.net to get a copy of this message
Note Submitter: flynn@NOSPAM_NOSPAM.itd.nrl.navy.mil ---- For enctype="multipart/form-data" submissions, the value of string variables (at least) may have a spurious initial new line, which I suspect originates from the blank line in the actual layout of this encoding type (take a look at the w3c specs for details). To remove this stray debris, a simple: $my_form_var = ltrim($my_form_var); should do it.

« previous php.notes (#63932) next »