[PHP-DEV] CVS Account Request: doron

2002-05-20 Thread Doron Ben-David
Migration of PHP to Hebrew - included the manual, man files etc... -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Enabling ext/zlib by default

2002-05-20 Thread Sebastian Bergmann
Shane Caraveo wrote: > Hmm, I couldn't make the pear command work on windows until I loaded > the zlib extension. Same here on *NIX when I tried a 'pear package'. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gi

Re: [PHP-DEV] Enabling ext/zlib by default

2002-05-20 Thread Martin Jansen
On 21 May 2002 08:46:54 +0200, Stig S. Bakken wrote: >On Tue, 2002-05-21 at 08:13, Sebastian Bergmann wrote: >> I think we should make '--with-zlib' the default, and add >> '--disable-zlib', for the PHP 4.3.0 release, since the PEAR Installer >> relies on it. > >It's not supposed to, I've a

Re: [PHP-DEV] Enabling ext/zlib by default

2002-05-20 Thread Shane Caraveo
Stig S. Bakken wrote: > On Tue, 2002-05-21 at 08:13, Sebastian Bergmann wrote: > >> I think we should make '--with-zlib' the default, and add >> '--disable-zlib', for the PHP 4.3.0 release, since the PEAR Installer >> relies on it. > > > It's not supposed to, I've added "nocompress" options

Re: [PHP-DEV] Enabling ext/zlib by default

2002-05-20 Thread Stig S. Bakken
On Tue, 2002-05-21 at 08:13, Sebastian Bergmann wrote: > I think we should make '--with-zlib' the default, and add > '--disable-zlib', for the PHP 4.3.0 release, since the PEAR Installer > relies on it. It's not supposed to, I've added "nocompress" options everywhere needed, so it should wo

Re: [PHP-DEV] Enabling ext/zlib by default

2002-05-20 Thread Martin Jansen
On Tue, 21 May 2002 08:13:31 +0200, Sebastian Bergmann wrote: > I think we should make '--with-zlib' the default, and add > '--disable-zlib', for the PHP 4.3.0 release, since the PEAR Installer > relies on it. +1. If we don't do that, the install will not work on a lot of "out of the box" set

Re: [PHP-DEV] PHP linux binary and Super global variables

2002-05-20 Thread Stig S. Bakken
On Tue, 2002-05-21 at 05:16, Ori Staub wrote: > After compiling PHP 4.2.1 as a CGI binary and executing from the command > promot (php -q) I noticed that the new Super Global variables dont work > (in particular I need $_ENV and $_SERVER). > I looked through the manual to find some answers but did

[PHP-DEV] Enabling ext/zlib by default

2002-05-20 Thread Sebastian Bergmann
I think we should make '--with-zlib' the default, and add '--disable-zlib', for the PHP 4.3.0 release, since the PEAR Installer relies on it. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlis

[PHP-DEV] segfault in version_compare

2002-05-20 Thread Rasmus Lerdorf
Stig, I was going to fix this, but then I saw your code... So here you go. "pear install XML_RSS" ends up causing this call: version_compare('', '1.0', 'ge'); This tosses php_version_compare() into an infinite recursive loop eventually ending in a segfault. Now, why exactly php_version_comp

[PHP-DEV] PHP linux binary and Super global variables

2002-05-20 Thread Ori Staub
After compiling PHP 4.2.1 as a CGI binary and executing from the command promot (php -q) I noticed that the new Super Global variables dont work (in particular I need $_ENV and $_SERVER). I looked through the manual to find some answers but didnt. Is this a feature or bug? Ori -- PHP Developme

RE: [PHP-DEV] ActiveScript sapi now in CVS

2002-05-20 Thread Preston L. Bannister
It might be of help when migrating from ASP to PHP. If you can pass values(?) between ASP and PHP then you might be able to convert incrementally from ASP to PHP. For applications that have too much code to convert (and test!) in one release cycle, this could be a significant advantage. You *do

Re: [PHP-DEV] ActiveScript sapi now in CVS

2002-05-20 Thread Michael Dransfield
it would make migration from asp to php easier... sell it to your clients as enhanced asp, then show then the benefits of the php additions thats all i can think of ;) Mike At 20:59 19/05/2002 -0700, Rasmus Lerdorf wrote: >Ok, so that is how it works. Could you talk a little bit about why >an

RE: [PHP-DEV] Tip of the day: embedding php code in scripts

2002-05-20 Thread Stig S. Bakken
Without output buffering, the script would output: exec $0 $@ Hello World! The -q option could be added to make it work with cgi as well as cli, but the point of the output buffering is to kill the line of shell script that PHP would treat as plain text to display. - Stig On Mon, 2002-05-20 a

RE: [PHP-DEV] Tip of the day: embedding php code in scripts

2002-05-20 Thread Stig S. Bakken
On Mon, 2002-05-20 at 19:21, Preston L. Bannister wrote: > From: Stig S. Bakken [mailto:[EMAIL PROTECTED]] > > Did anyone come up with this one before or do I have a "first post"? :-) > > > > #!/bin/sh > > exec php -d output_buffering=1 $0 $@ > > > ob_end_clean(); > > print "Hello World!\n"; > >

RE: [PHP-DEV] Image Alpha Channels

2002-05-20 Thread Mike richardson
Thanks so much for your time sir! I wasn't expecting an answer from such a prestigious source :) I spent almost 3 hours searching for this answer, and (being a fair programmer) I was fairly frustrated that I couldn't find an article on it by searching google or the common php websites FAQ/Forums

Re: [PHP-DEV] Image Alpha Channels

2002-05-20 Thread Rasmus Lerdorf
Read this slide: http://conf.php.net/pres/slides/intro/image_colors4.php On Mon, 20 May 2002, Mike richardson wrote: > > Thanks, in advance. > > PHP's new image functions contain alpha transparency. > > How does one go about setting a color which has a transparent quality? > > For instance.. I w

[PHP-DEV] Image Alpha Channels

2002-05-20 Thread Mike richardson
Thanks, in advance. PHP's new image functions contain alpha transparency. How does one go about setting a color which has a transparent quality? For instance.. I would like to create two rectangles. one black, one grey, on a white background. I would like the grey one to be on top, and be 50%

Re: [PHP-DEV] ticks - broken in win32?

2002-05-20 Thread Wez Furlong
But no segfault? I'll have to dig a bit deeper. --Wez. On 20/05/02, "Frank M. Kromann" <[EMAIL PROTECTED]> wrote: > I get > > Notice: Undefined index: tick in ticks.php on line 4 > > - Frank > > > Can anyone else reproduce this? > > > > > function tickit() > > { > >$GLOBALS["tick"]++;

Re: [PHP-DEV] ticks - broken in win32?

2002-05-20 Thread Frank M. Kromann
I get Notice: Undefined index: tick in ticks.php on line 4 - Frank > Can anyone else reproduce this? > > function tickit() > { >$GLOBALS["tick"]++; > } > > register_tick_function("tickit"); > > declare(ticks=2) { > $a = 1; > $b = 2; > $c = 3; > } > ?> > > I get a segfault

Re: RE: [PHP-DEV] Command line compilation under win32

2002-05-20 Thread Bruce Miller
Frank, I would be interested in the scripts. I have a client that wants everything encrypted before it's saved to the database, so I need to create an extension dll with a method that will encrypt (I can't put the method in the PHP where everyone can see it). Do you know of any other creative ways

[PHP-DEV] CVS Account Request: k.schroeder

2002-05-20 Thread Kai Schröder
translating manual to german -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] some BEGIN_EXTERN_C for Zend Engine

2002-05-20 Thread Rasmus Lerdorf
What patch? On Mon, 20 May 2002, Wez Furlong wrote: > Can someone with karma for the ZE please apply this patch? > You'll need it if you want to play with the activescript sapi. > > Thanks! > > --Wez. > > -- PHP Development Mailing List To unsubscribe, visit: http://www.

Re: [PHP-DEV] ActiveScript sapi now in CVS

2002-05-20 Thread Rasmus Lerdorf
Ok, so that is how it works. Could you talk a little bit about why anybody would want to do this? On Mon, 20 May 2002, Wez Furlong wrote: > Well, I've added the new activescript sapi to CVS; it's still experimental, > but it should work for quite a few uses. > > I've tested it with IE using syn

Re: [PHP-DEV] Bidirectional Pipe

2002-05-20 Thread Rasmus Lerdorf
http://php.net/proc_open On 20 May 2002, Kim Saunders wrote: > Hi All, > > I'm writing something in PHP at the moment, and I *really* need > bi-directional pipe support, a la IPC::Open2 in Perl. > > IPC::Open2 works by returning two filehandles to the command to be run, > one which can be writte

RE: [PHP-DEV] Tip of the day: embedding php code in scripts

2002-05-20 Thread Dan Hardiker
Im unsure of the need for output_buffering... if its to kill the headers, then "php -q" will suppress those. In any case, I believe the Stig is asking if anyone has thought of embedding php scripts inside typical /bin/sh shell scripts. EG: #!/bin/sh //- script stuff here -\\ exec /usr/local/bin/ph

RE: [PHP-DEV] Tip of the day: embedding php code in scripts

2002-05-20 Thread Preston L. Bannister
From: Stig S. Bakken [mailto:[EMAIL PROTECTED]] > Did anyone come up with this one before or do I have a "first post"? :-) > > #!/bin/sh > exec php -d output_buffering=1 $0 $@ > ob_end_clean(); > print "Hello World!\n"; > ?> Or the shorter (and faster) version: #!/usr/local/bin/php -d output_b

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard filestat.c

2002-05-20 Thread Markus Fischer
Hi, I just want to bring this to everyones attention that this affects quite some functions (fileperms, fileinode, filesize, fileowner, blabla, just do a grep FileFunction filestat.c in ext/standard). Maybe I missed a reason why this was never done? - Markus On Mon,

[PHP-DEV] Re: Bidirectional Pipe

2002-05-20 Thread Jim Winstead
Kim Saunders <[EMAIL PROTECTED]> wrote: > * am I correct that there isn't a way to do this in PHP at the moment? nope. http://php.net/proc_open jim -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] FYI: mbstring module

2002-05-20 Thread Yasuo Ohgaki
Hi all, If you are planning to modify mbstring module, please have a look at http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/php-i18n/ before wirting. (Sorry web site is in Japanese) mbstring module is going to be modified a lot and patch to current mbstrng can be lost. Please let us know if yo

[PHP-DEV] Serial Extensions

2002-05-20 Thread Mike Hall
Is there a PHP extension for communicating with serial ports? If not, would there be interest in one should I develop it? --Mike -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Threaded PHP scripts

2002-05-20 Thread Wez Furlong
Hi Topi, I've recently been dealing with some threading issues with PHP/ZE. PHP keeps state in thread-local variables which are a implemented as a globally visible table, indexed by a thread identifier. All thread-safe PHP and Zend API functions pass around a pointer to the thread local storage

[PHP-DEV] Tip of the day: embedding php code in scripts

2002-05-20 Thread Stig S. Bakken
Did anyone come up with this one before or do I have a "first post"? :-) #!/bin/sh exec php -d output_buffering=1 $0 $@ - Stig -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Bidirectional Pipe

2002-05-20 Thread Wez Furlong
Hey Kim, Take a look at proc_open(); it's in CVS versions only at the moment, but will be in PHP 4.3 when it's released. Docs are in the online manual. --Wez. On 20/05/02, "Kim Saunders" <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm writing something in PHP at the moment, and I *really* need >