Re: [PHP-DEV] CVS Account Request: rmcclain

2003-08-01 Thread Alan Knowles
Ron McClain wrote: To add two classes to the PEAR HTML_QuickForm package. This has been cleared with Bertrand Mansion, the QuickForms maintainer. I only need access to that package, specifically the Renderers directory. Confirmed - this has been discussed on pear-dev - can someone create this.

[PHP-DEV] CVS Account Request: redshift

2003-08-01 Thread Glenn Matthys
Further translation of the php manula english -> dutch -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Making a variable global question

2003-08-01 Thread Zeev Suraski
At 03:44 01/08/2003, Ken Spencer wrote: I am trying to make a function for my extension that makes a predefined variable global I have tried something along the lines of: if(zend_hash_find(&EG(symbol_table), var, strlen(var)+1, (void **) &vars_data)!=FAILURE) { ZEND_SET_SYMBOL(EG(active_s

Re: [PHP-DEV] functions returning references to function calls

2003-08-01 Thread Zeev Suraski
At 15:33 01/08/2003, Brad Bulger wrote: Hello. I found in PEAR DB class something that seemed like small BC issue. The package maintainer thought it sounded like bug. If anyone would comment? function &foo() { return new barclass; } gives error saying PHP Fatal error: Only variables or references

[PHP-DEV] CVS Account Request: rmcclain

2003-08-01 Thread Ron McClain
To add two classes to the PEAR HTML_QuickForm package. This has been cleared with Bertrand Mansion, the QuickForms maintainer. I only need access to that package, specifically the Renderers directory. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.p

Re: [PHP-DEV] libtool -prefer-non-pic for apxs builds?

2003-08-01 Thread Rasmus Lerdorf
On Fri, 1 Aug 2003, Sascha Schumann wrote: > Not all dls support non-PIC code in DSOs. If you know that > your system handles it fine, just pass the right -pic flag to > configure. Can't we check for that at configure time? And I don't think we can do it at configure time currently.

Re: [PHP-DEV] libtool -prefer-non-pic for apxs builds?

2003-08-01 Thread Ilia Alshanetsky
On August 1, 2003 04:03 pm, Sascha Schumann wrote: > Not all dls support non-PIC code in DSOs. If you know that > your system handles it fine, just pass the right -pic flag to > configure. Could we not add the appropriate checks to enable this setting for people's who's dl support th

Re: [PHP-DEV] libtool -prefer-non-pic for apxs builds?

2003-08-01 Thread Sascha Schumann
Not all dls support non-PIC code in DSOs. If you know that your system handles it fine, just pass the right -pic flag to configure. - Sascha On Fri, 1 Aug 2003, Ilia Alshanetsky wrote: > On August 1, 2003 12:22 pm, Rasmus Lerdorf wrote: > > Guys, what do you think about defaulti

Re: [PHP-DEV] libtool -prefer-non-pic for apxs builds?

2003-08-01 Thread Ilia Alshanetsky
On August 1, 2003 12:22 pm, Rasmus Lerdorf wrote: > Guys, what do you think about defaulting the build to use -prefer-non-pic > and having libtool build a non-pic libphp4.so when building the Apache > DSO? That library isn't linked into other programs anyway, and Apache's > fork+exec model ensures

Re: [PHP-DEV] Making a variable global question

2003-08-01 Thread Ken Spencer
On Fri, 1 Aug 2003, Rasmus Lerdorf wrote: My apologies, my explanation wasn't very clear. my initialization function needs to both parse the argument stack, but it also declars a few user defined variables to be global. I did not include the portion of code in my snippet that ensures the func

Re: [PHP-DEV] Making a variable global question

2003-08-01 Thread Rasmus Lerdorf
Your code doesn't make much sense to me. This is your code, right? if(zend_hash_find(&EG(symbol_table), var, strlen(var)+1, (void **)&vars_data)!=FAILURE) { ZEND_SET_SYMBOL(EG(active_symbol_table), var, *vars_data); } So you look for a global variable named whatever the contents of

Re: [PHP-DEV] Making a variable global question

2003-08-01 Thread Ken Spencer
On Fri, 1 Aug 2003, Mark Spruiell wrote: Mark, thanks for your reply. The situation is, is that I am writing a large piece of software with several hundred functions. At the beginning of each function I have som initialization code that allows me to do several thing. Parse through the variab

[PHP-DEV] libtool -prefer-non-pic for apxs builds?

2003-08-01 Thread Rasmus Lerdorf
Guys, what do you think about defaulting the build to use -prefer-non-pic and having libtool build a non-pic libphp4.so when building the Apache DSO? That library isn't linked into other programs anyway, and Apache's fork+exec model ensures the pages will be shared regardless of pic. I don't real

Re: [PHP-DEV] Making a variable global question

2003-08-01 Thread Mark Spruiell
Hi Ken, I'm fairly new to PHP extension programming, so forgive me if I'm missing the obvious, but your code appears to be trying to copy a global variable to a local scope. Is that your intent? If so, why can't the script do this itself by using a "global" declaration for the variable? For examp

Re: [PHP-DEV] [ext/interbase] Maintainer ?

2003-08-01 Thread Dan Kalowsky
Hello Ard, On Fri, 1 Aug 2003, Ard Biesheuvel wrote: > Hello, > > Is the InterBase extension actively being maintained by anyone ? I believe for a short period it was being maintained by daniela, but it seems that she has disappeared. You might wish to contact her by email and discuss these cha

[PHP-DEV] functions returning references to function calls

2003-08-01 Thread Brad Bulger
Hello. I found in PEAR DB class something that seemed like small BC issue. The package maintainer thought it sounded like bug. If anyone would comment? function &foo() { return new barclass; } gives error saying PHP Fatal error: Only variables or references can be returned by reference this is co

Re: [PHP-DEV] Warnings during EXPAT compilation in 4.3.3RC2

2003-08-01 Thread Uwe Schindler
At 15:12 01.08.2003 +0300, Jani Taskinen wrote: On Fri, 1 Aug 2003, Uwe Schindler wrote: >Yes, compiling of EXPAT alone with gcc 2.95 results in the same warnings. >With Forte 7 compiler it works without warnings. But PHP istself cannot be >compiled with Forte7, because some configure tests fail w

Re: [PHP-DEV] Warnings during EXPAT compilation in 4.3.3RC2

2003-08-01 Thread Jani Taskinen
On Fri, 1 Aug 2003, Uwe Schindler wrote: >Yes, compiling of EXPAT alone with gcc 2.95 results in the same warnings. >With Forte 7 compiler it works without warnings. But PHP istself cannot be >compiled with Forte7, because some configure tests fail with it (for >example detection of some header

Re: [PHP-DEV] Warnings during EXPAT compilation in 4.3.3RC2

2003-08-01 Thread Uwe Schindler
Yes, compiling of EXPAT alone with gcc 2.95 results in the same warnings. With Forte 7 compiler it works without warnings. But PHP istself cannot be compiled with Forte7, because some configure tests fail with it (for example detection of some header files result in errors [fcntl.h]... See an o

[PHP-DEV] CVS Account Request: purnomo

2003-08-01 Thread Sri Purnomo
TTranslate PHP Manual to Bahasa Indonesia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] upload compromises

2003-08-01 Thread Phil Driscoll
If ISPs want to prevent stupid scripts copying uploaded files under document_root they can set ownership and permissions on document_root so that the web server doesn't have permission to write files there. That should fix all problems associated with uploading php, perl and other such files whi

[PHP-DEV] [ext/interbase] Maintainer ?

2003-08-01 Thread Ard Biesheuvel
Hello, Is the InterBase extension actively being maintained by anyone ? I've been looking into the source in order to adapt the extension to support multi-database transactions. This requires some changes to the way the resources are currently defined. I would like to make a suggestion about how

[PHP-DEV] CVS Account Request: rezaiqbal

2003-08-01 Thread Reza Iqbal
Translate PHP Manual to Bahasa Indonesia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php