Re: [PHP-DOC] php.ini -related

2002-04-11 Thread Gabor Hojtsy
> I used this php.ini. If these, or a more optimized one :-) livies in > the script dir the work should be done to change the first lines of > the scrips: > #!/usr/bin/php -q -c ./php.ini IMHO, that's not enough. Make calls the php scripts with their names passed on the command line, and so -c sh

Re: [PHP-DOC] php.ini -related

2002-04-11 Thread Friedhelm Betz
>> > For register globals: import_request_variables(), or >> > extract() can be used. BTW isn't argv and argc available >> > in some $HTTP_anyhing_VARS array? >> >> You are right in all points, but the current scripts in /scripts doesn't > use any >> of these possibilities. The build system uses p

Re: [PHP-DOC] php.ini -related

2002-04-09 Thread Gabor Hojtsy
> > For register globals: import_request_variables(), or > > extract() can be used. BTW isn't argv and argc available > > in some $HTTP_anyhing_VARS array? > > You are right in all points, but the current scripts in /scripts doesn't use any > of these possibilities. The build system uses php and r

Re: [PHP-DOC] php.ini -related

2002-04-09 Thread Friedhelm Betz
>> > > Maybe there is another way to handle this issue, and if I am talking >> > > nonsense forget it :-) >> > >> > Not too bad idea. BTW we can also use ini_get() in scripts, >> > and the like to customize the behaviour to the php.ini settings. >> >> Sure, but not possible with register_globals.

Re: [PHP-DOC] php.ini -related

2002-04-09 Thread Gabor Hojtsy
> > > Maybe there is another way to handle this issue, and if I am talking > > > nonsense forget it :-) > > > > Not too bad idea. BTW we can also use ini_get() in scripts, > > and the like to customize the behaviour to the php.ini settings. > > Sure, but not possible with register_globals. Abd the

Re: [PHP-DOC] php.ini -related

2002-04-09 Thread holliwell
> > Maybe there is another way to handle this issue, and if I am talking > > nonsense forget it :-) > > Not too bad idea. BTW we can also use ini_get() in scripts, > and the like to customize the behaviour to the php.ini settings. Sure, but not possible with register_globals. Abd the current s

Re: [PHP-DOC] php.ini -related

2002-04-09 Thread Gabor Hojtsy
> the scripts in /spcripts rely on register_globals=on and other > settings (time limit, memory etc register agrc, argv). > > As one can specify a path to php.ini with php -c it may be > nice to put an php.ini in the scripts dir with the appropriate > settings which could be used by the build sy