You are here: Re: [PHP] programatically determining path to php.ini ? « PHP « IT news, forums, messages
Re: [PHP] programatically determining path to php.ini ?

Posted by Philip Hallstrom on 06/29/05 20:49

> I have not been able to find any way of determining the path to the current
> php.ini file, programatically, from within a running script.
>
> The only hack I can think of is to parse the ouput of phpinfo().
>
> Any ideas?

http://us3.php.net/manual/en/function.get-cfg-var.php

get_cfg_var('cfg_file_path');

-philip

 

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

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