note 10460 added to Handling file uploads

From: Date: Fri, 05 Jan 2001 01:36:52 +0000
Subject: note 10460 added to Handling file uploads
Groups: php.notes 
Request: Send a blank email to php-notes+get-9392@lists.php.net to get a copy of this message
$HTTP_RAW_POST_DATA -- You'll usually access variables from forms sent via POST method by just accessing the associated PHP global variable. However, if your POST data is not URI encoded (i.e., custom application that's not form-based) PHP won't parse the data into nice variables for you. You will need to use $HTTP_RAW_POST_DATA to access the raw data directly. (This should return a copy of the data given to the PHP process on STDIN; note that you wan't be able to open STDIN and read it yourself because PHP already did so itself.) http://www.php.net/manual/features.file-upload.php

« previous php.notes (#9392) next »