Re: [PHP-DEV] Calling other PHP functions from your extension

2002-06-15 Thread fabwash
Well have you tried it? Use the same example, and instead of putting "test_function", put "phpinfo", or any php function that doesn't take parameters, and see the result, it works! To pass parameters to the function you want to call, it's a bit more complicated. Take a look at the call_user_func

[PHP-DEV] Re: register_globals vs session.force_nocookie

2002-06-15 Thread Giancarlo Pinerolo
[EMAIL PROTECTED] (Sascha Schumann) wrote: --- >Let's analyze the meaning of session.use_cookies, shall we? > >http://php.net/manual/en/ref.session.php says: > >"session.use_cookies specifies whether the module will use >cookies to store the session id on the client side. Defaults

Re: [PHP-DEV] Calling other PHP functions from your extension

2002-06-15 Thread Andrew Patterson
> Take a look at http://www.php.net/manual/en/zend.calling-user-functions.php > I guess that's what you need. Hmmm. I'm not sure, but I thought this was about calling user-defined functions, not existing PHP module functions. Looking at my last email, I probably wasn't clear enough :P I don't w

[PHP-DEV] CORRECTION: [PHP-DEV] Does (will?) php support BerkeleyDB4 yet?

2002-06-15 Thread R Blake
make that in 4.2.1 or 4.3.x. working on php & perl - got my versions crossed . > >> hi, >> >> is BerkelyDB4 supported in 5.8.0RC1? >> >> i note that -with-db has been deprecated, and that only -with-db2, >> -with-db3 and -with-dbm remain .. >> >> thanks for any comments/pointers. >

RE: [PHP-DEV] Does (will?) php support BerkeleyDB4 yet?

2002-06-15 Thread James Cox
> hi, > > is BerkelyDB4 supported in 5.8.0RC1? > > i note that -with-db has been deprecated, and that only -with-db2, > -with-db3 and -with-dbm remain .. > > thanks for any comments/pointers. Hey, could i get a copy of 5.8.0RC1 please? -- james -- PHP Development Mailing List

Re: [PHP-DEV] Calling other PHP functions from your extension

2002-06-15 Thread fabwash
Take a look at http://www.php.net/manual/en/zend.calling-user-functions.php I guess that's what you need. What is your extension about? Fab. - Original Message - From: "Andrew Patterson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 15, 2002 8:33 PM Subject: [PHP-DEV]

[PHP-DEV] Calling other PHP functions from your extension

2002-06-15 Thread Andrew Patterson
Hello, I've been messing around with my own PHP extension for a couple of days now (I was pleasantly surprised to find how easy it was to write one!), one I've been meaning to write for over a year and I had a couple of questions I hope I can get some help on: i) is it possible to call other

Re: [PHP-DEV] Zend Constants PATCH

2002-06-15 Thread Ilia A.
Andi, I wrote another patch, this time a 'proper' way, which means the old functionality of case insensetivity is supported. Please look it over, hopefuly this is good enough to commit. I've also attached a small php test script you can use to see the problem in non patched PHPs. Ilia On Jun

Re: [PHP-DEV] Zend Constants PATCH

2002-06-15 Thread Magnus M!91
ok, sorry.. Missed that one.. On Sat, 15 Jun 2002 22:44:24 +0300 Andi Gutmans <[EMAIL PROTECTED]> wrote: > We're not going to add configuration options which change the language's > behavior! > We've said this a million times. > > Andi > > At 09:41 PM 6/15/2002 +0200, Magnus M wrote: > >What

Re: [PHP-DEV] Zend Constants PATCH

2002-06-15 Thread Andi Gutmans
We're not going to add configuration options which change the language's behavior! We've said this a million times. Andi At 09:41 PM 6/15/2002 +0200, Magnus M wrote: >What about a configuration option in php.ini >use_case_sensitive = 0|1 >and let it be 0 as default ? > > >On Sat, 15 Jun 2002 22

Re: [PHP-DEV] Zend Constants PATCH

2002-06-15 Thread Magnus M
What about a configuration option in php.ini use_case_sensitive = 0|1 and let it be 0 as default ? On Sat, 15 Jun 2002 22:25:18 +0300 Andi Gutmans <[EMAIL PROTECTED]> wrote: > Ilia, > > I remember now the problem you're talking about. It has been discussed here > in the past and I don't recal

Re: [PHP-DEV] Zend Constants PATCH

2002-06-15 Thread Andi Gutmans
Ilia, I remember now the problem you're talking about. It has been discussed here in the past and I don't recall us having found a good solution. Basically we need a solution which is backwards compatible but will allow "TEST" and "test" to co-exist if case sensitivity was chosen for them. It'

Re: [PHP-DEV] Zend Constants PATCH

2002-06-15 Thread Ilia A.
Andi, Yes, you are correct in that respect, my patch would accomplish just that. No where in PHP documentation does it say that you cannot have TEST and test defines in the same script. Unless you specifically tell the define() function to treat the define as case insensitive. Because the defin

Re: [PHP-DEV] Zend Constants PATCH

2002-06-15 Thread Andi Gutmans
Ilia, Your patch basically makes PHP constants case sensitive. Changing this is a very big backwards compatibility problem. You're not supposed to register two define's with the same letters but different case. Andi At 01:21 PM 6/15/2002 -0400, Ilia A. wrote: >Hello, > >While developing softwa

[PHP-DEV] Does (will?) php support BerkeleyDB4 yet?

2002-06-15 Thread Richard S. Blake
hi, is BerkelyDB4 supported in 5.8.0RC1? i note that -with-db has been deprecated, and that only -with-db2, -with-db3 and -with-dbm remain .. thanks for any comments/pointers. richard -- R Blake blakers mac.com http://homepage.mac.com/blaker

[PHP-DEV] Zend Constants PATCH

2002-06-15 Thread Ilia A.
Hello, While developing software in PHP that supports i18n I've come across several problems that affect defines made in PHP. The first problem is that when a define is declared and its name contains upper case characters such as I, the define becomes unusable if a locale, which does not suppo

[PHP-DEV] Re: [PHP-QA] Testers needed for bundled gd library in CVS

2002-06-15 Thread Melvyn Sopacua
At 17:17 15-6-2002, Markus Fischer shared with all of us: >On Sat, Jun 15, 2002 at 04:56:30PM +0200, Melvyn Sopacua wrote : > > At 15:59 15-6-2002, Markus Fischer shared with all of us: > > > > >On Sat, Jun 15, 2002 at 03:46:14PM +0200, Melvyn Sopacua wrote : > > >> Current cvs buildscript seems

[PHP-DEV] Re: [PHP-QA] Testers needed for bundled gd library in CVS

2002-06-15 Thread Markus Fischer
On Sat, Jun 15, 2002 at 04:56:30PM +0200, Melvyn Sopacua wrote : > At 15:59 15-6-2002, Markus Fischer shared with all of us: > > >On Sat, Jun 15, 2002 at 03:46:14PM +0200, Melvyn Sopacua wrote : > >> Current cvs buildscript seems broken: > > > >Please try the snapshot, they come with their o

[PHP-DEV] Re: [PHP-QA] Testers needed for bundled gd library in CVS

2002-06-15 Thread Melvyn Sopacua
At 15:59 15-6-2002, Markus Fischer shared with all of us: >On Sat, Jun 15, 2002 at 03:46:14PM +0200, Melvyn Sopacua wrote : > > Current cvs buildscript seems broken: > > Please try the snapshot, they come with their own ./configure > and test if it still fails. php4-200206150600 Still fa

[PHP-DEV] Re: [PHP-QA] Testers needed for bundled gd library in CVS

2002-06-15 Thread Markus Fischer
On Sat, Jun 15, 2002 at 03:46:14PM +0200, Melvyn Sopacua wrote : > Current cvs buildscript seems broken: Please try the snapshot, they come with their own ./configure and test if it still fails. - Markus -- GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc -- PHP Develop

[PHP-DEV] Re: [PHP-QA] Testers needed for bundled gd library in CVS

2002-06-15 Thread Melvyn Sopacua
Current cvs buildscript seems broken: config.status: creating main/php_config.h ./config.status: 1541: Syntax error: "done" unexpected (expecting ")") else cat $tmp/config.h rm -f $tmp/config.h fi done # LINE 1541 <<< # # CONFIG_COMMANDS section. Platform: Intel

[PHP-DEV] PHP 4 Bug Summary Report

2002-06-15 Thread php-dev
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (1520 total including feature requests) ===[*Configuration Issues] 13561 Suspended --without-pear prevent install of php-config,phpize,... 15264 Feedback unable to incl

[PHP-DEV] getting a suitable server for an upload script

2002-06-15 Thread electroteque
hi i am creating a file upload script which will upload , insert into the db and then ftp the file to a suitable server , depending on the file size limit and how much space is left on the server , how could i check if the filesize is between a range of values for the servers and choose the right

[PHP-DEV] Re: register_globals vs session.force_nocookie

2002-06-15 Thread Sascha Schumann
Let's analyze the meaning of session.use_cookies, shall we? http://php.net/manual/en/ref.session.php says: "session.use_cookies specifies whether the module will use cookies to store the session id on the client side. Defaults to 1 (enabled). Please note the absence of w

Re: [PHP-DEV] register_globals vs session.force_nocookie

2002-06-15 Thread Giancarlo Pinerolo
Giancarlo Pinerolo wrote: > > Jani Taskinen wrote: > > > > I was wondering (I'm propably wrong, it's almost 6am here :) > > that wouldn't the real fix for this without having to add > > yet-another-ini-option have been to fix this so that > > logic with session.use_cookies and se

Re: [PHP-DEV] PHP 4.3.0-dev-zend2-alpha segfaulting

2002-06-15 Thread Andi Gutmans
Hi, Thanks for the good bug report. I have fixed this problem in the CVS. Andi At 12:39 PM 6/14/2002 +0200, Hakan Kuecuekyilmaz wrote: >Hi, > >following script segfaults at > >in doubleloop 10/22 >Segmentation fault > >class benchmark >{ > var $index; > > function benchmark($num) > { >

Re: [PHP-DEV] register_globals vs session.force_nocookie

2002-06-15 Thread Giancarlo Pinerolo
Jani Taskinen wrote: > > I was wondering (I'm propably wrong, it's almost 6am here :) > that wouldn't the real fix for this without having to add > yet-another-ini-option have been to fix this so that > logic with session.use_cookies and session_use_trans_sid > worked like it