Re: [PHP-DEV] Reusing PHP string value pointers

2002-11-28 Thread Zeev Suraski
At 02:50 28/11/2002, Marshall A. Greenblatt wrote: Apologies in advance if this is the wrong mailing list. Please direct me to a more appropriate mailing list if there is one :-) When a PHP string variable is changed via a PHP script, such as: $foo = 'new value'; what happens to the

[PHP-DEV] PHP 4 Bug Summary Report

2002-11-28 Thread php-dev
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (983 total including feature requests) ===[*Configuration Issues] 13561 Assigned --without-pear prevent install of php-config,phpize,... 19282 Won't fix Place

Re: Re: [PHP-DEV] OCI patch

2002-11-28 Thread Abdul-Kareem Abo-Namous
hi everyone what happened to the patch i submitted? is it of such bad quality? ;-) maybe someone can tell me more..? :-) thanks, Abdul - Original Message - From: [EMAIL PROTECTED] To: MaximMaletsky [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL

Re: [PHP-DEV] OCI patch

2002-11-28 Thread Maxim Maletsky
Thies was on it. But, I think he is pretty busy right now. Resubmit it to me and I will look instead of him. Meanwhile, if Thies has time he will spare the light on the issue. -- Maxim Maletsky [EMAIL PROTECTED] Abdul-Kareem Abo-Namous [EMAIL PROTECTED] wrote... : hi everyone what

[PHP-DEV] Patch for bug #20539

2002-11-28 Thread Edin Kadribasic
Hi Sascha, The attached patch fixes a crash in CLI when php.ini contains: session.auto_start=1 magic_quotes_gpc=1 Could you please review it? Edin Index: session.c === RCS file: /repository/php4/ext/session/session.c,v

[PHP-DEV] Re: setting PHP_INI_SYSTEM config. variables in VHost sections (bug 20009)

2002-11-28 Thread fantomas
Yasuo Ohgaki [EMAIL PROTECTED] wrote: - Matus Fantomas Uhlar wrote: - Therefore I propose a change: - - PHP_INI_SYSTEM variables should be allowed to change by admin - in - system-wide php.ini or httpd.conf, no matter if it's VHost or not. - - I've never tried to use

Re: [PHP-DEV] Patch for bug #20539

2002-11-28 Thread Edin Kadribasic
Forget the patch, its not working well. The problem is that with session autostart SID constant gets defined in rinit and gets destroyed twice. Edin - Original Message - From: Edin Kadribasic [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, November 28, 2002

[PHP-DEV] PHP Beginner

2002-11-28 Thread Mahamadou ZERBO
Hi, I'm a beginner in PHP. I'm looking for ressources (templates, samples, ...) which can help me. Where can I find it. Thanks -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP Beginner

2002-11-28 Thread Maxim Maletsky
1. This is not the right list for asking the question - join the other mailing list at [EMAIL PROTECTED] which is right for that. 2. You already answered yourself: PHP Beginner (www.phpbeginner.com). If that does not satisfy you try the other sites within the links section of www.php.net --

Re: [PHP-DEV] PHP Beginner

2002-11-28 Thread Miham KEREKES
I'm a beginner in PHP. I'm looking for ressources (templates, samples, ...) which can help me. Where can I find it. Maybe you post to wrong mailing list. At this list the subject is developing the php, not developing _in_ php. I suggest you to look around at

[PHP-DEV] ZE2 question

2002-11-28 Thread Marcus Börger
This is may be a nice token name, but i do not understand it. When trying to execute: $c-parent::function() I receive: Parse error: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /usr/src/ph Not that anywhere it is said this should work but i did an error and found the error message not

[PHP-DEV] ZE2 and standard class initialization

2002-11-28 Thread Marcus Börger
In ZE2 zend.c there is a structure member not initialized for. See patch below. marcus Index: Zend/zend.c === RCS file: /repository/ZendEngine2/zend.c,v retrieving revision 1.191 diff -u -r1.191 zend.c --- Zend/zend.c 24 Nov 2002

Re: [PHP-DEV] ZE2 question

2002-11-28 Thread Derick Rethans
On Thu, 28 Nov 2002, Marcus Börger wrote: This is may be a nice token name, but i do not understand it. When trying to execute: $c-parent::function() I receive: Parse error: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /usr/src/ph It means ::. See also:

RE: [PHP-DEV] ZE2 question

2002-11-28 Thread James Cox
it means double colon in hebrew... i think Zeev and Andi must not have known what to call it in english when they put it in... but hey, it was the first i18n'ized error message :) -- jamess -Original Message- From: Marcus Borger [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 28,

Re: [PHP-DEV] ZE2 question

2002-11-28 Thread Tal Peer
Derick Rethans wrote: On Thu, 28 Nov 2002, Marcus Börger wrote: This is may be a nice token name, but i do not understand it. When trying to execute: $c-parent::function() I receive: Parse error: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /usr/src/ph It means ::. See also:

Re: [PHP-DEV] Reusing PHP string value pointers

2002-11-28 Thread Marshall A. Greenblatt
From: Zeev Suraski [EMAIL PROTECTED] When a PHP string variable is changed via a PHP script, such as: $foo = 'new value'; what happens to the `value.str.val' pointer internally? Is it possible to have the new value assigned to the same `value.str.val' pointer that the variable is

[PHP-DEV] Hello ! How to write a PHP porgramme which run in given time ?

2002-11-28 Thread Jonathan
Dear all , Hello ! I am a student and going to write a suit of programme . The producers as follow producer 1. User A add an new appointment A ( open Winamp at 2:30 on computer B) through IE in his local computer A . producer 2. Computer A send the message to server A through http . The

Re: [PHP-DEV] ZE2 + public/protected/private/final

2002-11-28 Thread Marcus Börger
With current ZE2 it is possible to instanciate an abstract class. That is a class that has at least one abstract method. When we add a flag field to class_entry struct we can handle this. We simply need to set an abstract flag for the class entry when any abstract method is added or inherited.

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-28 Thread Maxim Maletsky
Just an update, I have made a 117m thread on PHP-IT wondering what Italian users think of porting error messages to their language. Apparently, users seemed to be already used to English errors and this idea wasn't completely accepted by everyone (some people agreed, though). Objections to it

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-28 Thread Ilia A.
On November 28, 2002 12:56 pm, Maxim Maletsky wrote: Shall we still consider introducing error codes to PHP? IMO, it does not represent any enormous maintenance increase while has some positive points. Do you have an effecient manner in which to implement the introduction of error codes?

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-28 Thread Marcus Börger
At 18:59 28.11.2002, Ilia A. wrote: On November 28, 2002 12:56 pm, Maxim Maletsky wrote: Shall we still consider introducing error codes to PHP? IMO, it does not represent any enormous maintenance increase while has some positive points. Do you have an effecient manner in which to implement

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-28 Thread Maxim Maletsky
Ilia A. [EMAIL PROTECTED] wrote... : On November 28, 2002 12:56 pm, Maxim Maletsky wrote: Shall we still consider introducing error codes to PHP? IMO, it does not represent any enormous maintenance increase while has some positive points. Do you have an effecient manner in which to

Re: [PHP-DEV] Patch for bug #20539

2002-11-28 Thread Sascha Schumann
On Thu, 28 Nov 2002, Edin Kadribasic wrote: Forget the patch, its not working well. The problem is that with session autostart SID constant gets defined in rinit and gets destroyed twice. Yes, that's why I don't like to rely on internals of something which should be a black box. The

[PHP-DEV] Re: Patch for bug #20539

2002-11-28 Thread Sascha Schumann
The attached patch fixes a crash in CLI when php.ini contains: session.auto_start=1 magic_quotes_gpc=1 Could you please review it? SID is neither persistent nor case-sensitive. We should resort to such a hack only, if there is no proper bug fix. - Sascha -- PHP Development

[PHP-DEV] New vpopmail extension for PHP

2002-11-28 Thread Rui Barreiros
Hi there, I made a new vpopmail extension for php based on current vpopmail extension, vpopmail and qmailadmin, below is a complete list for all functions available from the extension. I would like to know if there is any interest on making it available on the standard php dist, if so, i'd need

Re: [PHP-DEV] New vpopmail extension for PHP

2002-11-28 Thread Markus Fischer
vpopmail is not part of the core anymore, it has been moved to PECL (see pear.php.net.) However, I suggest contacting the current (former?) owner(s) of the extension, afaik it's not orphaned yet. On Thu, Nov 28, 2002 at 07:27:05PM +, Rui Barreiros wrote : Hi there, I

RE: [PHP-DEV] New vpopmail extension for PHP

2002-11-28 Thread James Cox
it's not orphaned, i'm nursing it back to life :) -- james -Original Message- From: Markus Fischer [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 28, 2002 8:53 PM To: Rui Barreiros Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] New vpopmail extension for PHP vpopmail

Re: [PHP-DEV] Reusing PHP string value pointers

2002-11-28 Thread l0t3k
if you have the option of using ZE2, make the thing an object and use the property get/set handlers to take care of things for you Marshall A. Greenblatt [EMAIL PROTECTED] wrote in message 000d01c296fe$b0ff82f0$6601a8c0@Marshall">news:000d01c296fe$b0ff82f0$6601a8c0@Marshall... From: Zeev

Re: [PHP-DEV] Reusing PHP string value pointers

2002-11-28 Thread George Schlossnagle
Or use the overload extension in ZE1. The real question is why you really need/want to do this. George On Thursday, November 28, 2002, at 04:37 PM, l0t3k wrote: if you have the option of using ZE2, make the thing an object and use the property get/set handlers to take care of things for

[PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread J Smith
A couple of times a month, I get questions about from people looking to use C++ with PHP. Apparently, a lot of people end up reading some post I made to php.dev or something a year or so ago about C++, and although it worked at the time, the procedure I describe has become stale. I messed

RE: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread John Coggeshall
AFAIK, PHP is designed to function on any standard ANSI-compatible C compiler (as a goal). Unless this has changed, I don't know if opening the door for C++ development is the best of ideas (IMHO) John -Original Message- From: J Smith [mailto:[EMAIL PROTECTED]] Sent: Thursday,

Re: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread Shane Caraveo
I think that would be quite cool, save me from having to do it manualy. Shane J Smith wrote: A couple of times a month, I get questions about from people looking to use C++ with PHP. Apparently, a lot of people end up reading some post I made to php.dev or something a year or so ago about C++,

RE: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread J Smith
The door has always been open, as it has always been possible. For instance, the qtdom extension has some C++ components, as does the dotnet extension. This just sort of facilitates the, uh, moving through said door. If you're using ANSI/ISO-compliant (or mostly compliant) C and C++

Re: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread George Schlossnagle
I concur, that would be cool. Patches should be against HEAD. George On Thursday, November 28, 2002, at 05:33 PM, Shane Caraveo wrote: I think that would be quite cool, save me from having to do it manualy. Shane J Smith wrote: A couple of times a month, I get questions about from people

[PHP-DEV] Zend Engine 2

2002-11-28 Thread electroteque
Hello i was wondering when this is becoming available with the possibilities of private and public class features ? -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread John Coggeshall
Well, Personally I don't have any problem with introducing C++ into PHP so no argument there from me. I'm curious if using C++ as opposed to C would cause a performace hit? John -Original Message- From: J Smith [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 28, 2002 5:43 PM To:

Re: [PHP-DEV] Zend Engine 2

2002-11-28 Thread Marcus Börger
At 00:07 29.11.2002, electroteque wrote: Hello i was wondering when this is becoming available with the possibilities of private and public class features ? You can use ZE2 with public, protected and private class variables. Some work is already going on for methods but no real solution is out

[PHP-DEV] Bug #2965

2002-11-28 Thread John Coggeshall
This bug was changed to a documentation problem, and I'm a bit confused as to what exactly the issue is For($i = 'A'; $i = 'Z' $i++) echo $i; I'm assuming this *should* echo the A-Z alphabet (which it doesn't).. But, since it was changed to a documentation problem -- is the current form

[PHP-DEV] Bug #2965

2002-11-28 Thread John Coggeshall
This bug was changed to a documentation problem, and I'm a bit confused as to what exactly the issue is For($i = 'A'; $i = 'Z' $i++) echo $i; I'm assuming this *should* echo the A-Z alphabet (which it doesn't).. But, since it was changed to a documentation problem -- is the current form

RE: [PHP-DEV] Zend Engine 2

2002-11-28 Thread Dan Rossi
yes i know , what i meant is when will it be available in which php version ? also i am interested in learning some c ++ and doing some php source where could i start with that ? i'd be keen on helping with bug testing etc -Original Message- From: Marcus Borger [mailto:[EMAIL PROTECTED]]

[PHP-DEV] RE: Bug #2965

2002-11-28 Thread Dan Rossi
i'd try use chr($i) or something like that and start @ A value -Original Message- From: John Coggeshall [mailto:[EMAIL PROTECTED]] Sent: Friday, November 29, 2002 11:00 AM To: 'electroteque'; [EMAIL PROTECTED] Subject: Bug #2965 This bug was changed to a documentation problem, and I'm

RE: [PHP-DEV] RE: Bug #2965

2002-11-28 Thread John Coggeshall
That's not the issue... In C, the behavior is to actually print the alphabet A-Z... It looks like our implementation is messed up, but the bug report is a bit misleading as to if I should fix the documentation to say you CAN'T do this, or fix the code so you can :) John -Original

[PHP-DEV] Default Return-Path with mail() and qmail

2002-11-28 Thread Daniel Lorch
hi, I was fed up with getting a lot of bounce mails of users on my host, who apparently just have discovered the mail() function in PHP and are writing mails to bogus recipients. Apparently, the default Return-Path that is being set by our MTA (qmail) is Return-Path: anonymous@myhost, even if

Re: [PHP-DEV] Default Return-Path with mail() and qmail

2002-11-28 Thread Daniel Lorch
--- php-4.2.3/ext/standard/mail.c Thu Nov 28 11:37:12 2002 +++ php-4.2.3-daniel/ext/standard/mail.cFri Nov 29 01:50:09 2002 @@ -21,6 +21,7 @@ #include stdlib.h #include ctype.h #include stdio.h +#include string.h #include php.h #include ext/standard/info.h #if

Re: [PHP-DEV] Default Return-Path with mail() and qmail

2002-11-28 Thread Sara
I'm a big -1 on this. The patch will not actually solve the root problem. On Unix systems, the MTA needs to know that the webserver user is 'trusted' to masquerade as another user. In exim this would be the 'trusted-users' directive, sendmail, qmail, and postfix have similar directives. On

Re: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread Sascha Schumann
On Thu, 28 Nov 2002, J Smith wrote: A couple of times a month, I get questions about from people looking to use C++ with PHP. Apparently, a lot of people end up reading some post I made to php.dev or something a year or so ago about C++, and although it worked at the time, the procedure I

RE: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread Sascha Schumann
AFAIK, PHP is designed to function on any standard ANSI-compatible C compiler (as a goal). Unless this has changed, I don't know if opening the door for C++ development is the best of ideas (IMHO) That just means that the core and standard extensions need to be written in ISO C and

[PHP-DEV] Re: PHP 4.3.0RC2 released

2002-11-28 Thread Vadim Tkachenko
Archive php-4.3.0RC2.tar.gz contain directory autom4te-2.53.cache. With this directory I can't build my own extension, because buildconf can't find their. Vadim Tkachenko. Andrei Zmievski [EMAIL PROTECTED] ???/ ? ?: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... The

[PHP-DEV] lstat in php

2002-11-28 Thread Murali P
Placed At : MAATDLN Murali P@SATYAM 11/29/2002 10:09 AM Hi All, I have got a doubt regarding the way php works, wrt its FS implementation. Assuming I run apache as my webserver and I enable the option, SymLinksIfOwnerMatch, in my URL-space,

Re: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread Preston L. Bannister
There is nothing about using a C++ compiler that makes your code less efficient. The primary determinant is still overwhelmingly the programmer. C++ has *never* gotten in my way when writing extremely efficient programs, and in fact I find it a great help. The flip side is I've seen a lot of

RE: [PHP-DEV] RE: Bug #2965

2002-11-28 Thread Rick Widmer
At 07:09 PM 11/28/02 -0500, John Coggeshall wrote: That's not the issue... In C, the behavior is to actually print the alphabet A-Z... It looks like our implementation is messed up, but the bug report is a bit misleading as to if I should fix the documentation to say you CAN'T do this, or fix

Re: [PHP-DEV] Bug #20308 (Feature Request)

2002-11-28 Thread Sara Golemon
I disagree with this, the current behaviour is imho wrong. mailto: is a url, rejecting the patch because it introduces a special case, is not a good thing. parse_url() is for _all_ url's, not just http:// url's, and besides, the current syntax for mailto is completely valid, and should be

Re: [PHP-DEV] Default Return-Path with mail() and qmail

2002-11-28 Thread Rick Widmer
At 06:28 PM 11/28/02 -0800, Sara Pollita Golemon wrote: I'm a big -1 on this. The patch will not actually solve the root problem. On Unix systems, the MTA needs to know that the webserver user is 'trusted' to masquerade as another user. In exim this would be the 'trusted-users' directive,

RE: [PHP-DEV] RE: Bug #2965

2002-11-28 Thread John Coggeshall
I'm conflicted on this one. On the one hand you've got PHP somewhat at fault for treating letters as special characters (such that 'Z'+1 == 'AA') rather than as their ordinal equivalents (such that 'Z'+1 == ord('Z')+1 == 91 == ord('[') == '[' ) which IMO is an ugly thing. I personally like

Re: [PHP-DEV] Bug #2965

2002-11-28 Thread Derick Rethans
On Thu, 28 Nov 2002, John Coggeshall wrote: This bug was changed to a documentation problem, and I'm a bit confused as to what exactly the issue is For($i = 'A'; $i = 'Z' $i++) echo $i; I'm assuming this *should* echo the A-Z alphabet (which it doesn't).. But, since it was changed

Re: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread Markus Fischer
On Thu, Nov 28, 2002 at 06:41:09PM -0500, John Coggeshall wrote : Well, Personally I don't have any problem with introducing C++ into PHP so no argument there from me. I'm curious if using C++ as opposed to C would cause a performace hit? It's not about performance but about an PHP