Config::General implementation in PHP?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Christopher

    #1

    Config::General implementation in PHP?

    I am trying to find out if there is similar functionality as Perls
    Config::General module in PHP. I would like to do this project in PHP
    and need to read in a conf file that the Perl module uses.

    Here is the link to the module for Perl:

    <http://search.cpan.org/~tlinden/Config-General-2.24/General.pm>

    I have tried searching on Config::General and PHP as well as generic
    config module for php, but the results weren't what I had hoped for.

    Any help would be appreciated.

    -Chris
  • Pedro Graca

    #2
    Re: Config::General implementation in PHP?

    Christopher wrote:[color=blue]
    > I am trying to find out if there is similar functionality as Perls
    > Config::General module in PHP. I would like to do this project in PHP
    > and need to read in a conf file that the Perl module uses.[/color]

    Don't know if this is what you want.

    Check the "PHP Options & Information" page


    and the ini_get_all() function
    http://www.php.net.ini_get_all

    or maybe parse_ini_file( ) ???

    --
    --= my mail box only accepts =--
    --= Content-Type: text/plain =--
    --= Size below 10001 bytes =--

    Comment

    • Phil Roberts

      #3
      Re: Config::General implementation in PHP?

      With total disregard for any kind of safety measures
      decryption69@ya hoo.com (Christopher) leapt forth and uttered:
      [color=blue]
      > I am trying to find out if there is similar functionality as
      > Perls Config::General module in PHP. I would like to do this
      > project in PHP and need to read in a conf file that the Perl
      > module uses.
      >
      > Here is the link to the module for Perl:
      >
      > <http://search.cpan.org/~tlinden/Config-General-2.24/General.pm>
      >
      > I have tried searching on Config::General and PHP as well as
      > generic config module for php, but the results weren't what I
      > had hoped for.
      >
      > Any help would be appreciated.
      >
      > -Chris[/color]



      --
      Phil Roberts | Dork Pretending To Be Hard | http://www.flatnet.net/

      Comment

      • Christopher

        #4
        Re: Config::General implementation in PHP?

        Thanks guys, looks to be right path.

        Comment

        Working...