Elxis CMS Forum

Support => General => Topic started by: Reza Faghihi on March 23, 2007, 22:20:04

Title: bridge component problem
Post by: Reza Faghihi on March 23, 2007, 22:20:04
PHP: parse_ini_file() has been disabled for security reasons
uri: index2.php?option=com_bridge&task=license
path: /administrator/components/com_bridge/admin.bridge.php
version: Elxis 2006.4 Stable rev1080 [ Nestor ] 04-December-2006 23:08 GMT+2
WARNING(2): /home/parsref/public_html/administrator/components/com_bridge/bridge.class.php, line 88
what is the soultion prase_ini is disbaled on my server ???
Title: Re: bridge component problem
Post by: datahell on March 23, 2007, 22:23:35
There is no security threat from the php function parse_ini_file. You don't parse the php's ini file! Ini files are like XML files. Just text files that contain information. Why your system administrator disabled this function is unknown to me. Ask him!
Title: Re: bridge component problem
Post by: Reza Faghihi on March 24, 2007, 13:52:16
what a  impression
my server's admin turn it on by just visiting this post here   i just mail this post link for him and he turn it on
 ;D
 
Title: Re: bridge component problem
Post by: datahell on March 24, 2007, 15:14:05
For your information:
Any php function, even echo(), can become dangerous under some circumstances. parse_ini_file can become dangerous if you allow your users/visitors to upload ini files. Why this? There is a related hacking method that tries to overhead variables or set constants via parsing a special ini file. This at 99,999%  does not work, for many reasons. It is safe to use parse_ini_files function.