Re: [PHP-DEV] Extension news: cryptopp

2002-05-02 Thread derick
Hello, I read some of the documentation, and noticed that this API seems to be very usable for an abstraction to multiple encryption libraries. It even looks a lot like the API I had in mind for the revamped mcrypt extension. Would you be interested in figuring the best way to do it, so that w

RE: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Pierre-Alain Joye
> Seriously, being able to include other ini files is a great feature, > especially for hosters who will then be able to set up site-wide config > files that are included from per-vhost config files, etc. You can have > your cake and eat it too. Sure :). A way to make this functionnality on other

Re: [PHP-DEV] PHP 4.3 charter and release plan

2002-05-02 Thread Sebastian Bergmann
"Stig S. Bakken" wrote: > 5. MySQL changes (Zak) BTW, what's the status of the libmysql & ext/mysql update? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Dev

[PHP-DEV] PHP 4.3 charter and release plan

2002-05-02 Thread Stig S. Bakken
Hi, I've volunteered to RM (release master, not /bin/rm) PHP 4.3. This release will be synchronized with the public release of the PEAR (including PECL) infrastructure. This time I'd like to try partitioning the work a bit by identifying the major changes and have one person sign up as responsi

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Markus Fischer
Hi, but including other INI files at this stage is only of real advantage if we can also conditionally include it, no? Like, depending on the version too. How about looking for the version number in the filename too first, e.g.: php-apache-4.2.1.ini php-a

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Stig S. Bakken
On Thu, 2002-05-02 at 21:18, Shane Caraveo wrote: > Zeev Suraski wrote: > > Does anybody have an opinion about this? > > Of course! ;) > > ini search order > 1. PHP_BIN_DIR (\php\) > 2. OS_DIR (\winnt\) > > To fix the ini issue we need more than just this. The best I can come > up with right

Re: [PHP-DEV] Can't start PHP 4.2.0 and 4.1.2 with mysql and recode extensions enabled

2002-05-02 Thread Markus Fischer
Hi, this mystery we have yet to resolve. - Markus On Thu, May 02, 2002 at 08:31:02PM +, Alexander Skwar wrote : > »Markus Fischer« sagte am 2002-05-02 um 22:08:28 +0200 : > > Hi, > > > > sorry this should read "That's a known issue." ... > > Hm, "fine". However, why

RE: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Stig S. Bakken
On Thu, 2002-05-02 at 19:07, Preston L. Bannister wrote: > From: Andi Gutmans [mailto:[EMAIL PROTECTED]] > > > > At 14:44 02/05/2002 +0300, Zeev Suraski wrote: > > >At 14:00 02/05/2002, [EMAIL PROTECTED] wrote: > > >>On Thu, 2 May 2002, Zeev Suraski wrote: > > >> > > >> > At 13:36 02/05/2002, [EM

RE: [PHP-DEV] A better strlcat()

2002-05-02 Thread Zeev Suraski
At 03:58 03/05/2002, Preston L. Bannister wrote: >Heh - there's a question :). > >Looking at the two implementations, which do you think you better >understand (with complete certainty), and which would you be willing >to (say) bet your life on? Are you implying that cryptic pointer arithmetic is

RE: [PHP-DEV] A better strlcat()

2002-05-02 Thread Preston L. Bannister
Heh - there's a question :). Looking at the two implementations, which do you think you better understand (with complete certainty), and which would you be willing to (say) bet your life on? Personally I'm *almost* certain I know what the first does :). I would not want to bet it is bug-free. I

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Shane Caraveo
Zeev Suraski wrote: > On Thu, 2 May 2002, Shane Caraveo wrote: > > >>#4 is realy needed for systems running virtual servers under IIS. While >>you can configure ini in the registry, it's a pain, especially if you >>want to give users access to edit their own ini file, or you want >>different

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Zeev Suraski
On Thu, 2 May 2002, Shane Caraveo wrote: > #4 is realy needed for systems running virtual servers under IIS. While > you can configure ini in the registry, it's a pain, especially if you > want to give users access to edit their own ini file, or you want > different extensions loaded for diff

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Andi Gutmans
At 13:14 02/05/2002 -0700, Shane Caraveo wrote: >Andi Gutmans wrote: > > Isn't this all a bit of an overkill? > > > > Andi > >#5 probably is, it's a nicety, but I think the other items are relatively >necessary unless you are dependent entirely on Apache, which provides >extensive configurabilit

Re: [PHP-DEV] Can't start PHP 4.2.0 and 4.1.2 with mysql and recode extensions enabled

2002-05-02 Thread Alexander Skwar
»Markus Fischer« sagte am 2002-05-02 um 22:08:28 +0200 : > Hi, > > sorry this should read "That's a known issue." ... Hm, "fine". However, why am I able to use both recode.so and mysql.so when I first enable recode.so and only afterwards mysql.so? Alexander Skwar -- How to quote: ht

[PHP-DEV] Extension news: cryptopp

2002-05-02 Thread J Smith
Just thought I'd give an update about the current status of the Crypto++ extension for PHP I've been working on the past month or two, called simply cryptopp. The extension is coming along rather nicely and is stablizing towards a solid release. I'd still consider the current releases of beta

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Shane Caraveo
Andi Gutmans wrote: > Isn't this all a bit of an overkill? > > Andi #5 probably is, it's a nicety, but I think the other items are relatively necessary unless you are dependent entirely on Apache, which provides extensive configurability. #1 would allow scripts that only are used on 'comman

Re: [PHP-DEV] Can't start PHP 4.2.0 and 4.1.2 with mysql and recode extensions enabled

2002-05-02 Thread Markus Fischer
Hi, sorry this should read "That's a known issue." ... - Markus On Thu, May 02, 2002 at 10:03:15PM +0200, Markus Fischer wrote : > Hi, > > that's a new issue. Both have external libraries which both > have a symbol with the same name. It's up to the library > autho

Re: [PHP-DEV] Can't start PHP 4.2.0 and 4.1.2 with mysql and recode extensions enabled

2002-05-02 Thread Markus Fischer
Hi, that's a new issue. Both have external libraries which both have a symbol with the same name. It's up to the library authors to change their symbol names to something more useful then right now. There are other gotchas to which Jani spotted lately (means: there's also

[PHP-DEV] Can't start PHP 4.2.0 and 4.1.2 with mysql and recode extensions enabled

2002-05-02 Thread Alexander Skwar
Hi! I'm using PHP 4.2.0 on MandrakeLinux Cooker (post 8.2). When I use the RPM of PHP 4.2.0 which is compiled like so: %define external_modules bcmath bz2 calendar curl dba_bundle dbx dbase exif filepro ftp gd gettext gmp imap ldap libphp_java mcrypt mhash ming mysql odbc pdf pgsql posix readli

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Andi Gutmans
Isn't this all a bit of an overkill? Andi At 12:18 02/05/2002 -0700, Shane Caraveo wrote: >Zeev Suraski wrote: >>Does anybody have an opinion about this? > >Of course! ;) > >ini search order >1. PHP_BIN_DIR (\php\) >2. OS_DIR (\winnt\) > >To fix the ini issue we need more than just this. The be

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Shane Caraveo
Zeev Suraski wrote: > Does anybody have an opinion about this? Of course! ;) ini search order 1. PHP_BIN_DIR (\php\) 2. OS_DIR (\winnt\) To fix the ini issue we need more than just this. The best I can come up with right now is: 1. implement bang line parsing. This way, a specific script ca

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Shane Caraveo
Preston L. Bannister wrote: > From: Andi Gutmans [mailto:[EMAIL PROTECTED]] > >>At 14:44 02/05/2002 +0300, Zeev Suraski wrote: >> >>>At 14:00 02/05/2002, [EMAIL PROTECTED] wrote: >>> On Thu, 2 May 2002, Zeev Suraski wrote: >At 13:36 02/05/2002, [EMAIL PROTECTED] wrote: > >>>

[PHP-DEV] Re: A better strlcat()

2002-05-02 Thread Sascha Schumann
Note that the functions do not behave equally, because xxx_strlcat does a plain strlen() whereas php_strlcat uses strnlen(), i.e. it always catches the n1 >= nMax situation, even in release mode. I'd prefer slow strl* functions, because they remind people of avoiding them

Re: [PHP-DEV] A better strlcat()

2002-05-02 Thread Andi Gutmans
Are you sure it behaves *exactly* like the existing one? I stole the implementation from OpenBSD so it might be a good idea for you to send it to them. They are the best to shed light on this and see if it's exactly the same and faster. Andi At 09:00 02/05/2002 -0700, Preston L. Bannister wrot

RE: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Preston L. Bannister
From: Andi Gutmans [mailto:[EMAIL PROTECTED]] > > At 14:44 02/05/2002 +0300, Zeev Suraski wrote: > >At 14:00 02/05/2002, [EMAIL PROTECTED] wrote: > >>On Thu, 2 May 2002, Zeev Suraski wrote: > >> > >> > At 13:36 02/05/2002, [EMAIL PROTECTED] wrote: > >> > >Some hosters use this feature to have dif

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Andi Gutmans
At 14:44 02/05/2002 +0300, Zeev Suraski wrote: >At 14:00 02/05/2002, [EMAIL PROTECTED] wrote: >>On Thu, 2 May 2002, Zeev Suraski wrote: >> >> > At 13:36 02/05/2002, [EMAIL PROTECTED] wrote: >> > >Some hosters use this feature to have different settigns for different >> > >customers... >> > >> > Do

RE: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Preston L. Bannister
From: Zeev Suraski [mailto:[EMAIL PROTECTED]] > > At 15:09 02/05/2002, [EMAIL PROTECTED] wrote: > > > Ok then, perhaps we should have an .ini setting for it? :) > > > >So you want to add an .ini setting where the .ini file could be found? > >That just doesn't make sense to me :) > > That was a j

[PHP-DEV] A better strlcat()

2002-05-02 Thread Preston L. Bannister
Was looking at the strlcat() implementation in the PHP source and saw that it does not take advantage of history :). Look at xxx_strlcat() in the following example. You are almost always better off using the compiler's built-in string functions, due to the optimizations built-in (many years ago

RE: [PHP-DEV] Win32: config.w32.h.in -> config.w32.h

2002-05-02 Thread Preston L. Bannister
From: Sebastian Bergmann [mailto:[EMAIL PROTECTED]] > I now changed the MSVC project files in order to generate config.w32.h > from config.w32.h.in during the build, if config.w32.h does not already > exist. > > However, as I of course found out only after committing, MSVC deletes > con

[PHP-DEV] Re: news.php.net rss requires encoding type, doesnt parse as XML in IE

2002-05-02 Thread Gabor Hojtsy
> An invalid character was found in text content. Error processing > resource 'http://news.php.net/group.php?group=php.general&format=rss'. Line > 95, Position 78 > > with line 95 being > > José_león_serna > > Its the accent on the e and o's

Re: [PHP-DEV] Re: Xdebug extension availability

2002-05-02 Thread Sebastian Bergmann
Zeev Suraski wrote: > ZE2 is going to have these features built-in in a way that would have > no performance impact. I forgot. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergm

Re: [PHP-DEV] Re: Xdebug extension availability

2002-05-02 Thread Zeev Suraski
Because it's not efficient enough... ZE2 is going to have these features built-in in a way that would have no performance impact. Zeev At 14:38 02/05/2002, Sebastian Bergmann wrote: >[EMAIL PROTECTED] wrote: > > Yeah, I know... but it doesn't belong in ext/ because it's a > > Zend_extension. PE

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Zeev Suraski
At 15:09 02/05/2002, [EMAIL PROTECTED] wrote: > > Ok then, perhaps we should have an .ini setting for it? :) > >So you want to add an .ini setting where the .ini file could be found? >That just doesn't make sense to me :) That was a joke.. > > The only two options I see, in that case are: > > >

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Wez Furlong
I'm in favour of looking for php.ini in the same dir as the executeable module - as in the path part of GetModuleFileName(), so it will work for DLL as well as EXE versions. I'm a bit dubious of using the registry for configuring PHP, particularly when multiple installations/versions are present;

Re: [PHP-DEV] Re: Xdebug extension availability

2002-05-02 Thread Sebastian Bergmann
[EMAIL PROTECTED] wrote: > Yeah, I know... but it doesn't belong in ext/ because it's a > Zend_extension. PECL would be the place as soon as it stabilized. Why do this as an extension anyhow? Why not put it directly into Zend? -- Sebastian Bergmann http://sebastian-bergmann.de/

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread derick
On Thu, 2 May 2002, Zeev Suraski wrote: > At 14:00 02/05/2002, [EMAIL PROTECTED] wrote: > >On Thu, 2 May 2002, Zeev Suraski wrote: > > > > > At 13:36 02/05/2002, [EMAIL PROTECTED] wrote: > > > >Some hosters use this feature to have different settigns for different > > > >customers... > > > > > >

RE: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Pierre-Alain Joye
> At the risk of getting toasted out of the water... do any serious hosters > use a Win32 enviroment to host on? (who would utilise this way of setting > different settings for different clients) Intranet applications using (d)com, mssql run on win NT/2K. > Are there any poll's we could referenc

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Zeev Suraski
We're not necessarily talking about Win32... Zeev At 14:02 02/05/2002, Dan Hardiker wrote: >At the risk of getting toasted out of the water... do any serious hosters >use a Win32 enviroment to host on? (who would utilise this way of setting >different settings for different clients) > >Are there

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Zeev Suraski
At 14:00 02/05/2002, [EMAIL PROTECTED] wrote: >On Thu, 2 May 2002, Zeev Suraski wrote: > > > At 13:36 02/05/2002, [EMAIL PROTECTED] wrote: > > >Some hosters use this feature to have different settigns for different > > >customers... > > > > Do you know this for a fact, or is this an estimate? > >T

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Dan Hardiker
At the risk of getting toasted out of the water... do any serious hosters use a Win32 enviroment to host on? (who would utilise this way of setting different settings for different clients) Are there any poll's we could reference against of PHP users (on Win32 enviroments) and what they use it fo

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread derick
On Thu, 2 May 2002, Zeev Suraski wrote: > At 13:36 02/05/2002, [EMAIL PROTECTED] wrote: > >Some hosters use this feature to have different settigns for different > >customers... > > Do you know this for a fact, or is this an estimate? This is a fact, some hoster here in .nl uses it. Derick --

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Zeev Suraski
At 13:36 02/05/2002, [EMAIL PROTECTED] wrote: >Some hosters use this feature to have different settigns for different >customers... Do you know this for a fact, or is this an estimate? Zeev -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP-DEV] How to use PHP (libphp4) from my own web-server (notapache) ?

2002-05-02 Thread derick
On Thu, 2 May 2002, Serguei I. Ivantsov wrote: > Hello! > > How can I use the features of PHP from my own web-server (not apache). > Maybe libphp4 ? - is there examples? You need to write a sapi module, you can find examples in php4/sapi/ Derick ---

[PHP-DEV] How to use PHP (libphp4) from my own web-server (not apache) ?

2002-05-02 Thread Serguei I. Ivantsov
Hello! How can I use the features of PHP from my own web-server (not apache). Maybe libphp4 ? - is there examples? -- Regards, ManOwaR -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread derick
On Thu, 2 May 2002, Zeev Suraski wrote: > Does anybody have an opinion about this? > If we go for that solution, should we remove the CWD lookup? My personal > belief is that we should, but it may have to do with my perception of what > this feature is useful for. Other people may be using th

Re: [PHP-DEV] config.w32.h...registry configuration

2002-05-02 Thread Zeev Suraski
Does anybody have an opinion about this? If we go for that solution, should we remove the CWD lookup? My personal belief is that we should, but it may have to do with my perception of what this feature is useful for. Other people may be using the CWD lookup for different things. (Note: it's

[PHP-DEV] Win32: config.w32.h.in -> config.w32.h

2002-05-02 Thread Sebastian Bergmann
I now changed the MSVC project files in order to generate config.w32.h from config.w32.h.in during the build, if config.w32.h does not already exist. However, as I of course found out only after committing, MSVC deletes config.w32.h when doing a /REBUILD, so this is a bit pointless.

RE: [PHP-DEV] feature proposal: string types (complete with

2002-05-02 Thread Dan Hardiker
Would the be room for compromise then? A flux state where additional types could be defined on the fly? eg: currently you can type cast to a string, integer, boolean etc. Why not add the ability to define an extra type and then cast to it. Then there is the option / flexability there, but not th

RE: [PHP-DEV] feature proposal: string types (complete with a patch)

2002-05-02 Thread Ford, Mike [LSS]
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 02 May 2002 05:19 > > I propose a feature that I call "string types". -maxint. A string is a string is a string. It's up to the script to know what it's being used for and what state it's in. This has t

[PHP-DEV] news.php.net rss requires encoding type, doesnt parse as XML in IE

2002-05-02 Thread Dan Hardiker
Hi All, If you goto the following url [ http://news.php.net/group.php? group=php.general&format=rss ] in IE you'll get the error: An invalid character was found in text content. Error processing resource 'http://news.php.net/group.php?group=php.general&format=rss'. Line 95, Position 78 with l

RE: [PHP-DEV] feature proposal: string types (complete with a patch)

2002-05-02 Thread James Cox
> IMO we should not consider this if it impacts performance even 10% (this > is an arbitrary number. One of the strengths is the speed and I > don't want > to lose this. > agreed; php needs not to add any perf hits > 1% without undeniable benefit. > Looks perlish to me, I'd rather see a casting t