Re: [PHP-DEV] Implementing support for HTTP Digest Authorization in PHP

2005-03-26 Thread Rui Hirokawa
HTTP Digest Authorization is supported by PEAR::Auth_HTTP. But, as you said, it cannot be used when safe_mode = On. To solve this problem, I made a simple patch based on your suggestion based on php5 CVS HEAD. Applying this patch, we can access $_SERVER['PHP_AUTH_DIGEST'] , w

Re: [PHP-DEV] snprintf / ap_php_snprintf, %lld, gcc versions?

2005-03-26 Thread Derick Rethans
On Sun, 27 Mar 2005, Roman Neuhauser wrote: > Hello, > > I'm having a puzzling problem with %lld conversion handling > in ap_php_snprintf, and it seems to be gcc version-dependent. > > I found this problem through Statgrab, which has this macro: > > #define PHP_SG_ADD_LLVAL(rtz, key, val)

Re: [PHP-DEV] Re: Showstopper? copy() broken for urls and on windows

2005-03-26 Thread Rasmus Lerdorf
Sara Golemon wrote: Patch to fix #32160 (file truncation in copy() when source & destination are the same) http://viewcvs.php.net/viewcvs.cgi/php-src/ext/standard/file.c.diff?r1=1.398&r2=1.399 broke copy() on windows alltogether it seems. It also broke copy($url, $local_file) on other platforms si

[PHP-DEV] Re: Showstopper? copy() broken for urls and on windows

2005-03-26 Thread Sara Golemon
> Patch to fix #32160 (file truncation in copy() when source & destination > are > the same) > > http://viewcvs.php.net/viewcvs.cgi/php-src/ext/standard/file.c.diff?r1=1.398&r2=1.399 > > broke copy() on windows alltogether it seems. It also broke copy($url, > $local_file) on other platforms since

[PHP-DEV] snprintf / ap_php_snprintf, %lld, gcc versions?

2005-03-26 Thread Roman Neuhauser
Hello, I'm having a puzzling problem with %lld conversion handling in ap_php_snprintf, and it seems to be gcc version-dependent. I found this problem through Statgrab, which has this macro: #define PHP_SG_ADD_LLVAL(rtz, key, val) { \ char tmp[256]; \ int tmp_len = snprintf

[PHP-DEV] PEAR bundle in PHP's windows distribution

2005-03-26 Thread Edin Kadribasic
Hi, I have now installed a cron script on the snapshot/release build machine that updates the PEAR bundle in windows distribution. This should make sure that PEAR packages are up-to-date both in the snapshots and in the distribution. To check if it works, please download a snapshot that is built a

[PHP-DEV] Showstopper? copy() broken for urls and on windows

2005-03-26 Thread Edin Kadribasic
Hi, Patch to fix #32160 (file truncation in copy() when source & destination are the same) http://viewcvs.php.net/viewcvs.cgi/php-src/ext/standard/file.c.diff?r1=1.398&r2=1.399 broke copy() on windows alltogether it seems. It also broke copy($url, $local_file) on other platforms since it tries

[PHP-DEV] XML, expat and empty tags

2005-03-26 Thread Vadka
Hi all! So, as it was stressed in expat one day, there are 'empty' tags, like: (without ending ). For now, it is not known what a tag was parsed (XML parser ext). It is not good: the original structure of XML changes. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: h

[PHP-DEV] Two minor issues in 5.0.4

2005-03-26 Thread Antony Dovgal
Hi all! I'd like to fix two minor issues before releasing 5.0.4. These issues are: 1) mmap'ed files are bound to 2M. In HEAD PHP_STREAM_COPY_ALL is ((size_t)-1), but for some reasons in 5.0.4 it is set to 200. That causes readfile() to read only 2Mb and stop (which is rather frustrating). Se