[PHP-DEV] Current CVS crashes on Win32

2001-08-03 Thread Sebastian Bergmann
The current CVS crashes during startup on Win32, built as CGI. -- Sebastian Bergmann Measure Traffic & Usability http://sebastian-bergmann.de/http://phpOpenTracker.de/ -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PRO

[PHP-DEV] Bug #12539: filestat.c:`php_if_diskfreespace': storage size of `buf' isn't known

2001-08-03 Thread ssirois
From: [EMAIL PROTECTED] Operating system: Linux 2.2.6 PHP version: 4.0.6 PHP Bug Type: *Compile Issues Bug description: filestat.c:`php_if_diskfreespace': storage size of `buf' isn't known Same problem as #11776 on my system with this config line... ./configure --with-my

[PHP-DEV] Bug #12542 Updated: CGI Error

2001-08-03 Thread sniper
ID: 12542 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: *General Issues Operating System: windows98 PHP Version: 4.0.4pl1 New Comment: Add support questions on proper mailing list: http://www.php.net/support.php Previous Comments: -

[PHP-DEV] stop a file called foo.bar

2001-08-03 Thread void
stop a file called foo.bar from being downloaded with a web server ? Say you'r web site's name is foobar.net. ...and... Script-kiddy Johny knows that, but also knows that you'r secret file is called foo.bar and it is saved in the root dir. of you'r web site. in a http browser little Johny can

Re: [PHP-DEV] faster serializer?

2001-08-03 Thread Sascha Schumann
On Fri, 3 Aug 2001, Sascha Schumann wrote: > On Fri, 3 Aug 2001, Brian Moon wrote: > > > I would love to see a faster serializer. I think serializing has a lot of > > upsides but the downside right now is performance. > > Microbenchmarking showed a two-fold speed decrease with the Incre

[PHP-DEV] Bug #12524 Updated: Still doesn't support UNC paths

2001-08-03 Thread sniper
ID: 12524 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: *Directory/Filesystem functions Operating System: WinNT 4.0 PHP Version: 4.0.6 New Comment: User feedback: (next time, use the web interface..) -- I have tested the snapshot you s

[PHP-DEV] Bug #12426 Updated: Critical PHP bug while processing big POST data (>10K)

2001-08-03 Thread rasmus
ID: 12426 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Open Bug Type: HTTP related Operating System: RedHat Linux 7.0 2.2.16-22smp PHP Version: 4.0.6 New Comment: Must be something related to that russian module you have loaded in your Apache Previous Comments: -

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/apache2filter sapi_apache2.c

2001-08-03 Thread Zeev Suraski
There was never an addition of three TSRMLS_FETCH's, just a replacement of other FETCH macro calls with TSRMLS_FETCH's... At 10:00 02/08/2001, Sebastian Bergmann wrote: >Sebastian Bergmann wrote: > > - TSRMLS_FETCH(); > > TSRMLS_FETCH(); > > According to >

Re: [PHP-DEV] Programming question

2001-08-03 Thread Zeev Suraski
If the string functions (str*()) don't work with function names in PHP, it's all for the better. Code that works with these function names should only be using mem*() functions anyway, they're quicker and they're binary safe. Zeev At 10:22 02/08/2001, George Schlossnagle wrote: > > > It seem

Re: [PHP-DEV] Programming question

2001-08-03 Thread Zeev Suraski
Actually, any code in PHP can assume this. Any zval coming from the engine is NULL terminated, so zval.str.val[zval.str.len] is always NULL. Obviously, if you create the string, you have to NULL terminate it before you can assume that :) If a string is not NULL terminated, it is a bug. At 09

[PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend.c zend_execute_API.c zend_hash.c zend_hash.h zend_list.c zend_list.h

2001-08-03 Thread Zeev Suraski
It's only going to affect the TS build, so most extensions will be left unharmed. At any rate, leaving stuff for 4.1 has always been a way of saying 'maniana' in our group... As far as I'm concerned, we can just release the current code base as 4.1. Zeev At 06:18 02/08/2001, Andrei Zmievski

[PHP-DEV] Bug #12531 Updated: undefined symbol: mxdriver

2001-08-03 Thread curtis
ID: 12531 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IMAP related Operating System: RedHat 7.1 PHP Version: 4.0.6 New Comment: I got them from: ftp://sunsite.unc.edu/pub/distributions/redhat/updates/7.1/en/os/i386 the src rpm comes from ftp:/

[PHP-DEV] CVS Account Request

2001-08-03 Thread CVS Account Request
Full name: Chris Lambert Email: [EMAIL PROTECTED] ID:3one7 Purpose: password reset -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL P

[PHP-DEV] Bug #11828 Updated: Useless flock()

2001-08-03 Thread andy
ID: 11828 Updated by: andy Reported By: "Hot Soon" <[EMAIL PROTECTED]> Old Status: Feedback Status: Closed Bug Type: Filesystem function related Operating System: Windows 98 SE PHP Version: 4.0.6 New Comment: i don't believe win32 can use flock, but anyway no user feedback. closing... Previous

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / configure.in

2001-08-03 Thread Stig Sæther Bakken
[Andrei Zmievski <[EMAIL PROTECTED]>] > On Thu, 02 Aug 2001, Jani Taskinen wrote: > > Some things seem to be tested many times in same configure run. > > I would be against removing config.cache on every configure run. Many > people configure PHP multiple times a day during development and this >

[PHP-DEV] Bug #12548: session_set_save_handler() with php internal session storage

2001-08-03 Thread sulka
From: [EMAIL PROTECTED] Operating system: N/A PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: session_set_save_handler() with php internal session storage Most application server's I've worked with allow code to be executed when a session is garbag

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend.c zend_execute_API.c zend_hash.c zend_hash.h zend_list.c zend_list.h

2001-08-03 Thread Zeev Suraski
At 08:38 02/08/2001, Thies C. Arntzen wrote: >On Thu, Aug 02, 2001 at 07:09:35AM -0700, [EMAIL PROTECTED] wrote: > > > On Thu, 02 Aug 2001, Zeev Suraski wrote: > > > > zeev Thu Aug 2 09:16:20 2001 EDT > > > > > > > > Modified files: > > > > /Zend zend.c zend_execute_API.c zend_

Re: [PHP-DEV] stop a file called foo.bar

2001-08-03 Thread Andy
Technically, this is not a PHP problem, but I will be nice... Add this the your .htaccess file order allow,deny deny from all You can also... order allow, deny deny from all On Fri, 03 Aug 2001, void wrote: > stop a file called foo.bar from being downloaded with a web server ? > > Say yo

[PHP-DEV] Bug #12545 Updated: Configuration File (php.ini) Path

2001-08-03 Thread andy
ID: 12545 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: *Configuration Issues Operating System: windows2000 pro eng PHP Version: 4.0.6 New Comment: status -> bogus (user error) Previous Comments: -

[PHP-DEV] Bug #12543: setcookie doesn't work!

2001-08-03 Thread blueeye
From: [EMAIL PROTECTED] Operating system: win2k PHP version: 4.0.6 PHP Bug Type: IIS related Bug description: setcookie doesn't work! I've tried my project on 2 PCs with OS win2k pro and win2k server which run IIS + 4.0.5/4.0.6, but function setcooke() doesn't work! setco

[PHP-DEV] Bug #12536: fread does not look to be working right

2001-08-03 Thread knightemu
From: [EMAIL PROTECTED] Operating system: win 98 box PHP version: 4.0.4pl1 PHP Bug Type: Performance problem Bug description: fread does not look to be working right fread does not look like it is reading the EOF. when i use a large (HUDGE) number to tell the fread() how man

[PHP-DEV] Bug #12540 Updated: setcookie doesn't work!

2001-08-03 Thread blueeye
ID: 12540 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: IIS related Operating System: win2k PHP Version: 4.0.6 New Comment: I was so surprised that people replied my post so soon. thanks Andy. ( btw, sorry for my poor english.) well. I used your cod

[PHP-DEV] Latest CVS Problem

2001-08-03 Thread Andy
In the latest CVS (200108021935) I can't get PHP to get anything off the internet. For example http://yahoo.com","r";); ?> produces this Segmentation Fault (core dumped) This has happened with every site I've tried. Anybody know what's going on? -- PHP Development Mailing List

Re: [PHP-DEV] Latest CVS Problem

2001-08-03 Thread Sebastian Bergmann
Andy wrote: > $stuff=fopen("http://yahoo.com","r";); > ?> > > produces this > > Segmentation Fault (core dumped) This should be fixed in CVS. I had the same problem under Win32, where the problem is now gone after Sascha's commit. -- Sebastian Bergmann Measure Traff

Re: [PHP-DEV] include_path with "."

2001-08-03 Thread Stig Sæther Bakken
[Stig S. Bakken <[EMAIL PROTECTED]>] > Hi, > > I would like to suggest that we change how "." in the include_path is > treated to being relative to the file doing an include, instead of > relative to the main script file. There was some mention of this a few > weeks ago, and it's a problem for P

[PHP-DEV] Re: faster serializer?

2001-08-03 Thread Holger Schopohl
> PHP needs a faster serializer and deserializer. It should be possible > to make one that is at least as fast as Zend compiling and executing > code defining the same structure. > > Does anyone else want a faster serializer? Anyone interested in > contributing to a fund so we can set up a priz

[PHP-DEV] Bug #12535: We'd like support for output buffering and "here" syntax

2001-08-03 Thread matt
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: We'd like support for output buffering and "here" syntax Hello, For a long time I've wished that PHP supported the "here" string syntax, i.e in Perl:

[PHP-DEV] latest snap and tsrm

2001-08-03 Thread Cameron
arghhh, configure line was CFLAGS="-O6 -fomit-frame-pointer" ./configure '--with-apxs=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local' '--with-gd=/usr/local' '--with-zlib' '--enable-bcmath' '--enable-ctype' '--enable-ftp' '--with-gettext' '--enable-trans-sid' --enable-experimental-zts --enabl

[PHP-DEV] Bug #12540 Updated: setcookie doesn't work!

2001-08-03 Thread andy
ID: 12540 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Open Bug Type: IIS related Operating System: win2k PHP Version: 4.0.6 New Comment: status -> open Previous Comments: [2001-08-03 09:37:30]

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend.c zend_execute_API.c zend_hash.c zend_hash.h zend_list.c zend_list.h

2001-08-03 Thread Thies C. Arntzen
On Thu, Aug 02, 2001 at 07:09:35AM -0700, [EMAIL PROTECTED] wrote: > > On Thu, 02 Aug 2001, Zeev Suraski wrote: > > > zeev Thu Aug 2 09:16:20 2001 EDT > > > > > > Modified files: > > > /Zend zend.c zend_execute_API.c zend_hash.c zend_hash.h zend_list.c > > > zend_list

[PHP-DEV] Programming question

2001-08-03 Thread jeroen
Hi, can it be assumed that zval.str.val[zval.str.len] = '\0'? i.e., the byte after the string in a zval is the null-byte? That is assumed in various places in ext/standard/string.c, and AFAIK that may not always be true. TIA, Jeroen -- PHP Development Mailing List To

[PHP-DEV] Bug #12547 Updated: Segmentation fault

2001-08-03 Thread andy
ID: 12547 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Unknown/Other Function Operating System: Mandrake 7.1 (2.4.3) PHP Version: 4.0.6 New Comment: unable to reproduce with latest CVS, please try it with the latest version at http://snaps.php.net

Re: [PHP-DEV] Bug #12539: filestat.c:`php_if_diskfreespace': storage size of `buf' isn't known

2001-08-03 Thread Jon Parise
On Fri, Aug 03, 2001 at 10:22:53AM -0500, Andy wrote: > The manual page says "(PHP 4 CVS only)" > > On Fri, 03 Aug 2001, Jani Taskinen wrote: > > Just one question: Does disk_total_space() php-function WORK for > > you with PHP 4.0.5? I believe I added that function just before PHP 4.0.6 was re

[PHP-DEV] Bug #12502 Updated: oci8.dll can't be loaded

2001-08-03 Thread jmgonzal
ID: 12502 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: OCI8 related Operating System: WinNT and Windows 2000 PHP Version: 4.0.6 New Comment: sorry ORACLE VERSION 8.05 Previous Comments: --

Re: [PHP-DEV] Bug #12539: filestat.c:`php_if_diskfreespace': storagesize of `buf' isn't known

2001-08-03 Thread Jani Taskinen
On Fri, 3 Aug 2001, Jon Parise wrote: >On Fri, Aug 03, 2001 at 06:45:46PM +0200, Jani Taskinen wrote: > >> >> On Fri, 03 Aug 2001, Jani Taskinen wrote: >> >> > Just one question: Does disk_total_space() php-function WORK for >> >> > you with PHP 4.0.5? >> > >> >I believe I added that function jus

[PHP-DEV] Bug #12529: Redirection fails in ISAPI mode

2001-08-03 Thread opj30
From: [EMAIL PROTECTED] Operating system: WinNT4 sp6 PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: Redirection fails in ISAPI mode I use the O'Reilley WebSite Pro webserver under Win NT4 and the compiled PHP 4.0.6 for windows from you. It can be

Re: [PHP-DEV] Bug #12539: filestat.c:`php_if_diskfreespace': storagesize of `buf' isn't known

2001-08-03 Thread Jani Taskinen
Just one question: Does disk_total_space() php-function WORK for you with PHP 4.0.5? --Jani On 3 Aug 2001 [EMAIL PROTECTED] wrote: >From: [EMAIL PROTECTED] >Operating system: Linux 2.2.6 >PHP version: 4.0.6 >PHP Bug Type: *Compile Issues >Bug description: filestat.c:`php_

[PHP-DEV] Fwd: Re: Bug #12554 Updated: switch() bug

2001-08-03 Thread Andy
Does anyone have any opinions about this (and the bug) http://php.net/bugs.php?id=12554 -- Forwarded Message -- Subject: Re: Bug #12554 Updated: switch() bug Date: Fri, 3 Aug 2001 09:09:41 -0700 From: "Chris Lee" <[EMAIL PROTECTED]> explain more. sure its a 'feature change re

[PHP-DEV] Bug #12535 Updated: We'd like support for output buffering and "here" syntax

2001-08-03 Thread matt
ID: 12535 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.0.6 New Comment: Wow, thanks for the quick feedback. And sorry. I looked hard but did not find these features. I stand corrected. Pre

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend.c zend_execute_API.czend_hash.c zend_hash.h zend_list.c zend_list.h

2001-08-03 Thread rasmus
> On Thu, 02 Aug 2001, Zeev Suraski wrote: > > zeevThu Aug 2 09:16:20 2001 EDT > > > > Modified files: > > /Zend zend.c zend_execute_API.c zend_hash.c zend_hash.h zend_list.c > > zend_list.h > > Log: > > Some cleanup > > I really wish all these TSRM changes

[PHP-DEV] Bug #12538: keep-alives and IIS5.0 and Php4.05/php4.06

2001-08-03 Thread perthit
From: [EMAIL PROTECTED] Operating system: win2k PHP version: 4.0.6 PHP Bug Type: IIS related Bug description: keep-alives and IIS5.0 and Php4.05/php4.06 I have a problem with keep-alives and IIS5.0. I noticed on the changelogs for php4.05 that something was done with kee

[PHP-DEV] Bug #12547 Updated: Segmentation fault

2001-08-03 Thread moti
ID: 12547 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Open Bug Type: Reproducible crash Operating System: Mandrake 7.1 (2.4.3) PHP Version: 4.0.6 New Comment: fine even Previous Comments: ---

Re: [PHP-DEV] Undefined symbol: smart_str_free

2001-08-03 Thread Jon Parise
On Fri, Aug 03, 2001 at 02:12:20PM -0400, Sterling Hughes wrote: > >Any ideas why I'm getting this after today's build from cvs: > > > >Cannot load /usr/local/apache/libexec/libphp4.so into server: > >/usr/local/apache/libexec/libphp4.so: Undefined symbol "smart_str_free" > > > >I've performed a

[PHP-DEV] Bug #12554 Updated: switch() bug

2001-08-03 Thread jeroen
ID: 12554 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Open Bug Type: Feature/Change Request Operating System: linux PHP Version: 4.0.6 New Comment: Ignore my comments, I misread it. Sorry Previous Comments: -

Re: [PHP-DEV] Undefined symbol: smart_str_free

2001-08-03 Thread Jon Parise
On Fri, Aug 03, 2001 at 02:26:09PM -0400, Sterling Hughes wrote: > >./configure \ > > --with-apxs=/usr/local/apache/bin/apxs \ > > --with-config-file-path=/usr/local/apache/conf \ > > --with-freetype-dir=/usr/local \ > > --with-gd=/usr/local \ > > --with-ge

[PHP-DEV] Bug #12426 Updated: Critical PHP bug while processing big POST data (>10K)

2001-08-03 Thread dk
ID: 12426 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: HTTP related Operating System: RedHat Linux 7.0 2.2.16-22smp PHP Version: 4.0.6 New Comment: Oh, you are right, Rasmus! Thanks a lot. I tried to set Russian Apache 1.3.20 (my old version was 1.3.

[PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend.c zend_execute_API.c zend_hash.c zend_hash.h zend_list.c zend_list.h

2001-08-03 Thread Andrei Zmievski
On Thu, 02 Aug 2001, Zeev Suraski wrote: > At 09:05 02/08/2001, Andrei Zmievski wrote: > >On Thu, 02 Aug 2001, Zeev Suraski wrote: > > > It's only going to affect the TS build, so most extensions will be left > > > unharmed. At any rate, leaving stuff for 4.1 has always been a way of > > > saying

[PHP-DEV] Bug #12554 Updated: switch() bug

2001-08-03 Thread andy
ID: 12554 Updated by: andy Reported By: [EMAIL PROTECTED] Status: Open Old Bug Type: Scripting Engine problem Bug Type: Feature/Change Request Operating System: linux PHP Version: 4.0.6 New Comment: reclassified (This is not a "bug") Previous Comments: ---

[PHP-DEV] Bug #12561: RE: Bug # 12180

2001-08-03 Thread tnovak
From: [EMAIL PROTECTED] Operating system: Redhat Linux, SunOS, ... PHP version: 4.0.6 PHP Bug Type: Output Control Bug description: RE: Bug # 12180 Ergh, why isn't there a useful way to reply to bugs? Anyway... regarding bug #12180, this bug occurs because the pseudo-func

[PHP-DEV] Bug #12549 Updated: Connect Interbase Server

2001-08-03 Thread relaxbg
ID: 12549 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: InterBase related Operating System: Windows 2000 PHP Version: 4.0.5 / 4.0.6 New Comment: Example: $DB_SERVER = '202.38.65.77:\temp\database\tmp.gdb' it seems so ... Previous C

[PHP-DEV] Bug #12532: Memory Leak

2001-08-03 Thread blevins
From: [EMAIL PROTECTED] Operating system: MacOSX Server PHP version: 4.0.4 PHP Bug Type: Performance problem Bug description: Memory Leak I'm completely new to this, so I'll try my best. I'm using the installed PHP on OSX Server. I'm doing nothing fancy, a couple include

[PHP-DEV] Bug #10666 Updated: preg_replace 'e' modifier

2001-08-03 Thread smoonen
ID: 10666 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: PCRE related Operating System: Linux PHP Version: 4.0.5 New Comment: Strangely, while the bug referenced in my update at [2001-05-04 13:55:39] was very repeatable across several

[PHP-DEV] Re: Bug #12531 Updated: undefined symbol: mxdriver

2001-08-03 Thread Curtis Maurand
I got them from: ftp://sunsite.unc.edu/pub/distributions/redhat/updates/7.1/en/os/i386 the src rpm comes from ftp://sunsite.unc.edu/pub/distributions/redhat/updates/7.1/en/os/SRPMS However, when you don't call out a directory for imap during configure, PHP will use its own extensions. It does

[PHP-DEV] Tests: naming

2001-08-03 Thread jeroen
Hi, I assume that tests are named 001,002, etc, for historical reasons only? I believe that a test named 'trim.phpt', is better than 010.phpt? Greetz, Jeroen -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

[PHP-DEV] Bug #12541: CGI Error

2001-08-03 Thread vinoo90
From: [EMAIL PROTECTED] Operating system: windows98 PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: CGI Error As per the manual configaration has bean Done when i try to acess first.php i get the following Error message . " CGI Error The speci

[PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend.c zend_execute_API.c zend_hash.c zend_hash.h zend_list.c zend_list.h

2001-08-03 Thread Zeev Suraski
Ok, I'll try to get source-level compatibility going next week. Zeev At 09:14 02/08/2001, Andrei Zmievski wrote: >On Thu, 02 Aug 2001, Zeev Suraski wrote: > > At 09:05 02/08/2001, Andrei Zmievski wrote: > > >On Thu, 02 Aug 2001, Zeev Suraski wrote: > > > > It's only going to affect the TS build,

[PHP-DEV] Bug #12531 Updated: undefined symbol: mxdriver

2001-08-03 Thread curtis
ID: 12531 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: IMAP related Operating System: RedHat 7.1 PHP Version: 4.0.6 New Comment: I got them from: ftp://sunsite.unc.edu/pub/distributions/redhat/updates/7.1/en/os/i386 the src rp

Re: [PHP-DEV] faster serializer?

2001-08-03 Thread Brian Moon
I would love to see a faster serializer. I think serializing has a lot of upsides but the downside right now is performance. Brian Moon -- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com/

[PHP-DEV] string.c is broken

2001-08-03 Thread Sebastian Bergmann
string.c D:\home\php\php4\ext\standard\string.c(830) : error C2039: 'strtok_pos1' : Is no element of 'php_basic_globals' D:\home\php\php4\ext\standard\basic_functions.h(141) : See declaration of 'php_basic_globals' D:\home\php\php4\ext\standard\string.c(831) : error C2039: 'strtok_pos2' :

[PHP-DEV] RFC: New math functions: log2, etc

2001-08-03 Thread jeroen
Hi, I've got the following suggestion, about some of the new math-functions recently added: log2 and log10: remove from PHP exp2 and exp10: remove from PHP (the pow-way is also simply better, in the case of exp2/10, that is) Add second parameter to log, to specify base. (better than writing log

Re: [PHP-DEV] RFC: New math functions: log2, etc

2001-08-03 Thread Jeroen van Wolffelaar
> log(a) / log(n) is not that much harder, and its the right way, imho. Yes, you're right that it is the right way. But for example, for tan(x), the "right way" is sin(x)/cos(x). (Not such a good example, but anyway) log($bla,2) is cleaner, IMO, than log($bla)/log(2), not mentioning the possibl

[PHP-DEV] Bug #12531 Updated: undefined symbol: mxdriver

2001-08-03 Thread andy
ID: 12531 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: IMAP related Operating System: RedHat 7.1 PHP Version: 4.0.6 New Comment: what errors exactly are you getting? Previous Comments:

[PHP-DEV] Bug #12495 Updated: when PHP configured with --enable-dmalloc Apache crashes

2001-08-03 Thread joey
ID: 12495 Updated by: joey Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Reproducible crash Operating System: Linux 2.4.3 [ Mandrake 8.0 ] PHP Version: 4.0.6 New Comment: User replied by email: > > What Linux distro are you running? > Mandrake 8.0, compiler gcc 2.96 > > Which ver

[PHP-DEV] Troubles compiling current CVS

2001-08-03 Thread Stuart Rocks
Spend ages trying to get this current CVS installed. It bitched that I needed libtool 1.4, but when I installed it I lost ltconfig. The install docs for libtool said ltconfig wasn't needed anymore, but ./configure for php said I needed it. I tried editing ltconfig manually but got lost. Or is thi

Re: [PHP-DEV] RFC: New math functions: log2, etc

2001-08-03 Thread Sterling Hughes
At 01:41 AM 8/4/2001 +0200, [EMAIL PROTECTED] wrote: >Hi, > >I've got the following suggestion, about some of the new math-functions >recently added: > >log2 and log10: remove from PHP >exp2 and exp10: remove from PHP >(the pow-way is also simply better, in the case of exp2/10, that is) > >Add sec

Re: [PHP-DEV] RFC: New math functions: log2, etc

2001-08-03 Thread Sterling Hughes
At 01:53 AM 8/4/2001 +0200, Jeroen van Wolffelaar wrote: > > log(a) / log(n) is not that much harder, and its the right way, imho. > >Yes, you're right that it is the right way. But for example, >for tan(x), the "right way" is sin(x)/cos(x). >(Not such a good example, but anyway) As you said :-)

Re: [PHP-DEV] RFC: New math functions: log2, etc

2001-08-03 Thread Jeroen van Wolffelaar
> There is a possibility that GSL will be implemented in PHP, but that's in GSL: GNU Scientific Library, http://sources.redhat.com/gsl/ Jeroen -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP-DEV] Bug #12539: filestat.c:`php_if_diskfreespace': storagesize of `buf' isn't known

2001-08-03 Thread Jani Taskinen
On Fri, 3 Aug 2001, Jon Parise wrote: >On Fri, Aug 03, 2001 at 10:22:53AM -0500, Andy wrote: > >> The manual page says "(PHP 4 CVS only)" >> >> On Fri, 03 Aug 2001, Jani Taskinen wrote: >> > Just one question: Does disk_total_space() php-function WORK for >> > you with PHP 4.0.5? > >I believe I a

[PHP-DEV] Bug #12549: Connect Interbase Server

2001-08-03 Thread relaxbg
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: InterBase related Bug description: Connect Interbase Server $lnk = ibase_connect($DB_SERVER,$DB_LOGIN,$DB_PASSWORD); InterBase: Unable to complete network request to host "...". Failed

[PHP-DEV] Bug #12555: imap_body on empty messages causes seg fault

2001-08-03 Thread jon
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: IMAP related Bug description: imap_body on empty messages causes seg fault After opening an imap connection, calling imap_body for a message which is has an empty body will cause the apache serv

[PHP-DEV] Bug #12521 Updated: chop(), trim() enhancements

2001-08-03 Thread jeroen
ID: 12521 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Assigned Status: Closed Bug Type: Feature/Change Request Operating System: Linux RH 7.1 PHP Version: 4.0.4pl1 Assigned To: jeroen New Comment: In CVS, will probably be in PHP 4.0.7 It uses the addclashes way of specifying

[PHP-DEV] Bug #12540 Updated: setcookie doesn't work!

2001-08-03 Thread blueeye
ID: 12540 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Operating System: win2k PHP Version: 4.0.6 New Comment: oh, I read some post in bug reporting. I found my case and cookie test pages are familiar like post #12481. and my 'big' project

[PHP-DEV] Bug #11784 Updated: read_exif_data fails on big thumbnails

2001-08-03 Thread sniper
ID: 11784 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: *Graphics related Operating System: Linux PHP Version: 4.0.6 New Comment: Fixed in CVS. If thumbnail is invalid, a warning is produced but all the other data is still returned. --Jani Prev

[PHP-DEV] Variable events

2001-08-03 Thread Trevor Linton
I have a curious development question, Has PHP ever though of implementing something loosely termed as "event variables" ? I.e. it is basically a variable that you can specify a specific function to execute with the variable as the argument for whenever the variable is created, destroyed, modifie

[PHP-DEV] CVS Account Request

2001-08-03 Thread CVS Account Request
Full name: Rasmus Email: [EMAIL PROTECTED] ID:foo Purpose: Just testing - report of a parse error in this script -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list ad

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend.c zend_execute_API.czend_hash.c zend_hash.h zend_list.c zend_list.h

2001-08-03 Thread Sebastian Bergmann
Andrei Zmievski wrote: > I really wish all these TSRM changes were left for 4.1. Why not skip 4.0.7 and make 4.0.7-dev PHP 4.1.0? -- Sebastian Bergmann Measure Traffic & Usability http://sebastian-bergmann.de/http://phpOpenTracker.de/ -- PHP Development M

[PHP-DEV] Bug #9464 Updated: ifx.ec compile warning (ts_allocate_id)

2001-08-03 Thread sniper
ID: 9464 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Informix related Operating System: Solaris 8 (Sparc) PHP Version: 4.0.4pl1 New Comment: This is fixed in CVS. Previous Comments:

[PHP-DEV] Bug #9604 Updated: Unable to compile CVS Source with Informix support (executor_globals undeclared

2001-08-03 Thread sniper
ID: 9604 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Informix related Operating System: Solaris 8 (Sparc) PHP Version: 4.0.4pl1 New Comment: Fixed in CVS. Previous Comments:

[PHP-DEV] Bug #10415 Updated: ext/informix/ifx.ec:4354: `executor_globals' undeclared

2001-08-03 Thread sniper
ID: 10415 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Informix related Operating System: Solaris 7 PHP Version: 4.0.4pl1 New Comment: This is fixed in CVS. http://snaps.php.net/ --Jani Previous Comments: -

[PHP-DEV] Bug #7031 Updated: symbol ifx_checkAPI: referenced symbol not found

2001-08-03 Thread sniper
ID: 7031 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Dynamic loading Operating System: Solaris 2.6 PHP Version: 4.0.2 New Comment: This is fixed in CVS. http://snaps.php.net/ Previous Comments:

Re: [PHP-DEV] Programming question

2001-08-03 Thread Rasmus Lerdorf
> can it be assumed that > zval.str.val[zval.str.len] = '\0'? > > i.e., the byte after the string in a zval is the null-byte? > > That is assumed in various places in ext/standard/string.c, and AFAIK > that may not always be true. No code in PHP should assume this. PHP should always check the le

[PHP-DEV] Bug #12554 Updated: switch() bug

2001-08-03 Thread jeroen
ID: 12554 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Feature/Change Request Operating System: linux PHP Version: 4.0.6 New Comment: error_reporting has been set to E_ALL in your config. Set to E_ALL & ~E_NOTICE to prevent this warning, but the po

[PHP-DEV] Bug #7157 Updated: Cannot Suppot both Oracle and Informix

2001-08-03 Thread sniper
ID: 7157 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Suspended Bug Type: OCI8 related Operating System: Solaris 2.7 PHP Version: 4.0.3 New Comment: Without a backtrace, it's impossible to even start guessing what might be the cause of this crash. Suspended until

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend.c zend_execute_API.czend_hash.c zend_hash.h zend_list.c zend_list.h

2001-08-03 Thread Wez Furlong
[I'm just catching up] I'd like the PHP streams stuff to get into 4.1, but I am lacking time for a few weeks. If we were to go for 4.1, are there any plans for when? --Wez. On 02/08/01, "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote: > > Zeev Suraski wrote: > > > - For the register_globals default

[PHP-DEV] Bug #11853 Updated: unknown option -l-l

2001-08-03 Thread sniper
ID: 11853 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Compile Failure Operating System: Suse Linux 7.0 PHP Version: 4.0.6 New Comment: Is this still a problem? If so, get the latest CVS snapshot from here: http://snaps.php.net/ and unpack it. Th

[PHP-DEV] Bug #12355 Updated: PHP-CVS doesn't compile --with-ncurses

2001-08-03 Thread sniper
ID: 12355 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Compile Failure Operating System: Slackware 7.1 (Linux 2.4.7) PHP Version: 4.0CVS-2001-07-25 New Comment: Works for me just fine now. --Jani Previous Comments: -

Re: [PHP-DEV] Programming question

2001-08-03 Thread Thies C. Arntzen
On Thu, Aug 02, 2001 at 09:18:40AM -0700, Rasmus Lerdorf wrote: > > can it be assumed that > > zval.str.val[zval.str.len] = '\0'? > > > > i.e., the byte after the string in a zval is the null-byte? > > > > That is assumed in various places in ext/standard/string.c, and AFAIK > > that may not alway

Re: [PHP-DEV] Programming question

2001-08-03 Thread George Schlossnagle
On a related note, placing null-bytes in the middle of strings (for example in the names of the so-called lambda_functions generated from create_function()) seems like a pretty questionable practice. - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> C

[PHP-DEV] Bug #12547 Updated: Segmentation fault

2001-08-03 Thread moti
ID: 12547 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Reproducible crash Operating System: Mandrake 7.1 (2.4.3) PHP Version: 4.0.6 Previous Comments: [2001-08

[PHP-DEV] Bug #6854 Updated: zend_execute compile failure -> for all ZEND_API inline's in the .h

2001-08-03 Thread sas
ID: 6854 Updated by: sas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Compile Failure Operating System: IRIX 6.5.7 PHP Version: 4.0.2 New Comment: This has been fixed in CVS. Thanks for your report. Previous Comments: --

[PHP-DEV] Bug #7280 Updated: global iniline not supported in SGI Compiler

2001-08-03 Thread sniper
ID: 7280 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Duplicate Status: Closed Bug Type: Compile Failure Operating System: SGI IRIX 6.5.8 PHP Version: 4.0.4 New Comment: Fixed in CVS. Previous Comments:

[PHP-DEV] Bug #12563: Imlib2 Issue

2001-08-03 Thread greg
From: [EMAIL PROTECTED] Operating system: RedHat 7.1 / 2.4.7 Kernel PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: Imlib2 Issue make fails while trying to add Imlib2 support. ./configure --with-xml --with-apxs=/usr/sbin/apxs --with-mysql=/usr --with-pgs

[PHP-DEV] Bug #12563 Updated: Imlib2 Issue

2001-08-03 Thread sniper
ID: 12563 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Compile Failure Operating System: RedHat 7.1 / 2.4.7 Kernel PHP Version: 4.0.6 New Comment: Not a PHP bug. Report this to the imlib author instead. Previous Comments: --

[PHP-DEV] Bug #12502 Updated: oci8.dll can't be loaded

2001-08-03 Thread jmgonzal
ID: 12502 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: OCI8 related Operating System: WinNT and Windows 2000 PHP Version: 4.0.6 New Comment: I found in the faqs the following (exactly the same problem) "This problem was also seen under the ODBC drive

[PHP-DEV] Bug #12562: CGI Error-CGI application misbehaved

2001-08-03 Thread arisg
From: [EMAIL PROTECTED] Operating system: Windows 2000 Server PHP version: 4.0.6 PHP Bug Type: IIS related Bug description: CGI Error-CGI application misbehaved I install php 4.06 in windows 2000 server with IIS included in Windows 2000 server I am using php_mssql.dll and

[PHP-DEV] Bug #9177 Updated: crypt problems with openssl

2001-08-03 Thread sniper
ID: 9177 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: *Encryption and hash functions Operating System: linux 2.4.3 (rh 7.1) PHP Version: Latest CVS New Comment: Fixed in CVS. --Jani Previous Comments: -

[PHP-DEV] Bug #9177 Updated: crypt problems with openssl

2001-08-03 Thread sniper
ID: 9177 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: *Encryption and hash functions Operating System: linux 2.4.3 (rh 7.1) PHP Version: Latest CVS Previous Comments: [200

[PHP-DEV] Bug #12537 Updated: tiwizi

2001-08-03 Thread kalowsky
ID: 12537 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Performance problem Operating System: win98 PHP Version: 4,0,6 New Comment: not a bug in php. Previous Comments: [200

[PHP-DEV] A patch to get rid of system rand/srand/etc.

2001-08-03 Thread Jani Taskinen
This patch will replace PHP functions srand() / rand() / getrandmax() with the mt_*() ones. The mt_*() are changed to aliases. If nobody objects, I will commit this tomorrow. --Jani Index: configure.in === RCS file: /repositor

[PHP-DEV] Bug #12564: PEAR::db and dbx extension

2001-08-03 Thread jplock
From: [EMAIL PROTECTED] Operating system: FreeBSD 4.3-STABLE PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: PEAR::db and dbx extension I was wondering what the plan of attack was for these two items, the PEAR::db set of files and the dbx extension.

  1   2   >