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

Bug #3277 allow_url_fopen-Trouble in setInputFile
Submitted: 2005-01-24 05:21 UTC
From: pear-bugs at jensthebrain dot de Assigned: schst
Status: Closed Package: XML_Parser
PHP Version: 4.3.10 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2005-01-24 05:21 UTC] pear-bugs at jensthebrain dot de
Description: ------------ I run into troubles with the following code in the xml-parser: function setInputFile($file) { $oldVal = false; /** * check, if file is a remote file */ if (eregi('^(http|ftp)://', substr($file, 0, 10))) { if (!ini_get('safe_mode')) { $oldVal = ini_set('allow_url_fopen', 1); } else { return $this->raiseError('Remote files cannot be parsed, as safe mode is enabled.', XML_PARSER_ERROR_REMOTE); } } How could it set allow_url_fopen to 1? allow_url_fopen is only setable in php.ini or httpd.conf(PHP_INI_SYSTEM)..

Comments

 [2005-02-25 17:02 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!