NYCPHP Meetup

NYPHP.org

[nycphp-talk] Querying the .ini file ...

Jon Baer jonbaer at jonbaer.net
Thu May 29 12:30:29 EDT 2003


That is kinda what I don't understand, via php you should be able to use
the -d flag to report the ini values?

php -d register_globals

>From -h:
-d foo[=bar]     Define INI entry foo with value 'bar'

I was under the impression that it could/would invoke ini_get() and
ini_alter() respectively but it just hangs (on W32).

- Jon

----- Original Message ----- 
From: "Analysis & Solutions" <danielc at analysisandsolutions.com>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Thursday, May 29, 2003 7:43 AM
Subject: Re: [nycphp-talk] Querying the .ini file ...


> Jon:
>
> On Thu, May 29, 2003 at 10:13:33AM -0400, Jon Baer wrote:
> >
> > Is there another way to find out your config?  Thanks.
>
> PHP has the ini_get() function:  http://us2.php.net/ini_get
>
> --Dan
>
> -- 
>      FREE scripts that make web and database programming easier
>            http://www.analysisandsolutions.com/software/
>  T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
>  4015 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>
>




More information about the talk mailing list