Re: [PHP-DEV] What headers/libs does Win32 Snaps build use?

2003-01-03 Thread Sebastian Bergmann
Michael Sisolak wrote: > As I was looking into my build of Win32 failing becuase it tried to > link to a non-existant zlib.lib (the win32build.zip version is called > zlibstat.lib), it occured to me that everything does build fine on the > snapshot machine. Check out the zlib CVS module and plac

[PHP-DEV] What headers/libs does Win32 Snaps build use?

2003-01-03 Thread Michael Sisolak
As I was looking into my build of Win32 failing becuase it tried to link to a non-existant zlib.lib (the win32build.zip version is called zlibstat.lib), it occured to me that everything does build fine on the snapshot machine. All the extensions build also (like gd or openssl) that require externa

Re: [PHP-DEV] Another question on PHP building on Linux.

2003-01-03 Thread Jean-Michel Dault
Le jeu 02/01/2003 à 10:35, Ananth Kesari a écrit : > When building for Apache, we don't get, on Linux, the core PHP part as > a separate binary from the Apache module. This is what the hacked up > build scripts produced. Thus, instead of having a single core part which > can be used by Apache 1.3 m

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2003-01-03 Thread Jean-Michel Dault
Hello all, Sorry to re-activate this topic, but I stumbled into an issue when packaging PHP 4.3 as an RPM for Mandrake. What happens when a user wants to install *both* php-cli and php-cgi? You cannot have two files with the same name, either in the same RPM, or in two different RPMS... This is

Re: [PHP-DEV] Typo in sapi/apache/php_apache.c

2003-01-03 Thread Derick Rethans
On Fri, 3 Jan 2003, Joseph Tate wrote: > Here's a patch. It's in both the 4.3 and head branches. I don't have > sufficient karma to apply the patch. > > > --- php4/sapi/apache/php_apache.c > +++ php4/sapi/apache/php_apache.c > @@ -115,7 +117,7 @@ > ap_child_terminate( ((request_rec *)S

Re: [PHP-DEV] fix for servlet extension make failure

2003-01-03 Thread Jari Lehtonen
On Fri 3. Jan 2003 17:06 +0100 Giuseppe Tanzilli - CSF <[EMAIL PROTECTED]> wrote: > My dev system is based on: Redhat8/sun jdk 1.4.1/tomcat 4.1.18 > > I cannot get it compile, but fixed this looking to php4.2.3 :-)) > I attached the patch, that make it compile. I can verify that Makefile entrie

[PHP-DEV] Typo in sapi/apache/php_apache.c

2003-01-03 Thread Joseph Tate
Here's a patch. It's in both the 4.3 and head branches. I don't have sufficient karma to apply the patch. --- php4/sapi/apache/php_apache.c +++ php4/sapi/apache/php_apache.c @@ -115,7 +117,7 @@ ap_child_terminate( ((request_rec *)SG(server_context)) ); RETURN_TRUE; } else {

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

2003-01-03 Thread Joseph Tate
I think you (Sascha) need to provide a proper example of how to do it "properly". It's insufficient to just say "Don't do that". At least point to a place in the code where it is done properly. These changes are needed by the developer, and the developer will use them whether they're in the code

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

2003-01-03 Thread Sascha Schumann
On Fri, 3 Jan 2003, Anantha Kesari H Y wrote: > hyanantha Fri Jan 3 10:59:02 2003 EDT > > Modified files: > /php4/sapi/apache2filter php_apache.h sapi_apache2.c > Log: > Modifications for NetWare. I need to say it again. These modifications are *extremely* ugly.

[PHP-DEV] Re: CVS Account Request: kevinkee

2003-01-03 Thread Tularis
Kevin Kee wrote: Applying to have CVS access to phpdoc -> Chinese As a web developer, I owe a great deal to PHP documentation on day to day basis. However, I do not understand why the Chinese version(s) of documentation is not available, or incomplete. I would like to contribute to the Chinese PH

[PHP-DEV] CVS Account Request: kevinkee

2003-01-03 Thread Kevin Kee
Applying to have CVS access to phpdoc -> Chinese As a web developer, I owe a great deal to PHP documentation on day to day basis. However, I do not understand why the Chinese version(s) of documentation is not available, or incomplete. I would like to contribute to the Chinese PHP user communi

[PHP-DEV] RSS-News

2003-01-03 Thread Tobias Schlitt
Hi y'all! I wanted to distribute actual PHP-news mixed up with news from heise.de and some other locations. The problem is, that the PHP-RSS do not provide any kind of publication date for the news. Is it possible to add theese dates to the news? I think some other people will be happy about t

Re: [PHP-DEV] UNIX file command

2003-01-03 Thread Ilia A.
On January 3, 2003 12:18 pm, Michael Montero wrote: > Is there a built in function in PHP that mimicks the UNIX file command? > For instance, I run : > > file blah.jpg > > and I get this: > > blah.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), 72 x 72 For identifying images there is a

[PHP-DEV] UNIX file command

2003-01-03 Thread Michael Montero
Is there a built in function in PHP that mimicks the UNIX file command? For instance, I run : file blah.jpg and I get this: blah.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), 72 x 72 I suspect this isn't worth its own module...perhaps it is. Can someone suggest where I might a

RE: [PHP-DEV] ZE2 + php 4.4.0

2003-01-03 Thread Mike Robinson
Tularis wrote: > > btw, has anyone tested this combo with mysql 4 yet? Yup, mysql-4.0.7-gamma. Works fine for me, except phpMyAdmin has some minir problems that I haven't bothered tracking down yet. Regards Mike Robinson -- PHP Development Mailing List To unsubscribe, vi

Re: [PHP-DEV] Patch for #21309 - memory + php_error_docref.

2003-01-03 Thread Ilia A.
I've already sent Stefan a patch for this problems as well as other issues in the ftp extension. Ilia On January 2, 2003 08:29 pm, [EMAIL PROTECTED] wrote: > Hello, > >Even if this bug was assigned to sesser, this is a patch that fix > the memory managment and that removes perror and rep

Re: [PHP-DEV] new database extension

2003-01-03 Thread Andrey Hristov
Hi Jacob, If you are totally new the the PHP extensions find one or two that are small but descriptive. Read this : http://pres.derickrethans.nl/ze-ext , as well the docs for developers on php.net Andrey - Original Message - From: "Chandler, Jacob R" <[EMAIL PROTECTED]> To: <[EMAIL PRO

[PHP-DEV] fix for servlet extension make failure

2003-01-03 Thread Giuseppe Tanzilli - CSF
ciao, this is my first post to the list, so please excuse me if I'm wrong I'm tryng to use the servlet extension, but it seems to be broken in 4.3 and last 4.4 snapshots (in php-4.2.3 build correctly but get the same problem). My dev system is based on: Redhat8/sun jdk 1.4.1/tomcat 4.1.18 I

Re: [PHP-DEV] new database extension

2003-01-03 Thread Rasmus Lerdorf
All the extensions are under ext/ Those two specifically are ext/pgsql and ext/oci8 On Fri, 3 Jan 2003, Chandler, Jacob R wrote: > I want to write a new extension specific to the MIMER database > (www.mimer.com). This will be similar to the extensions for PostgreSQL, > Oracle, etc. and will allo

[PHP-DEV] new database extension

2003-01-03 Thread Chandler, Jacob R
I want to write a new extension specific to the MIMER database (www.mimer.com). This will be similar to the extensions for PostgreSQL, Oracle, etc. and will allow native connection as an option instead of using ODBC. However, I'm not exactly sure where to start and wanted to look at those specific

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

2003-01-03 Thread Andrei Zmievski
On Fri, 03 Jan 2003, Moriyoshi Koizumi wrote: > moriyoshi Fri Jan 3 00:14:34 2003 EDT > > Modified files: > /php4/ext/iconv iconv.c > Log: > MFB: fixed shift-out sequence unawareness issue Please, fix stuff in HEAD and *then* merge into the branch. -Andrei

Re: [PHP-DEV] emalloc() troubles

2003-01-03 Thread Paul Gregg
In mail.php.internals, Ari Pollak <[EMAIL PROTECTED]> wrote: > Hi there, I'm trying to hack mail.c to automatically pass a -f argument > to qmail with a return address, so that the Return-path of the message > is not always root@blah. Anyway, I seem to have been successful in this > endeavor, bu

Re: [PHP-DEV] Re: PHP5/ZE2: variables definition, constant variables

2003-01-03 Thread Andrey Hristov
Hi, To rephrase Zeev : "Use error_reporting(E_ALL)" Once you start using it most of the errors from undefined variables will go to oblivion. Your example is too fictional errors like $$var_name or $foo->$mCount are easy to find with the method above. Andrey - Original Message - From:

[PHP-DEV] Re: PHP5/ZE2: variables definition, constant variables

2003-01-03 Thread Victor Toni
> > What I do not like about PHP variables, is that they do not have to be > > defined before use. > > Well, this definately is plainly a choice. One of PHP's "goals" is to be > very easy to learn. Many people programming PHP have never ever programmed > before. For them, it is VERY easy to learn,

[PHP-DEV] Re: [PHP-WIN] PHP 4.3.0 no gif support?

2003-01-03 Thread Rasmus Lerdorf
Hrm.. Whoever built the Windows binary didn't define HAVE_GD_GIF_READ I guess. Or perhaps it should go into main/config.w32.h.in assuming we are always going to build the windows binary against the bundled gd library. -Rasmus On Fri, 3 Jan 2003, Zac Barton wrote: > hi all, i thought php 4.3 wa

Re: [PHP-DEV] ZE2 + php 4.4.0

2003-01-03 Thread Tularis
lol, well, I'm still isolating the exact cause, but it breaks with the xmb 1.8 script (1.6 too) not that that will mean anything to you, hehe... gonna take out a lot of the features to find out what it is exactly that is broken =\ btw, has anyone tested this combo with mysql 4 yet? Deric

Re: [PHP-DEV] ZE2 + php 4.4.0

2003-01-03 Thread Derick Rethans
On Fri, 3 Jan 2003, Tularis wrote: > would this combination be considered 'stable enough' to use (win32) in a > small test environement? Or should I just use ZE1 + php4.3 Yeah, it's cool for a test environment. It might break some OO scripts, but it's a good thing to know in which conditions th

Re: [PHP-DEV] ZE2 + php 4.4.0

2003-01-03 Thread Rasmus Lerdorf
If it was stable we would release it. So no, stick with the released code. -Rasmus On Fri, 3 Jan 2003, Tularis wrote: > would this combination be considered 'stable enough' to use (win32) in a > small test environement? Or should I just use ZE1 + php4.3 > > > -- > PHP Development Mailing List <

[PHP-DEV] ZE2 + php 4.4.0

2003-01-03 Thread Tularis
would this combination be considered 'stable enough' to use (win32) in a small test environement? Or should I just use ZE1 + php4.3 -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] HEAD with ZE2 fails.

2003-01-03 Thread Derick Rethans
On Fri, 3 Jan 2003, Magnus [ISO-8859-1] Määttä wrote: > > > > I have probably forgot to do something silly.. But here's > > > > the failure anyway. > > > > > > Which version of bison do you use? > > > > > > > 1.75 > > err 1.35 There is your problem I guess :) Upgrade to 1.75 and you should be

Re: [PHP-DEV] HEAD with ZE2 fails.

2003-01-03 Thread Magnus Määttä
On Fri, 3 Jan 2003 14:06:24 +0100 Magnus Määttä <[EMAIL PROTECTED]> wrote: > On Fri, 3 Jan 2003 13:50:45 +0100 (CET) > Derick Rethans <[EMAIL PROTECTED]> wrote: > > > On Fri, 3 Jan 2003, Magnus [ISO-8859-1] Määttä wrote: > > > > > Hi! > > > > > > I have probably forgot to do something silly.. B

Re: [PHP-DEV] HEAD with ZE2 fails.

2003-01-03 Thread Magnus Määttä
On Fri, 3 Jan 2003 13:50:45 +0100 (CET) Derick Rethans <[EMAIL PROTECTED]> wrote: > On Fri, 3 Jan 2003, Magnus [ISO-8859-1] Määttä wrote: > > > Hi! > > > > I have probably forgot to do something silly.. But here's > > the failure anyway. > > Which version of bison do you use? > 1.75 > Derick

Re: [PHP-DEV] HEAD with ZE2 fails.

2003-01-03 Thread Derick Rethans
On Fri, 3 Jan 2003, Magnus [ISO-8859-1] Määttä wrote: > Hi! > > I have probably forgot to do something silly.. But here's > the failure anyway. Which version of bison do you use? Derick -- - Derick Rethans

[PHP-DEV] HEAD with ZE2 fails.

2003-01-03 Thread Magnus Määttä
Hi! I have probably forgot to do something silly.. But here's the failure anyway. cc -IZend/ -I/opt/DEV/php/php4/Zend/ -DPHP_ATOM_INC -I/opt/DEV/php/php4/include -I/opt/DEV/php/php4/main -I/opt/DEV/php/php4 -I/opt/DEV/php/php4/Zend -I/opt/DEV/php/php4/ext/xml/expat -I/opt/DEV/php/php4/TSRM

Re: [PHP-DEV] PHP5/ZE2: variables definition, constant variables

2003-01-03 Thread Derick Rethans
On Fri, 3 Jan 2003, Victor Toni wrote: > What I do not like about PHP variables, is that they do not have to be > defined before use. That will not change, no need to waste a thread on it. Derick -- - Derick Rethans

[PHP-DEV] Re: PHP5/ZE2: variables definition, constant variables

2003-01-03 Thread Leon Mergen
"Victor Toni" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > What I do not like about PHP variables, is that they do not have to be > defined before use. Well, this definately is plainly a choice. One of PHP's "goals" is to be very easy to learn. Many people

[PHP-DEV] Re: Maintainer of SNMP module?

2003-01-03 Thread Johann Hanne
Hi Harrie, thanks for the reply. I didn't want critize net-snmp or the PHP SNMP binding. All I want to do is some SNMP programming with PHP, and the points I mentioned *ARE* a problem for me. Just one example: I want to find out what units are present in a 3Com SuperStack II. The first step is

Re: [PHP-DEV] ZE2, Win32, and PHP5

2003-01-03 Thread Stephan Seidt
What about http://snaps.php.net ? Latest php4 version with ZE2 is available there. bye John Coggeshall wrote: Is anyone already building Win32 ZE2/PHP executables? I'm planning on moving all of my development machines over to the ZE2 engine, but I don't have MSVC handy for my Windows box. On th

Re: [PHP-DEV] ZE2, Win32, and PHP5

2003-01-03 Thread Derick Rethans
On Fri, 3 Jan 2003, John Coggeshall wrote: > > Is anyone already building Win32 ZE2/PHP executables? I'm planning on > moving all of my development machines over to the ZE2 engine, but I > don't have MSVC handy for my Windows box. http://ftp.proventum.net/pub/php/win32-snapshots/ze2/ Derick --

Re: [PHP-DEV] ZE2, Win32, and PHP5

2003-01-03 Thread Andrey Hristov
John, i think that on http://snaps.php.net/ there is automatic built packages. Andrey - Original Message - From: "John Coggeshall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 03, 2003 12:44 PM Subject: [PHP-DEV] ZE2, Win32, and PHP5 > > Is anyone already build

[PHP-DEV] ZE2, Win32, and PHP5

2003-01-03 Thread John Coggeshall
Is anyone already building Win32 ZE2/PHP executables? I'm planning on moving all of my development machines over to the ZE2 engine, but I don't have MSVC handy for my Windows box. On that note -- Someone before mentioned that we should start building the source exclusively using ZE2 (for developm

[PHP-DEV] Re: Patch for #21309 - memory + php_error_docref.

2003-01-03 Thread nicos
I fixed the link: http://nicos.worldakt.com/ftp_c.patch -- Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. <[EMAIL PROTECTED]> a écrit dans le message de news: 000f01c2b2c7$860621a0$[EMAIL PROTECTED] > Hello, > >Even if this bug was assigned

Re: [PHP-DEV] Patch for #21309 - memory + php_error_docref.

2003-01-03 Thread nicos
Okay, but can you just copy the file, apply the patch and read it then... To see if i've not forgotten something (even if I worked hard on it). -- Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. "Derick Rethans" <[EMAIL PROTECTED]> a écrit dans le m

Re: [PHP-DEV] Another question on PHP building on Linux.

2003-01-03 Thread Derick Rethans
On Thu, 2 Jan 2003, Ananth Kesari wrote: > We have another question on building PHP on Linux: > > When building for Apache, we don't get, on Linux, the core PHP part as > a separate binary from the Apache module. This is what the hacked up > build scripts produced. Thus, instead of having a singl

Re: [PHP-DEV] Patch for #21309 - memory + php_error_docref.

2003-01-03 Thread Derick Rethans
On Fri, 3 Jan 2003 [EMAIL PROTECTED] wrote: > Hello, > >Even if this bug was assigned to sesser, this is a patch that fix the > memory managment and that removes perror and replace it by > php_error_docref(). + php_error_docref(NULL TSRMLS_CC, E_WARNING, "ftp_open: cannot g