[PHP-DEV] Streams: FTP/HTTP wrapper gurus wanted

2002-08-11 Thread Wez Furlong
Hi all, I'm making an effort to clean up the streams code ready for release. I've already commited some docs to the phpdoc repository that will aid extension developers use streams. However, there is more to streams than simple file IO; the new wrapper system provides a much richer set of

Re: [PHP-DEV] Streams: FTP/HTTP wrapper gurus wanted

2002-08-11 Thread Rasmus Lerdorf
Again, we need to determine file size and change time. This seems quite easy - just do a HEAD request and parse the relevant headers. For readdir, I think we might need to implement a very simple DAV client? Opinions please! Yeah, you simply send a PROPFIND request and parse the resulting

Re: [PHP-DEV] Streams: FTP/HTTP wrapper gurus wanted

2002-08-11 Thread Sterling Hughes
Hi all, I'm making an effort to clean up the streams code ready for release. I've already commited some docs to the phpdoc repository that will aid extension developers use streams. However, there is more to streams than simple file IO; the new wrapper system provides a much richer set

[PHP-DEV] coding standard addition proposal

2002-08-11 Thread Dan Kalowsky
Hello list, Looking over the commit by Marcus on gd I noticed the #if 0 section on some code. I'd like to propose that the coding standard be updated to NOT do this, but to do something like #if 0_KALOWSKY to make life easier for all running through the code. Yeah I know, you can look in the

Re: [PHP-DEV] coding standard addition proposal

2002-08-11 Thread Zeev Suraski
+1 (as long as it's always #if 0_KALOWSKY :) At 18:31 11/08/2002, Dan Kalowsky wrote: Hello list, Looking over the commit by Marcus on gd I noticed the #if 0 section on some code. I'd like to propose that the coding standard be updated to NOT do this, but to do something like #if 0_KALOWSKY

Re: [PHP-DEV] coding standard addition proposal

2002-08-11 Thread Dan Kalowsky
On Sun, 11 Aug 2002, Zeev Suraski wrote: +1 (as long as it's always #if 0_KALOWSKY :) Only on Mondays commits ;) But the reality is whoever is doing the #if 0_ will put their cvs name there. --- Dan KalowskyA

Re: [PHP-DEV] coding standard addition proposal

2002-08-11 Thread Marcus Börger
At 17:48 11.08.2002, Dan Kalowsky wrote: On Sun, 11 Aug 2002, Zeev Suraski wrote: +1 (as long as it's always #if 0_KALOWSKY :) Only on Mondays commits ;) But the reality is whoever is doing the #if 0_ will put their cvs name there. Are the sunday commits still available? If yes i'd like

Re: [PHP-DEV] coding standard addition proposal

2002-08-11 Thread Markus Fischer
On Sun, Aug 11, 2002 at 11:31:33AM -0400, Dan Kalowsky wrote : Looking over the commit by Marcus on gd I noticed the #if 0 section on some code. I'd like to propose that the coding standard be updated to NOT do this, but to do something like #if 0_KALOWSKY to make life easier for all

[PHP-DEV] Comments (Was: [PHP-DEV] coding standard addition proposal)

2002-08-11 Thread Marcus Börger
At 19:01 11.08.2002, Markus Fischer wrote: On Sun, Aug 11, 2002 at 11:31:33AM -0400, Dan Kalowsky wrote : Looking over the commit by Marcus on gd I noticed the #if 0 section on some code. I'd like to propose that the coding standard be updated to NOT do this, but to do something like

Re: [PHP-DEV] Streams: FTP/HTTP wrapper gurus wanted

2002-08-11 Thread Wez Furlong
On 08/11/02, Rasmus Lerdorf [EMAIL PROTECTED] wrote: For readdir, I think we might need to implement a very simple DAV client? Opinions please! Yeah, you simply send a PROPFIND request and parse the resulting XML reply. But I am not convinced this is all that useful. DAV really hasn't

Re: [PHP-DEV] Streams: FTP/HTTP wrapper gurus wanted

2002-08-11 Thread Wez Furlong
Hi Sterling, I'm not sure :-) I'm 50/50 on integrating curl, because I know that it supports more features than the current wrappers, but I'm not sure if it supports a rich enough API to do the things that the streams API supports. So, I need your opinion: Does libcurl allow you to have

Re: [PHP-DEV] Streams: FTP/HTTP wrapper gurus wanted

2002-08-11 Thread Justin Erenkrantz
On Sun, Aug 11, 2002 at 03:49:45PM +0100, Wez Furlong wrote: I thought that Apache 2 would result in a more widespread usage of DAV (I'm not sure why I think that - something to do with subversion, IIRC)? httpd-2.0 includes mod_dav in the stock distribution. -- justin -- PHP Development

Re: [PHP-DEV] Streams: FTP/HTTP wrapper gurus wanted

2002-08-11 Thread Shane Caraveo
Wez, I haven't looked into the streams stuff much, but have had it in the back of my head a lot. Does the streams implementation support 'filters' on streams? With this, whatever gets written to a stream would go through a filter prior to going across the wire. Reason I ask is that this

Re: [PHP-DEV] Streams: FTP/HTTP wrapper gurus wanted

2002-08-11 Thread Rasmus Lerdorf
On 08/11/02, Rasmus Lerdorf [EMAIL PROTECTED] wrote: For readdir, I think we might need to implement a very simple DAV client? Opinions please! Yeah, you simply send a PROPFIND request and parse the resulting XML reply. But I am not convinced this is all that useful. DAV really

Re: [PHP-DEV] Streams: FTP/HTTP wrapper gurus wanted

2002-08-11 Thread Sterling Hughes
Hi Sterling, I'm not sure :-) I'm 50/50 on integrating curl, because I know that it supports more features than the current wrappers, but I'm not sure if it supports a rich enough API to do the things that the streams API supports. So, I need your opinion: Does libcurl allow you to

Re: [PHP-DEV] Streams: FTP/HTTP wrapper gurus wanted

2002-08-11 Thread Wez Furlong
Hi Shane, It's planned; depending on how productive I can be with my PHP time, it might make it into PHP 4.3. --Wez. On 08/11/02, Shane Caraveo [EMAIL PROTECTED] wrote: Wez, I haven't looked into the streams stuff much, but have had it in the back of my head a lot. Does the streams

Re: [PHP-DEV] Streams: FTP/HTTP wrapper gurus wanted

2002-08-11 Thread Wez Furlong
Sterling, Thats all I needed to know; I'll take a closer look at the library and see if I can cook up a curl based stream/wrapper. Is there a minimum version of the library (release preferred, of course) that has this new multi-interface, or should I just use the CVS version for now? --Wez. On

Re: [PHP-DEV] Streams: FTP/HTTP wrapper gurus wanted

2002-08-11 Thread Sterling Hughes
Sterling, Thats all I needed to know; I'll take a closer look at the library and see if I can cook up a curl based stream/wrapper. Is there a minimum version of the library (release preferred, of course) that has this new multi-interface, or should I just use the CVS version for now? Go

[PHP-DEV] Re: Comments (Was: [PHP-DEV] coding standard addition proposal)

2002-08-11 Thread Yasuo Ohgaki
Marcus Börger wrote: At 19:01 11.08.2002, Markus Fischer wrote: On Sun, Aug 11, 2002 at 11:31:33AM -0400, Dan Kalowsky wrote : Looking over the commit by Marcus on gd I noticed the #if 0 section on some code. I'd like to propose that the coding standard be updated to NOT do this,

[PHP-DEV] PHP 4.2.2 on Mac OS X

2002-08-11 Thread Jeshua Lacock
Greetings, I have been battling to build PHP 4.2.2 with IMAP and PDF support as a Apache module here in Mac OS X land. I have successfully built PHP with most of the options I would like to enable: ./configure --disable-cli --with-apxs \ --with-mysql --with-pgsql \

Re: [PHP-DEV] Re: Comments (Was: [PHP-DEV] coding standard additionproposal)

2002-08-11 Thread Dan Kalowsky
On Mon, 12 Aug 2002, Yasuo Ohgaki wrote: I'm 0 for this. Since looking up log(annotate) is very easy. If you are using Emacs, Ctrl-x v g other editor users may have harder time, though. Not an editor issue, but more... as we start bundling (sic) more code with PHP, we will run into areas

Re: [PHP-DEV] PHP 4.2.2 on Mac OS X

2002-08-11 Thread Dan Kalowsky
Jeshua, Please note that PHP 4.2.2 does not officially support OSX (this is in the release notes). The current CVS HEAD does though, where a few of these issues are fixed. Note that I enabled SSL support with my imap build, and I have one instance of the symbol in defined in mail.h - not in

Re: [PHP-DEV] Re: Comments (Was: [PHP-DEV] coding standard additionproposal)

2002-08-11 Thread Yasuo Ohgaki
Dan Kalowsky wrote: On Mon, 12 Aug 2002, Yasuo Ohgaki wrote: I'm 0 for this. Since looking up log(annotate) is very easy. If you are using Emacs, Ctrl-x v g other editor users may have harder time, though. Not an editor issue, but more... as we start bundling (sic) more code with

Re: [PHP-DEV] Streams: FTP/HTTP wrapper gurus wanted

2002-08-11 Thread Wez Furlong
I'm checking it out now: I had 7.9.8 already downloaded, but I think I ran into a bug with the multi interface (it doesn't seem to actually follow HTTP redirects?! - and FOLLOWLOCATION is enabled). The good news is that I have an alpha curl stream/wrapper already working (except for not

[PHP-DEV] CVS Account Request: hydro

2002-08-11 Thread Michael Desjarlais
Help Maintain My Site -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: dallas

2002-08-11 Thread Dallas Thunder
I'd like to be a documentation translator. To translate documentation into Chinese. I've done some translation job, and I'd like to update them into CVS. There are many PHP users in China, but language ability restrict them from a full qualified PHP programmer. I hope PHP users in China