RE: [PHP-DEV] PHP 4.0 Bug #4986: $PHP_PUT_FILENAME is missing (us ing PUT METHOD)

From: Date: Tue, 13 Jun 2000 11:34:44 +0000
Subject: RE: [PHP-DEV] PHP 4.0 Bug #4986: $PHP_PUT_FILENAME is missing (us ing PUT METHOD)
Groups: php.dev 
Request: Send a blank email to php-dev+get-21195@lists.php.net to get a copy of this message
I had tried to port the HTTP PUT support to php4. It is based on the patch from Manuel Lemos, and on the code of Php4 for POST file upload. I join my modifications. The code need to be checked by a php developer... The publish works for me (Solaris, Apache 1.3.12 and php-4.0.0 as a dynamic Apache module) But I have a strange behavior : - When I publish a .html document, everything goes right : the /put.php file is executed. - But when I publish a .php document, for example /index.php , this is not the /put.php file that is executed, but the file that need to be published : /index.php I still can't figure out if it's a problem of php or of my apache configuration. Ludovic Gauthier. -----Original Message----- From: Rasmus Lerdorf [mailto:rasmus@linuxcare.com] Sent: Monday, June 12, 2000 6:41 PM To: Zeev Suraski Cc: gbacker@rogerisland.de; php-dev@lists.php.net Subject: Re: [PHP-DEV] PHP 4.0 Bug #4986: $PHP_PUT_FILENAME is missing (using PUT METHOD) We did in PHP 3. That was what the Manuel Lemos patch did. It was never migrated to PHP 4. On Mon, 12 Jun 2000, Zeev Suraski wrote: > Am I missing something? Do we support the PUT method? > > On 12 Jun 2000 gbacker@rogerisland.de wrote: > > > From: gbacker@rogerisland.de > > Operating system: FreeBSD 4.0 > > PHP version: 4.0.0 Release > > PHP Bug Type: Misbehaving function > > Bug description: $PHP_PUT_FILENAME is missing (using PUT METHOD) > > > > Using a php4 script to upload files to the server via > > PUT Method it seems that the GLOBAL VAR $PHP_PUT_FILENAME > > is not there. To debug I printed out the entries of the $GLOBALS hash and...no > > $PHP_PUT_FILENAME or $PHP_UPLOADED_FILE_NAME entry > > > > Configuration problem? (Did I forget to set a parameter on compiling PHP4?) > > > > Its quite urgent :) > > > > > > > > > > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

Attachment: [application/octet-stream] http_put.diff
« previous php.dev (#21195) next »