473,246 Members | 1,673 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,246 software developers and data experts.

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
Jul 17 '05 #1
3 2631
Christopher wrote:
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.


Don't know if this is what you want.

Check the "PHP Options & Information" page
http://www.php.net/manual/en/ref.info.php

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

or maybe parse_ini_file() ???
http://www.php.net/parse_ini_file
--
--= my mail box only accepts =--
--= Content-Type: text/plain =--
--= Size below 10001 bytes =--
Jul 17 '05 #2
With total disregard for any kind of safety measures
de**********@yahoo.com (Christopher) leapt forth and uttered:
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


http://pear.php.net/package/Config

--
Phil Roberts | Dork Pretending To Be Hard | http://www.flatnet.net/
Jul 17 '05 #3
Thanks guys, looks to be right path.
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Peter Blum | last post by:
I have built an assembly (dll) from which I expect third parties to subclass. As a result, when my assembly has a version change, it will cause any third party assembly based on it to break unless...
1
by: Eric Cadwell | last post by:
Can it be done? How would I make a change without compiling? Thanks, Eric Cadwell
1
by: Sauron | last post by:
Hi all I have created a Service that will listen for incoming requests from client computers and communicate with my .NET remoting objects to send data back. My problem is when I start the...
1
by: win2kcowboy | last post by:
Using VS2003, ASP.NET 1.1 Is it possible to secure files normally placed as attachments (such as word docs etc.) and often placed in attachment directories within your web application, using...
22
by: Daniel Billingsley | last post by:
Ok, I wanted to ask this separate from nospam's ridiculous thread in hopes it could get some honest attention. VB6 had a some simple and fast mechanisms for retrieving values from basic text...
3
by: Tim Gallivan | last post by:
Hi all, I think read somewhere (but I can't find it ... note to self: must get new filing system ...) that there is a workaround so that an app.config can have multiple keys with the same name...
4
by: Rubbrecht Philippe | last post by:
Hi there, I would like to develop an interface that when implemented in a class requires a number of shared properties or methods to be available. It seems a Shared Member can not be used as...
6
by: Joel H | last post by:
We have several settings in web.config that are different on the developer side than the production side. Our website sourcecode is under sourcesafe control, so before we code, we check out the...
1
by: Richard Lewis Haggard | last post by:
It appears that unit tests created to exercise methods that read information from the application's app.config file have a problem in that these methods do not have access to the app.config file...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.