Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0b4

Bug #834 undefined index CONTENT_TYPE
Submitted: 2004-02-23 01:46 UTC
From: maka3d at yahoo dot com dot br Assigned: antonio
Status: Closed Package: HTTP_Upload
PHP Version: 4.3.4 OS: irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2004-02-23 01:46 UTC] maka3d at yahoo dot com dot br
Description: ------------ at line 251, a notice raise if index CONTENT_TYPE doesn't exist, what happens in my server when no post was sent. Replace the follow line: $this->content_type = $HTTP_SERVER_VARS['CONTENT_TYPE']; for this: if( isset($_SERVER['CONTENT_TYPE']) ) $this->content_type = $_SERVER['CONTENT_TYPE']; and change too the old vector for $_SERVER

Comments

 [2004-05-28 18:31 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!