You are here: Re: Why can't I navigate to parent directory for a PHP function? « PHP Programming Language « IT news, forums, messages
Re: Why can't I navigate to parent directory for a PHP function?

Posted by eppintab on 10/04/06 15:40

eppintab@googlemail.com wrote:
> from ~/functions/mysql.functions.inc.php
> <?php
>
> function Parse_MySQL_INI_Settings_File()
> {
> $MySQL_Settings = parse_ini_file('../mysql_settings.ini', true);
>
> return $MySQL_Settings;
> }
>
> ?>
>
> ~/mysql_settings.ini exists
>
> Why doesn't ../mysql_settings.ini work? If I move the ini file to the
> functions dir, it works.

For some strange reason it works now. Maybe file permissions.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация