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

2002-04-19 Thread Markus Fischer
On Fri, Apr 19, 2002 at 05:43:13AM -, Peter Moulding wrote : The documentation seems to be behind 4.1.2 and lacking a few examples I could provide. If you want help updating the documentation and expanding the examples, I can contribute the odd hour some weeks. I have several pages of

Re: [PHP-DEV] URLs, fopen wrappers and RFC 2718

2002-04-19 Thread Dan Kalowsky
compress.zlib://file.gz compress.bzip2://file.bz2 I like this version best. Looks more like what people are starting to see as standard notation in things like JavaScript (document.getElementByTag, etc etc), sql selects (select a.username from blah), and other technologies. Your pick

Re: [PHP-DEV] URLs, fopen wrappers and RFC 2718

2002-04-19 Thread derick
On Fri, 19 Apr 2002, Dan Kalowsky wrote: compress.zlib://file.gz compress.bzip2://file.bz2 I like this version best. Looks more like what people are starting to see as standard notation in things like JavaScript (document.getElementByTag, etc etc), sql selects (select a.username from

[PHP-DEV] CVS Account Request: n0nick

2002-04-19 Thread Sagie Maoz
Participate in the Hebrew manual translation (requires access to the phpdoc module) -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [phpbugs@priorwebsites.com: Bug #16681 Updated: Request new words(), word(), wordindex(), wordlength() functions]

2002-04-19 Thread Markus Fischer
Well, I like the idea(s). I think returning (bool)false instead of NULL is more consistent though. Maybe the naming convention should be changed to: word() word_count() word_index() word_lenght() - Markus -- Please always Cc to me when replying to me on

Re: [PHP-DEV] [phpbugs@priorwebsites.com: Bug #16681 Updated: Request new words(), word(), wordindex(), wordlength() functions]

2002-04-19 Thread Daniel Lorch
hi, Well, I like the idea(s). I think returning (bool)false instead of NULL is more consistent though. Maybe the naming convention should be changed to: ..while paying attention to english orthography: word() word_count() word_index() word_lenght()

Re: [PHP-DEV] [phpbugs@priorwebsites.com: Bug #16681 Updated: Requestnew words(), word(), wordindex(), wordlength() functions]

2002-04-19 Thread derick
Hey, why not make a PEAR thingy for this? Derick On Fri, 19 Apr 2002, Daniel Lorch wrote: hi, Well, I like the idea(s). I think returning (bool)false instead of NULL is more consistent though. Maybe the naming convention should be changed to: ..while paying

Re: [PHP-DEV] URLs, fopen wrappers and RFC 2718

2002-04-19 Thread Wez Furlong
On 19/04/02, [EMAIL PROTECTED] wrote: On Fri, 19 Apr 2002, Dan Kalowsky wrote: compress.zlib://file.gz compress.bzip2://file.bz2 I like this version best. Looks more like what people are starting to see as standard notation in things like JavaScript (document.getElementByTag,

Re[2]: [PHP-DEV] [phpbugs@priorwebsites.com: Bug #16681 Updated: Request new words(), word(), wordindex(), wordlength() functions]

2002-04-19 Thread Daniel Lorch
Hi, Great idea. I could take care of this - how do I assign it to me? Just start writing code? -daniel - Original Message - From : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent : Freitag, 19. April 2002 Subject: [PHP-DEV] [[EMAIL PROTECTED]: Bug #16681 Updated: Request new

Re: [PHP-DEV] [phpbugs@priorwebsites.com: Bug #16681 Updated: Request new words(), word(), wordindex(), wordlength() functions]

2002-04-19 Thread Markus Fischer
On Fri, Apr 19, 2002 at 11:28:32AM +0200, Daniel Lorch wrote : hi, Well, I like the idea(s). I think returning (bool)false instead of NULL is more consistent though. Maybe the naming convention should be changed to: ..while paying attention to english

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

2002-04-19 Thread Markus Fischer
Peter, It's your take. A few have changed again in 4.2 and a few will for 4.3. - Markus On Fri, Apr 19, 2002 at 07:52:05PM +1000, Peter wrote : Hello Marcus, PHP functions regularly change from the old system of returning a negative value to using false. The PHP

Re: [PHP-DEV] Quicktime movie

2002-04-19 Thread Dave Mertens
On Fri, Apr 19, 2002 at 03:05:39AM +0300, Rosen Marinov wrote: Can someone tell me how to put on WEB page QuickTime movie ? I tried with some code, but nothing happens... ! First, PHP can do a lot, but i don't think PHP can create QuickTime movies. This is more a HTML question than an PHP

Re: [PHP-DEV] Quicktime movie

2002-04-19 Thread Rosen Marinov
Thanks, but my problem is thath when Quicktime plugin start loading movie, it don't show nothing ( except Quicktime logo ). I've seen from another site, thath, Quicktime plugin shows controller and part of movie were downloaded. Is possible this to be a settings, when create movie - i.e.

RE: [PHP-DEV] Quicktime movie

2002-04-19 Thread Robinson, Mike
Title: RE: [PHP-DEV] Quicktime movie Take your discussion to quicktime list. There are plenty, and good ones. Mike Robinson IT/Developer - Torstar Media Group Television Phone: 416.945.8786 Fax: 416.869.4566 Email: [EMAIL PROTECTED] -Original Message- From: Rosen Marinov

Re: [PHP-DEV] [phpbugs@priorwebsites.com: Bug #16681 Updated: Requestnew words(), word(), wordindex(), wordlength() functions]

2002-04-19 Thread Gabriel Ricard
Markus Fischer wrote: word (str, num) Returns the num'th word from string str. If num is greater than the number of words in str, the null string is returned. We've implemented a userland function like this for some code at work and I welcome an implementation in C. The only thing I'd add

Re: [PHP-DEV] Quicktime movie

2002-04-19 Thread Dave Mertens
On Fri, Apr 19, 2002 at 03:16:46PM +0300, Rosen Marinov wrote: Thanks, but my problem is thath when Quicktime plugin start loading movie, it don't show nothing ( except Quicktime logo ). I've seen from another site, thath, Quicktime plugin shows controller and part of movie were downloaded.

[PHP-DEV] php extentions as module

2002-04-19 Thread Dave Mertens
Hi, I was wondering. PHP is within our company compiled as a apache module (libphp4.so). But i want to do some experiments with domxml. Therefor is it possible to create an extention as a module and load it with dl()? We're running Linux (Debian). Thanks, Dave Mertens -- PHP Development

Re: [PHP-DEV] php extentions as module

2002-04-19 Thread derick
On Fri, 19 Apr 2002, Dave Mertens wrote: Hi, I was wondering. PHP is within our company compiled as a apache module (libphp4.so). But i want to do some experiments with domxml. Therefor is it possible to create an extention as a module and load it with dl()? yes it is, but this kind of

[PHP-DEV] streams and options

2002-04-19 Thread Derick Rethans
Hey Wez, I wonder if it is possible to set options after a stream has been opened. Something like: $fp = fopen (crypt.des://secretfile.des, r); stream_option ($fp, key, very secret key); And if it's there, is there an example in the source of it? regards, Derick -- PHP Development Mailing

[PHP-DEV] Inline optimization

2002-04-19 Thread Yasuo Ohgaki
Any objection for changing -O2 - -O3 when --enable-inline-optimization is used? (when GCC is used) -- Yasuo Ohgaki -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] zend_execute.c and -O0 option.

2002-04-19 Thread Yasuo Ohgaki
zend_execute.c is compiled as follows $(LIBTOOL) --mode=compile $(CC) -IZend/ -I/home/yohgaki/cvs/php/HEAD/Zend/ $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -prefer-pic -c /home/yohgaki/cvs/php/HEAD/Zend/zend_execute.c -o Zend/zend_execute.lo -O0 Is -O0 is needed? It seems

Re: [PHP-DEV] Inline optimization

2002-04-19 Thread Sebastian Bergmann
Yasuo Ohgaki wrote: Any objection for changing -O2 - -O3 when --enable-inline-optimization is used? (when GCC is used) What happened to the plan of making --enable-inline-optimization the default? -- Sebastian Bergmann http://sebastian-bergmann.de/

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/apache2filter README phpdoc/cs/reference/apache .cvsignore phpdoc/cs/reference/array .cvsignore phpdoc/cs/reference/aspell .cvsignore phpdoc/cs/reference/bc .cvsignore phpdoc/cs/reference/calendar .cvsignore phpdoc/cs/r

2002-04-19 Thread Aaron Bannert
I'm not sure I understand this post. I didn't add these files. What do you mean by harmut? -aaron On Fri, Apr 19, 2002 at 03:26:28AM +0100, James Cox wrote: this was also harmut with his .cvsignore commits. (i believe) -Original Message- From: Aaron Bannert [mailto:[EMAIL

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/apache2filter README phpdoc/cs/reference/apache .cvsignore phpdoc/cs/reference/array .cvsignore phpdoc/cs/reference/aspell .cvsignore phpdoc/cs/reference/bc

2002-04-19 Thread derick
On Fri, 19 Apr 2002, Aaron Bannert wrote: I'm not sure I understand this post. I didn't add these files. What do you mean by harmut? It's a bug in the cvs commit script, and harmut is the guy which added / removed those files. Derick On Fri, Apr 19, 2002 at 03:26:28AM +0100, James Cox

Re: [PHP-DEV] Inline optimization

2002-04-19 Thread Aaron Bannert
On Fri, Apr 19, 2002 at 03:50:16PM +0200, Sebastian Bergmann wrote: Yasuo Ohgaki wrote: Any objection for changing -O2 - -O3 when --enable-inline-optimization is used? (when GCC is used) What happened to the plan of making --enable-inline-optimization the default? Is making these

Re: [PHP-DEV] streams and options

2002-04-19 Thread Wez Furlong
Hi Derick, I'm leading up to be able to do this sort of thing, but want/need to discuss/brainstorm it here before I do much more to it. In a recent commit I added a context parameter to fopen. The context is intended to hold these kind of options, plus other data that is or will be relevant to

Re: [PHP-DEV] Inline optimization

2002-04-19 Thread J Smith
I've also seen gcc go beserk and start taking up over 150 MB of memory on a pretty simple compile 'cause it got confused and take forever to compile. Last time I saw this happen, I waited a half-hour to see if it would eventually compile. Meanwhile, the memory usage was pegged at 99% or so.

RE: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/apache2filter README phpdoc/cs/reference/apache .cvsignore phpdoc/cs/reference/array .cvsignore phpdoc/cs/reference/aspell .cvsignore phpdoc/cs/reference/bc .cvsignore phpdoc/cs/reference/calendar .cvsignor

2002-04-19 Thread James Cox
I was pointing out that the .cvsignore files were added by harmut, so it was clear, given that cvs/loginfo collided. james -Original Message- From: Aaron Bannert [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 3:53 PM To: James Cox Cc: [EMAIL PROTECTED] Subject: [PHP-DEV] Re:

RE: [PHP-DEV] CVS Account Request: peter

2002-04-19 Thread James Cox
Personally I always think it's a good idea if someone wants to keep examples up to date. :) -Original Message- From: Markus Fischer [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 11:30 AM To: Peter Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] CVS Account Request: peter

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

2002-04-19 Thread Markus Fischer
Yes, but Peter, we should coordinate. Actually I had in mind to update all the functions (including examples) to their current (CVS HEAD) state this weekend (read: today, tomorrow and sunday). But well, no haste needed ;-) - Markus On Fri, Apr 19, 2002 at 04:57:53PM +0100,

Re: [PHP-DEV] Inline optimization

2002-04-19 Thread Marcus Börger
At 15:46 19.04.2002, you wrote: Any objection for changing -O2 - -O3 when --enable-inline-optimization is used? (when GCC is used) -- Yasuo Ohgaki What about leaving -O2 but adding -finline-functions marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] streams and options

2002-04-19 Thread l0t3k
Wez, scream at me if it seems dumb, but in my never-finished extension, each plugin accepts an option hash in the init callback which is used to set up the object. the framework also stores this hash as an member of the object, and there are accessor methods to query the options. this

Re: [PHP-DEV] Inline optimization

2002-04-19 Thread Aaron Bannert
On Fri, Apr 19, 2002 at 06:17:16PM +0200, Marcus Börger wrote: What about leaving -O2 but adding -finline-functions You can add all of these things to CFLAGS while running configure, I believe. I normally run with: CFLAGS=-Wall -g ./configure ... -aaron -- PHP Development Mailing List

[PHP-DEV] Re: URLs, fopen wrappers and RFC 2718

2002-04-19 Thread Andrei Zmievski
Wez Furlong wrote: [snip] 4. Your suggestions... Wez, Take a look at this document: http://primates.ximian.com/~miguel/monikers.html Monikers seem to be similar to what you are describing. Maybe there are some ideas to be gleaned from there. -Andrei Nobody tried to design Windows

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/pcre php_pcre.c

2002-04-19 Thread Sebastian Bergmann
Derick Rethans wrote: derick Fri Apr 19 10:57:49 2002 EDT Modified files: /php4/ext/pcre php_pcre.c Log: - Fix warnings in VC Now I have warnings, where I hadn't warnings before :-) -- Sebastian Bergmann http://sebastian-bergmann.de/

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: Zend / zend_hash.c zend_hash.hzend_list.c

2002-04-19 Thread Sebastian Bergmann
Andi Gutmans wrote: Please update Engine 2 also. Done. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development Mailing List http://www.php.net/ To

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: Zend / zend_hash.c

2002-04-19 Thread Sebastian Bergmann
Andi Gutmans wrote: Please update Engine 2 also. Done. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development Mailing List http://www.php.net/ To

Re: [PHP-DEV] streams and options

2002-04-19 Thread Wez Furlong
On 19/04/02, l0t3k [EMAIL PROTECTED] wrote: Wez, scream at me if it seems dumb, but in my never-finished extension, each plugin accepts an option hash in the init callback which is used to set up the object. the framework also stores this hash as an member of the object, and there are

[PHP-DEV] Re: Bug #16687 Updated: Constants not being interpreted in variablevariables

2002-04-19 Thread Derick Rethans
On 19 Apr 2002 [EMAIL PROTECTED] wrote: ID: 16687 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Scripting Engine problem Operating System: Red Hat Linux 7.1 PHP Version: 4.2.0 New Comment:

[PHP-DEV] Re: Bug #16687 Updated: Constants not being interpreted in variablevariables

2002-04-19 Thread Derick Rethans
On 19 Apr 2002 [EMAIL PROTECTED] wrote: ID: 16687 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Scripting Engine problem Operating System: Red Hat Linux 7.1 PHP Version: 4.2.0 New Comment:

[PHP-DEV] Re: Bug #16687 Updated: Constants not being interpreted in variable variables

2002-04-19 Thread Zeev Suraski
At 21:08 19/04/2002, Derick Rethans wrote: on 19 apr 2002 [EMAIL PROTECTED] wrote: id: 16687 updated by: [EMAIL PROTECTED] reported by: [EMAIL PROTECTED] status: bogus bug type: scripting engine problem operating system: red hat linux

[PHP-DEV] Re: Bug #16687 Updated: Constants not being interpreted invariable variables

2002-04-19 Thread Lux
On Fri, 2002-04-19 at 13:07, Derick Rethans wrote: On 19 Apr 2002 [EMAIL PROTECTED] wrote: ID: 16687 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Scripting Engine problem Operating System: Red

Re: [PHP-DEV] file_get_contents source code??

2002-04-19 Thread Markus Fischer
It's not in any released version. I wonder where you have heard of it and why that source didn't mentioned it is not in any released version yet. It's only available in the current CVS HEAD branch. See also the manual entry at

Re: [PHP-DEV] Re: Bug #16687 Updated: Constants not being interpreted in variable variables

2002-04-19 Thread Zeev Suraski
At 21:18 19/04/2002, Lux wrote: One other quick question: Can you make references to the superglobals, then call these as variable variables? Yes. Can you explain when you need to use these global structures indirectly? Zeev -- PHP Development Mailing List http://www.php.net/ To

[PHP-DEV] Stream Filters and Interfaces (a bit long) (was Re: URLs, fopen wrappers and RFC 2718)

2002-04-19 Thread Wez Furlong
On 19/04/02, Andrei Zmievski [EMAIL PROTECTED] wrote: Take a look at this document: http://primates.ximian.com/~miguel/monikers.html Monikers seem to be similar to what you are describing. Maybe there are some ideas to be gleaned from there. Monikers are a very powerful system. The

Re: [PHP-DEV] file_get_contents source code??

2002-04-19 Thread Wez Furlong
On 19/04/02, Giovanni Lenzi [EMAIL PROTECTED] wrote: Fatal error: Call to undefined function: file_get_contents() in /usr/home/s/a/sauzer/public_html/sfidario/readstreams/1.0/warsupcoming.php on line 17 file_get_contents is only in the current CVS (development) version of PHP. So i have to

Re: [PHP-DEV] Re: Bug #16687 Updated: Constants not beinginterpreted in variable variables

2002-04-19 Thread Lux
On Fri, 2002-04-19 at 15:08, Zeev Suraski wrote: At 21:18 19/04/2002, Lux wrote: One other quick question: Can you make references to the superglobals, then call these as variable variables? Yes. Can you explain when you need to use these global structures indirectly? Sure! In an

[PHP-DEV] Re: Stream Filters and Interfaces (a bit long) (was Re: URLs, fopen wrappers and RFC 2718)

2002-04-19 Thread Andrei Zmievski
On Fri, 19 Apr 2002, Wez Furlong wrote: The nice thing about this is that a range of encodings/decodings can be applied/removed based on the data that has just been read from the file. I think this sort of thing might be useful for things like templating processors: ?php $fp =

[PHP-DEV] can nawk work with php

2002-04-19 Thread David Kuku
Can someone help me!!! How can i use unix-commands in php scripts Like this: ldapsearch -h ldaphost -b 'ou=people,o=ubs,c=ch' 'cn=*t113469'* | nawk -F= '/uid;short/ { print $2 }' ); this commands works on unix-shell how can i use this so that php will be able to interprete this? any Help 'll

[PHP-DEV] some php.net maintenance this weekend.

2002-04-19 Thread Jim Winstead
i'll be shifting around some of the php.net services this weekend (particularly handling of php.net mail addresses, and bugs.php.net), so don't be alarmed if you're unable to reach some of the php.net sites for a few hours while the dns switches over. (in theory, there won't be any interruption

[PHP-DEV] Re: Stream Filters and Interfaces (a bit long) (was Re: URLs, fopen wrappers and RFC 2718)

2002-04-19 Thread Wez Furlong
On 19/04/02, Andrei Zmievski [EMAIL PROTECTED] wrote: On Fri, 19 Apr 2002, Wez Furlong wrote: ?php $fp = fopen(data.xml, r); stream_stack_push(xslt:style.xsl?param1=value1param2=value2, $fp); stream_stack_push(compress.zlib, $fp); stream_stack_push(crypt.des, $fp); // this reads the

[PHP-DEV] Feature request: anonymous usage of returned values

2002-04-19 Thread Derek Moore
I've been playin' around with Horde and IMP lately... And I've done a lot of PHP and Perl work in the past... One of the things I really like about PHP is how it has most of the really cool features of Perl that I enjoy, but lacks some of the things that annoy me about Perl. I was making

Re: [PHP-DEV] Inline optimization

2002-04-19 Thread Yasuo Ohgaki
Aaron Bannert wrote: On Fri, Apr 19, 2002 at 03:50:16PM +0200, Sebastian Bergmann wrote: Yasuo Ohgaki wrote: Any objection for changing -O2 - -O3 when --enable-inline-optimization is used? (when GCC is used) What happened to the plan of making --enable-inline-optimization the default?

[PHP-DEV] ext/pgsql build broken on win32 (HEAD)

2002-04-19 Thread Edin Kadribasic
Same error in the following functions: php_pgsql_metadata php_pgsql_convert php_pgsql_insert php_pgsql_update php_pgsql_delete php_pgsql_result2array php_pgsql_select The error is: error C2491: 'php_pgsql_metadata' : definition of dllimport function not allowed Edin -- PHP Development

Re: [PHP-DEV] Feature request: anonymous usage of returned values

2002-04-19 Thread Markus Fischer
I've brought this up on the Zend Engine2 list a while ago. The result was that it is not planned to support dereferencing of arrays from e.g. return value on the fly. - Markus On Fri, Apr 19, 2002 at 07:26:26PM -0500, Derek Moore wrote : I've been playin' around with Horde and

Re: [PHP-DEV] ext/pgsql build broken on win32 (HEAD)

2002-04-19 Thread Edin Kadribasic
The following patch solves problems with win32 build. I don't know what it breaks :) Edin Btw. vc++ 6.0 spits out these warnings: c:\php4build\HEAD\ext\pgsql\pgsql.c(1073) : warning C4018: '==' : signed/unsigned mismatch c:\php4build\HEAD\ext\pgsql\pgsql.c(3196) : warning C4244: '=' :

[PHP-DEV] Re: ext/pgsql build broken on win32 (HEAD)

2002-04-19 Thread Yasuo Ohgaki
This is probably due to missing PHP_EXPORTS definition, but I don't use VC... Could anyone take care of this? Thank you. -- Yasuo Ohgaki Edin Kadribasic wrote: Same error in the following functions: php_pgsql_metadata php_pgsql_convert php_pgsql_insert php_pgsql_update php_pgsql_delete

Re: [PHP-DEV] ext/pgsql build broken on win32 (HEAD)

2002-04-19 Thread Yasuo Ohgaki
Edin Kadribasic wrote: The following patch solves problems with win32 build. I don't know what it breaks :) I need to export PHPAPI function. Removing PHPAPI disables exports under windows... It's not a big deal now, though. We need other solution. Btw. vc++ 6.0 spits out these warnings: