FW: [PHP-DEV] BUG #18630

2003-10-30 Thread Steph
I missed a load, I could've argued much better. Remind me never to send mail to the list post-party ever again.. They run NT 4.0 here, and i was gobsmacked to see it. Five years ago I worked for ICL and we used NT 4.1 there. So I guess what I'm saying is, ASSUME NOTHING. ICL were M$ partners..

Re: [PHP-DEV] BUG #18630

2003-10-30 Thread Ilia Alshanetsky
On October 30, 2003 05:48 pm, Andi Gutmans wrote: > Yeah, I also thought of that but I don't really want to do run-time checks. > It is a possibility though. If it is done once during startup, the 'harm' should be minimal and in vast majority of cases performance on win32 is not really that much

RE: [PHP-DEV] BUG #18630

2003-10-30 Thread Steph
I just started a post-grad course. The majority of the network I deal with here day-in-day-out is NT4.0 and yeah that makes me cringe too. But it has to be asked, if this is the case in a UK uni network then why assume anything? The guys here are also committed to using opensource, and PHP is t

Re: [PHP-DEV] Re: finally again

2003-10-30 Thread Cristiano Duarte
Hi Andi, > I've stated my opinion in the past (search the archives) and I don't think > it'd be feasible (nor critical) to implement this... Do you agree that if we don't have finally we should have a way to catch all exceptions ? Let me explain: If you have a library that can raise a huge numb

Re: [PHP-DEV] Re: finally again

2003-10-30 Thread Andi Gutmans
I've stated my opinion in the past (search the archives) and I don't think it'd be feasible (nor critical) to implement this... Andi At 07:15 PM 10/30/2003 -0200, Cristiano Duarte wrote: Hi internals ! I really need an opinion about this. Cristiano Duarte -- PHP Internals - PHP Runtime Develo

[PHP-DEV] Re: finally again

2003-10-30 Thread Cristiano Duarte
Hi internals ! I really need an opinion about this. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] php5ts.dll?

2003-10-30 Thread Andi Gutmans
At 04:25 PM 10/30/2003 -0500, Greg Beaver wrote: Hi, The beta 2 of PHP 5 is very nice, and the addition of __toString() will be a godsend for templating. I have only one caveat with the release: the primary dll php4ts.dll and the apache module php4apache.dll (and any other module) has not yet b

Re: [PHP-DEV] BUG #18630

2003-10-30 Thread Andi Gutmans
At 11:01 PM 10/30/2003 +0100, Uwe Schindler wrote: You can also check vor availability of this single function with GetProcAddress(GetModuleHandle("kernel32.dll"),"funcname") and use the pointer from there if not NULL. If this is the only unknown function in Win95/NT4 then we should not boot out

Re: [PHP-DEV] BUG #18630

2003-10-30 Thread Uwe Schindler
You can also check vor availability of this single function with GetProcAddress(GetModuleHandle("kernel32.dll"),"funcname") and use the pointer from there if not NULL. If this is the only unknown function in Win95/NT4 then we should not boot out all people because of a single function. That con

[PHP-DEV] php5ts.dll?

2003-10-30 Thread Greg Beaver
Hi, The beta 2 of PHP 5 is very nice, and the addition of __toString() will be a godsend for templating. I have only one caveat with the release: the primary dll php4ts.dll and the apache module php4apache.dll (and any other module) has not yet been renamed to php5ts.dll and php5apache.dll in

[PHP-DEV] PHP 5.0.0 Beta 2 released!

2003-10-30 Thread Andi Gutmans
Dear PHP users, PHP 5.0.0 Beta 2 has been released. This is the first feature complete version of PHP 5 except for work on extensions, and we recommend for PHP users to try it. PHP 5 is still not ready for production use! Some of the more major changes include: - PHP 5 features the Zend Engine

Re: [PHP-DEV] BUG #18630

2003-10-30 Thread Andi Gutmans
At 09:10 PM 10/30/2003 +0100, Marcus Börger wrote: >>"Andi Gutmans" <[EMAIL PROTECTED]> wrote in message >>news:[EMAIL PROTECTED] >>> Argh, this only works on Windows 2000 and later or Windows 98 and later. >>> I guess I'll need to #ifdef it somehow. Anyway, I'd still like you to check >>> it as I

Re: [PHP-DEV] Graphs and Charts

2003-10-30 Thread Rasmus Lerdorf
You should have a look at the gdchart library. There is a PHP extension for it in pecl. -Rasmus On Thu, 30 Oct 2003, Guilherme A. Mendes wrote: > Hi all, > > It may does not make sense, but I'm writing a web based script in C++ > and now I need to build 3D pie/bar charts. The best solution an

Re: [PHP-DEV] superglobals inside of function declarations

2003-10-30 Thread Kevin Waterson
This one time, at band camp, Derick Rethans <[EMAIL PROTECTED]> wrote: > On Thu, 30 Oct 2003, Filip de Waard wrote: > > > Andy, > > > > I know the current possibilities and limitations, but i'm wondering why > > superglobals can't be used in function declarations. Is there a > > particular reaso

Re: [PHP-DEV] BUG #18630

2003-10-30 Thread Marcus Börger
Hello Jani, Thursday, October 30, 2003, 7:35:48 PM, you wrote: > Yes, the fix was put into PHP 5 branch. > You tried the wrong snapshots. > --Jani > On Thu, 30 Oct 2003, Pete Dishman wrote: >>Sorry CVS is a bit of a mystery to me, but I tried >>php-4-win32-STABLE-20031030053

[PHP-DEV] Graphs and Charts

2003-10-30 Thread Guilherme A. Mendes
Hi all, It may does not make sense, but I'm writing a web based script in C++ and now I need to build 3D pie/bar charts. The best solution and quality I have found was JpGraph that uses PHP Gd Library / Functions. I was thinking about using the PHP source code in my C++ program to generate the ch

Re: [PHP-DEV] EXTRA_VERSION

2003-10-30 Thread Jani Taskinen
No, it's supposed to be reset right after you have tagged the tree. I did that already. (can't run buildconf for example..) --Jani On Thu, 30 Oct 2003, Andi Gutmans wrote: > >Yep, I know. I'll do it after I announce b2. > >At 02:48 PM 10/30/2003 +0100, Jan Schneider wrot

Re: [PHP-DEV] BUG #18630

2003-10-30 Thread Jani Taskinen
Yes, the fix was put into PHP 5 branch. You tried the wrong snapshots. --Jani On Thu, 30 Oct 2003, Pete Dishman wrote: >Sorry CVS is a bit of a mystery to me, but I tried >php-4-win32-STABLE-200310300530.zip from snaps.php.net which didn't work, so >I then tried php4-200310300

Re: [PHP-DEV] Envairoment variables

2003-10-30 Thread Jan Kneschke
On Thu, Oct 30, 2003 at 03:18:26PM +0100, Ivan Rodriguez wrote: > Hi > > I am looking for the code that generates the value of REMOTE_ADDR so that > I want to make a code that gives the MAC address of the visitor and I am > looking into http://lxr.php.net but I don´t found nothing, if some can > h

Re: [PHP-DEV] Envairoment variables

2003-10-30 Thread Ivan Rodriguez
George your answer is most valuable, thanks. - Original Message - From: "George Schlossnagle" <[EMAIL PROTECTED]> To: "Ivan Rodriguez" <[EMAIL PROTECTED]> Cc: "Derick Rethans" <[EMAIL PROTECTED]>; "Filip de Waard" <[EMAIL PROTECTED]>; "php-dev" <[EMAIL PROTECTED]> Sent: Thursday, October 30

Re: [PHP-DEV] Envairoment variables

2003-10-30 Thread George Schlossnagle
On Thursday, October 30, 2003, at 10:41 AM, Ivan Rodriguez wrote: Ok, But if the REMOTE_ADDR is part of the client and it gives back a PHP variable to it, it is not possible to do the same with the MAC address. IP addresses are machine identifiers in IP, so when someone makes an http connection

Re: [PHP-DEV] Envairoment variables

2003-10-30 Thread Ivan Rodriguez
oks thx - Original Message - From: "Derick Rethans" <[EMAIL PROTECTED]> To: "Ivan Rodriguez" <[EMAIL PROTECTED]> Cc: "php-dev" <[EMAIL PROTECTED]> Sent: Thursday, October 30, 2003 4:44 PM Subject: Re: [PHP-DEV] Envairoment variables > On Thu, 30 Oct 2003, Ivan Rodriguez wrote: > > > Ok, B

Re: [PHP-DEV] Envairoment variables

2003-10-30 Thread Derick Rethans
On Thu, 30 Oct 2003, Ivan Rodriguez wrote: > Ok, But if the REMOTE_ADDR is part of the client and it gives back a PHP > variable to it, it is not possible to do the same with the MAC address Of course not, who is supposed to show PHP (on the server) the MAC address? right, the CLIENT, or also ca

Re: [PHP-DEV] Envairoment variables

2003-10-30 Thread Ivan Rodriguez
Ok, But if the REMOTE_ADDR is part of the client and it gives back a PHP variable to it, it is not possible to do the same with the MAC address - Original Message - From: "Derick Rethans" <[EMAIL PROTECTED]> To: "Ivan Rodriguez" <[EMAIL PROTECTED]> Cc: "Filip de Waard" <[EMAIL PROTECTED]>;

Re: [PHP-DEV] Envairoment variables

2003-10-30 Thread Derick Rethans
On Thu, 30 Oct 2003, Ivan Rodriguez wrote: > What I want to know is the code that gives the REMOTE_ADDR nothing else, in > which file this that code?¿ Not in the PHP Source, you'll have to find the source of IE or Mozilla in order to do something. This is something totally related to the client

Re: [PHP-DEV] Envairoment variables

2003-10-30 Thread Ivan Rodriguez
What I want to know is the code that gives the REMOTE_ADDR nothing else, in which file this that code?¿ - Original Message - From: "Filip de Waard" <[EMAIL PROTECTED]> To: "Ivan Rodriguez" <[EMAIL PROTECTED]> Cc: "php-dev" <[EMAIL PROTECTED]> Sent: Thursday, October 30, 2003 3:50 PM Subjec

Re: [PHP-DEV] Envairoment variables

2003-10-30 Thread Filip de Waard
On Thu, 2003-10-30 at 15:18, Ivan Rodriguez wrote: > I want to make a code that gives the MAC address of the visitor The MAC address is only available on the same network, but you could always read the headers (php.net/getallheaders). This is the wrong list, BTW. Regards, Filip de Waard -- PHP

Re: [PHP-DEV] Zend Engine question

2003-10-30 Thread Wojtek Meler
Moriyoshi Koizumi wrote: Nope, it was decided long ago that the bug won't be fixed in ZE1. AFAIC there's been no definite cure so far, but perhaps it can be fixed somehow though I didn't managed to conceive anything reasonable. It seams that enabling this helps: #if 0 /* Will be fixed in ZE2, t

Re: [PHP-DEV] Re: cvs: php-src /ext/dom/tests dom005.phpt

2003-10-30 Thread Christian Stocker
On 10/30/03 1:53 PM, Ilia Alshanetsky wrote: On October 30, 2003 03:10 am, Christian Stocker wrote: My system (libxml2-2.6.0 on Mac OS X 10.3) outputs lowercase html in the doctype.. I don't know, if libxml2 changed that on purpose. But both doctypes seem to validate... I'll ask on their mailin

[PHP-DEV] Envairoment variables

2003-10-30 Thread Ivan Rodriguez
Hi I am looking for the code that generates the value of REMOTE_ADDR so that I want to make a code that gives the MAC address of the visitor and I am looking into http://lxr.php.net but I don´t found nothing, if some can help me ... :-) Regards Iván Rodriguez Espada _ A

Re: [PHP-DEV] EXTRA_VERSION

2003-10-30 Thread Andi Gutmans
Yep, I know. I'll do it after I announce b2. At 02:48 PM 10/30/2003 +0100, Jan Schneider wrote: ... has not yet been reset to -dev in configure.in Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http://www.tip4all.de - Deine private Tippgemeinschaft

[PHP-DEV] EXTRA_VERSION

2003-10-30 Thread Jan Schneider
... has not yet been reset to -dev in configure.in Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http://www.tip4all.de - Deine private Tippgemeinschaft -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.

[PHP-DEV] Re: cvs: php-src /ext/dom/tests dom005.phpt

2003-10-30 Thread Ilia Alshanetsky
On October 30, 2003 03:10 am, Christian Stocker wrote: > My system (libxml2-2.6.0 on Mac OS X 10.3) outputs lowercase html in the > doctype.. I don't know, if libxml2 changed that on purpose. But both > doctypes seem to validate... > > I'll ask on their mailinglist. > > To make the test work again,

Re: [PHP-DEV] superglobals inside of function declarations

2003-10-30 Thread Derick Rethans
On Thu, 30 Oct 2003, Filip de Waard wrote: > Andy, > > I know the current possibilities and limitations, but i'm wondering why > superglobals can't be used in function declarations. Is there a > particular reason for this? Because PHP just only supports scalar constants there. Derick -- "Inte

Re: [PHP-DEV] superglobals inside of function declarations

2003-10-30 Thread Filip de Waard
Andy, I know the current possibilities and limitations, but i'm wondering why superglobals can't be used in function declarations. Is there a particular reason for this? Regards, Filip de Waard On Thu, 2003-10-30 at 11:35, Andi Gutmans wrote: > Hi, > > In general you are only allowed to use sc

[PHP-DEV] Re: Beta 2 rolled

2003-10-30 Thread Edin Kadribasic
Windows binary of b2: http://downloads.php.net/edink/php-5.0.0b2-Win32.zip Edin - Original Message - From: "Andi Gutmans" <[EMAIL PROTECTED]> To: "Edin Kadribasic" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, October 30, 2003 11:46 AM Subject: Beta 2 rolled Beta 2 has b

Re: [PHP-DEV] Beta 2 rolled

2003-10-30 Thread Andi Gutmans
At 12:09 PM 10/30/2003 +0100, Derick Rethans wrote: Some problems with this tarball: - it was created with using autoconf 2.53, see the ugly "autom4te2.53.cache" directory. "Thou shalt use 2.13". AFAIK Jani also has a specialy patched libtool 1.4.3 for releases. - there is a php4.spec file.. n

Re: [PHP-DEV] Beta 2 rolled

2003-10-30 Thread Derick Rethans
On Thu, 30 Oct 2003, Andi Gutmans wrote: > Beta 2 has been rolled. > Edin, please create the Windows packages, The tag is php_5_0_0b2 > > http://www.php.net/~andi/php-5.0.0b2.tar.bz2 > http://www.php.net/~andi/php-5.0.0b2.tar.gz > > I'd appreciate it if some of you give this a small sanity

[PHP-DEV] Beta 2 rolled

2003-10-30 Thread Andi Gutmans
Beta 2 has been rolled. Edin, please create the Windows packages, The tag is php_5_0_0b2 http://www.php.net/~andi/php-5.0.0b2.tar.bz2 http://www.php.net/~andi/php-5.0.0b2.tar.gz I'd appreciate it if some of you give this a small sanity test. I'll go forward with posting it tomorrow unless

Re: [PHP-DEV] superglobals inside of function declarations

2003-10-30 Thread Andi Gutmans
Hi, In general you are only allowed to use scalars as default values. This won't change. I suggest you do something like: function refresh($location = NULL) { if ($location === NULL) { $location = $_SERVER['PHP_SELF']; } } At 11:26 AM 10/30/2003 +0100, Filip de Waard wrote: Hello,

[PHP-DEV] superglobals inside of function declarations

2003-10-30 Thread Filip de Waard
Hello, I've been using PHP for quite a while now and i'm getting interested it's internal beheaviour. I'm wondering why it isn't possible to use a global variable inside of a function declaration. For example: http://www.php.net/";); ?> Of course there are ways to circumvent this problem that ha

Re: [PHP-DEV] BUG #18630

2003-10-30 Thread Andi Gutmans
After discussing this with some people I decided to #ifdef this code for beta 2. We need to decide after beta 2 if we want to fix this bug and not officially support Win95 and NT 4 anymore or not. (I think WIn95 doesn't work anymore but NT 4 does). The main problem is that today, and I suspect i

Re: [PHP-DEV] Zend Engine question

2003-10-30 Thread Moriyoshi Koizumi
Wojtek Meler <[EMAIL PROTECTED]> wrote: > OK, so the reason for this bug is referencing EG(uninitialized_zval) ? > I can't find place in code where it is (really big script). > Is it possible to add some code to execute loop to check if this > happens and bailout with zend_error ? I could locate t

Re: [PHP-DEV] BUG #18630

2003-10-30 Thread Pete Dishman
Sorry CVS is a bit of a mystery to me, but I tried php-4-win32-STABLE-200310300530.zip from snaps.php.net which didn't work, so I then tried php4-200310300830.tar.gz and built it. There was a link error relating to php_check_open_basedir_ex() but after working round that the test still didn't work

[PHP-DEV] [Fwd: Re: [xml] HTML vs html in DOCTYPE]

2003-10-30 Thread Christian Stocker
Here's the answer of the libxml2 guy chregu Original Message Subject: Re: [xml] HTML vs html in DOCTYPE Date: Thu, 30 Oct 2003 04:21:58 -0500 From: Daniel Veillard <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Christian Stocker <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Ref

Re: [PHP-DEV] Zend Engine question

2003-10-30 Thread Wojtek Meler
Moriyoshi Koizumi wrote: Moriyoshi Koizumi wrote: First, maybe you want to see bug #22836 (http://bugs.php.net/22836), that appears to describe the very problem you have. Probably yes. I assume that it won't be fixed in ZE1, will it? Is there any way to fix it for own risk? I saw something in zen

[PHP-DEV] Re: cvs: php-src /ext/dom/tests dom005.phpt

2003-10-30 Thread Christian Stocker
Hi On 10/29/03 6:04 AM, Ilia Alshanetsky wrote: iliaa Wed Oct 29 00:04:41 2003 EDT Modified files: /php-src/ext/dom/tests dom005.phpt Log: Fixed test. Index: php-src/ext/dom/tests/dom005.phpt diff -u php-src/ext/dom/tests/dom005.phpt:1.1 php-src/ext/dom/tests/dom0