[PHP-DEV] Documentation for How to write php extensions

2001-08-08 Thread Shao Zhang
Hi, Where can I find the latest documentation on how to write php extensions? The only documentation I found is: http://www.zend.com/zend/api.php But the api documentation is outdated. Thanks for your help very much. Regards, Shao. -- Shao Zhang Tel: (02) 9209 4838

[PHP-DEV] Bug #12642 Updated: Loading php_oci8 fails

2001-08-08 Thread cynic
ID: 12642 Updated by: cynic Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: OCI8 related Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: I'm sorry to say this, but if the dll is there as you say it is, and you still get that message, then that means your Oracle install isn'

[PHP-DEV] Apache 2.0.22 / PHP 4.0.7-dev

2001-08-08 Thread Steeg
Hi all, First I'd like to thank Jani for helping me out the last time ;) Now, I don't really know if it's an apache bug or php bug, but I can't get a hold of any Apache environment varibles like remote host, post variables from a form and so on. GET works fine, but none of the others... Could

[PHP-DEV] Bug #12642 Updated: Loading php_oci8 fails

2001-08-08 Thread Thomas . Seuring
ID: 12642 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: OCI8 related Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: I'm sorry to say this, but I have a complete ORACLE-Installation (Client, Development, Administration), instead other Ap

Re: [PHP-DEV] PHP 4.0.7

2001-08-08 Thread Jani Taskinen
What about HTTP_SESSION_VARS ?? Was it forgotten or is someone going to make it behave the same way too? I did this already..and then I scrapped it 'cause I thought it didn't work..and now I see it did. Unfortunately I already threw those changes away... :( I need to sleep.. --Jani On Wed, 8

[PHP-DEV] Bug #12671: Apache runs and slowly starts to "die".

2001-08-08 Thread cbrittain
From: [EMAIL PROTECTED] Operating system: Redhat 6.2 (Zoot) PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: Apache runs and slowly starts to "die". Running Apache 1.3.20 and PHP 4.0.6 (but the same thing happens on 4.0.4x and 4.0.3x) on a newly insta

[PHP-DEV] PATCH for #12581, #7374: dbase boolean import error (take 2)

2001-08-08 Thread Lawrence E. Widman
I have put the patch for this problem in ext/dbase/dbase.c as diff -u against the CVS of 7 Aug 2001 in http://www.cardiothink.com/downloads/dbase.diff-u.20010806.patch RCS Id line in the ext/dbase/dbase.c file in the CVS copy I used is: /* $Id: dbase.c,v 1.45 2001/08/06 12:26:55 sniper Exp $ */

Re: [PHP-DEV] PHP 4.0.7

2001-08-08 Thread Andi Gutmans
Cool. Andi At 06:25 AM 8/9/2001 +0200, Jani Taskinen wrote: >On Thu, 9 Aug 2001, Andi Gutmans wrote: > > >At 06:10 AM 8/9/2001 +0200, Sascha Schumann wrote: > >>On Wed, 8 Aug 2001, Jason Greene wrote: > >> > >> > If this is done should it occur before or after the branch? > >> > >> It should

Re: [PHP-DEV] PHP 4.0.7

2001-08-08 Thread Jani Taskinen
On Thu, 9 Aug 2001, Andi Gutmans wrote: >At 06:10 AM 8/9/2001 +0200, Sascha Schumann wrote: >>On Wed, 8 Aug 2001, Jason Greene wrote: >> >> > If this is done should it occur before or after the branch? >> >> It should not be done at all. > >So how do you suggest to fix the current problems?

Re: [PHP-DEV] PHP 4.0.7

2001-08-08 Thread Andi Gutmans
At 06:10 AM 8/9/2001 +0200, Sascha Schumann wrote: >On Wed, 8 Aug 2001, Jason Greene wrote: > > > If this is done should it occur before or after the branch? > > It should not be done at all. So how do you suggest to fix the current problems? Andi -- PHP Development Mailing List

Re: [PHP-DEV] PHP 4.0.7

2001-08-08 Thread Sascha Schumann
On Wed, 8 Aug 2001, Jason Greene wrote: > If this is done should it occur before or after the branch? It should not be done at all. - Sascha Experience IRCG http://schumann.cx/http://schumann.cx/ircg -- PHP Development Mailing

[PHP-DEV] Bug #12670 Updated: CGI error

2001-08-08 Thread cynic
ID: 12670 Updated by: cynic Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: PWS related Operating System: Win98 PHP Version: 4.0.6 New Comment: ask support questions in [EMAIL PROTECTED] not a bug Previous Comments: -

[PHP-DEV] Bug #12670: CGI error

2001-08-08 Thread cprenato
From: [EMAIL PROTECTED] Operating system: Win98 PHP version: 4.0.6 PHP Bug Type: PWS related Bug description: CGI error Hi folks, After install PHP when I try to open in a URL the address: http://casa/IISSamples/Default/exemplo.php I receive the following error: Erro

Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-08 Thread Jani Taskinen
Well, the latest CVS only supports these: libtool 1.4 autoconf 2.13 automake 1.4 I think you only need to downgrade autoconf. --Jani On Thu, 9 Aug 2001, Anders Johannsen wrote: >I'am experiencing problems building PHP from the latest cvs. The errors >occur when running 'buildconf'. The box i

[PHP-DEV] Bug #12669: Utterly Global Variables - What Zeev was talkin about

2001-08-08 Thread btanner
From: [EMAIL PROTECTED] Operating system: All PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: Utterly Global Variables - What Zeev was talkin about "The new variables are auto-globals - they're available in all function contexts" - Zeev How hard w

[PHP-DEV] Bug #12666 Updated: undefined symbol: mxdriver when I start apache

2001-08-08 Thread sniper
ID: 12666 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Old Bug Type: *Compile Issues Bug Type: IMAP related Operating System: Red Hat 7.1 PHP Version: 4.0.6 New Comment: This should be fixed in CVS now. Try the latest snapshot: http://snaps.php.net/

[PHP-DEV] Bug #12668: unexpected behavior of preg_replace

2001-08-08 Thread chuck
From: [EMAIL PROTECTED] Operating system: FreeBSD 4.0 PHP version: 4.0.6 PHP Bug Type: PCRE related Bug description: unexpected behavior of preg_replace Simple problem - the script: should produce one plain single-quote, but instead it produces an escaped single-quote

[PHP-DEV] Buildproblems in latest CVS

2001-08-08 Thread Anders Johannsen
I'am experiencing problems building PHP from the latest cvs. The errors occur when running 'buildconf'. The box is a Debian/unstable. Autoconf, automake and libtool versions seems to suffice. aj@uranos% ./buildconf buildconf: checking installation... buildconf: autoconf version 2.52 (ok) buildcon

[PHP-DEV] Bug #12661 Updated: MYSQL_NUMROWS no longer returns a value in PHP 4.0.6

2001-08-08 Thread sniper
ID: 12661 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: MySQL related Operating System: Linux PHP Version: 4.0.6 New Comment: Works for me just fine. And mysql_numrows() is deprecated anyway and only exists as an alias for mysql_num_rows(). Closed

[PHP-DEV] Bug #12667: Memory Hole Problems

2001-08-08 Thread j . alberti
From: [EMAIL PROTECTED] Operating system: Linux 2.2.16 PHP version: 4.0.6 PHP Bug Type: IMAP related Bug description: Memory Hole Problems DEAR PHP TEAM, MANY THANKS AND "YOU HAVE DONE GREAT WORK". I'm sure you know ;-). But i have (found) a problem. ;-) Please give me a fee

Re: [PHP-DEV] Current CVS crash (latest Zend changes)

2001-08-08 Thread Simon Roberts
Aiee! I'd just done that, when I got your message. I'd deleted my entire php4 source dir, downloaded from CVS, rebuilt, and it appears to be working. Aiee. I'll keep an eye on it. Bugger (Sorry Zeev) - Original Message - From: "Andrei Zmievski" <[EMAIL PROTECTED]> To: "Simon Rober

Re: [PHP-DEV] Current CVS crash (latest Zend changes)

2001-08-08 Thread Andrei Zmievski
On Thu, 09 Aug 2001, Simon Roberts wrote: > Seems like the Zend changes that were just committed broke something - all > scripts are causing a segfault. I'm looking at what changed now. > > > Script: > > > Configure: > ./configure \ > --with

[PHP-DEV] Re: Bug #12245 Updated: gettype(true && true) returns "integer"!

2001-08-08 Thread Jeroen van Wolffelaar
Patch attached - Original Message - From: <[EMAIL PROTECTED]> Newsgroups: php.dev To: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 1:12 AM Subject: Bug #12245 Updated: gettype(true && true) returns "integer"! > ID: 12245 > Updated by: jeroen > Reported By: [EMAIL PROTECTED] > Old

[PHP-DEV] Bug #12245 Updated: gettype(true && true) returns "integer"!

2001-08-08 Thread jeroen
ID: 12245 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Open Status: Assigned Bug Type: Variables related Operating System: Solaris PHP Version: 4.0.6 New Comment: KISS example: var_dump(TRUE || TRUE) -> int(1) var_dump(FALSE && FALSE) -> int(0) Patch awaiting to be committ

[PHP-DEV] Bug #12243 Updated: Large numbers not behaving as doubles

2001-08-08 Thread jeroen
ID: 12243 Updated by: jeroen Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Variables related Operating System: FreeBSD 4.1.1-STABLE PHP Version: 4.0.6 New Comment: So you say that var_dump(50) -> int(2147483647) And not, as expected: float(50) PHP uses some system

Re: [PHP-DEV] Current CVS crash (latest Zend changes)

2001-08-08 Thread Simon Roberts
Yeah, it looks like language_scanner_globals isn't ready for this function yet (gdb) display language_scanner_globals 5: language_scanner_globals = {zendin = 0x0, zendout = 0x0, yy_leng = 0, yy_text = 0x0, current_buffer = 0x0, c_buf_p = 0x0, init = 1, start = 0} So it's dereferencing a null poi

Re: [PHP-DEV] Current CVS crash (latest Zend changes)

2001-08-08 Thread Simon Roberts
It's as quoted in the original message : --- --- with a \n after the ?> # hexdump -cb phpinfo.php 000 < ? p h p p h p i n f o ( ) ; 000 074 077 160 150 160 040 160 150 160 151 156 146 157 050 051 073 010 ? > \n 010 040 077 076 012

[PHP-DEV] RE: Bug #12666 Updated: undefined symbol: mxdriver when I start apache

2001-08-08 Thread Sebastian Navarro
no, went I try to do what it say in this help , when I do the make for the php return this make[1]: Entering directory `/usr/local/php-4.0.6/main' make[2]: Entering directory `/usr/local/php-4.0.6/main' /bin/sh /usr/local/php-4.0.6/libtool --silent --mode=link gcc -I. -I/usr/local/php-4.0.6/main

Re: [PHP-DEV] Current CVS crash (latest Zend changes)

2001-08-08 Thread Zeev Suraski
Can you send me the file that causes this crash? At 01:32 09-08-01, Simon Roberts wrote: >Yes, the absolute latest - I saw the Zend changes come past "cvs update". >The change looks to be a broken fix in r214 of zend_compile.c - Zend itself >is new to me (and fun :) > > >@@ -2374,6 +2379,10 @@ >

[PHP-DEV] Bug #12665 Updated: mktime() is strange

2001-08-08 Thread jeroen
ID: 12665 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: *General Issues Operating System: Linux & Windows PHP Version: 4.0.6 New Comment: 08 is octal, write 8. See section on integers (phpdoc / language / types / integers) Previous Comments: ---

Re: [PHP-DEV] Current CVS crash (latest Zend changes)

2001-08-08 Thread Simon Roberts
Yes, the absolute latest - I saw the Zend changes come past "cvs update". The change looks to be a broken fix in r214 of zend_compile.c - Zend itself is new to me (and fun :) @@ -2374,6 +2379,10 @@ retval = zendlex(zendlval TSRMLS_CC); break;

[PHP-DEV] AW: Bug #12665 Updated: mktime() is strange

2001-08-08 Thread Oliver.Siegmar
Looks like, that PHP just reads the 0's... mktime(0,0,0,0,0,2001) results the same as mktime(0,0,0,0x,0x,2001) > -Ursprüngliche Nachricht- > Von: Bug Database [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 9. August 2001 00:18 > An: [EMAIL PROTECTED] > Betreff: Bug #12665 Updated: m

[PHP-DEV] Bug #12666 Updated: undefined symbol: mxdriver when I start apache

2001-08-08 Thread alindeman
ID: 12666 Updated by: alindeman Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: *Compile Issues Operating System: Red Hat 7.1 PHP Version: 4.0.6 New Comment: try reading http://php.net/bugs.php?id=10759 tell me if this helps. Previous Comments: --

[PHP-DEV] Bug #12665 Updated: mktime() is strange

2001-08-08 Thread alindeman
ID: 12665 Updated by: alindeman Reported By: [EMAIL PROTECTED] Status: Open Bug Type: *General Issues Operating System: Linux & Windows PHP Version: 4.0.6 New Comment: wierd... your script says they are the same, but remove the 0's in front of the 8 and 9 like mktime (0,0,0,8,8,2001) (inst

[PHP-DEV] Bug #12666: undefined symbol: mxdriver when I start apache

2001-08-08 Thread snavarro
From: [EMAIL PROTECTED] Operating system: Red Hat 7.1 PHP version: 4.0.6 PHP Bug Type: *Compile Issues Bug description: undefined symbol: mxdriver when I start apache I'm having a problem when I try to compile APACHE + PHP + IMAP . The OS that I using is: 2.4.2-SGI_XFS_1

Re: [PHP-DEV] Current CVS crash (latest Zend changes)

2001-08-08 Thread Zeev Suraski
Are you *sure* you're running the very current CVS, and not some snapshot? Zeev At 01:16 09-08-01, Simon Roberts wrote: >Seems like the Zend changes that were just committed broke something - all >scripts are causing a segfault. I'm looking at what changed now. > > >Script: > > >Configure: >

[PHP-DEV] Current CVS crash (latest Zend changes)

2001-08-08 Thread Simon Roberts
Seems like the Zend changes that were just committed broke something - all scripts are causing a segfault. I'm looking at what changed now. Script: Configure: ./configure \ --with-apxs \ --without-midgard

[PHP-DEV] Bug #12665: mktime() is strange

2001-08-08 Thread Oliver . Siegmar
From: [EMAIL PROTECTED] Operating system: Linux & Windows PHP version: 4.0.6 PHP Bug Type: *General Issues Bug description: mktime() is strange Hi all, The result of both - mktime(0,0,0,08,08,2001) and mktime(0,0,0,08,09,2001) - is 975538800. Whats wrong? Bye,

[PHP-DEV] Bug #12636 Updated: non-linked libpam function?

2001-08-08 Thread scarfboy
ID: 12636 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IMAP related Operating System: Linux (SuSE 7.1) PHP Version: 4.0.6 New Comment: i should say, after i removed the --with-imap option, `configure' worked and i typed `make', it got exactly that f

[PHP-DEV] Bug #12664 Updated: displaying list of groups (NNTP) from existing News Server

2001-08-08 Thread alindeman
ID: 12664 Updated by: alindeman Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: IMAP related Operating System: windows95 PHP Version: 4.0.6 New Comment: needs more info... read bugs-dos-and-don'ts before submitting a bug report. Previous Comments: -

[PHP-DEV] Bug #12664: displaying list of groups (NNTP) from existing News Server

2001-08-08 Thread sanriz
From: [EMAIL PROTECTED] Operating system: windows95 PHP version: 4.0.6 PHP Bug Type: IMAP related Bug description: displaying list of groups (NNTP) from existing News Server error message: stream pointer missing -- Edit bug report at: http://bugs.php.net/?id=12664&edit=1

[PHP-DEV] Bug #12663: %s 'string notator' only grabs a single word, not an entire string.

2001-08-08 Thread vallimar
From: [EMAIL PROTECTED] Operating system: Redhat 7.1 kernel 2.4.7 PHP version: 4.0.6 PHP Bug Type: Strings related Bug description: %s 'string notator' only grabs a single word, not an entire string. Execute and you will see that it does not check on strings and any spa

Re: [PHP-DEV] Latest CVS Problem

2001-08-08 Thread Andrew Lindeman formally [EMAIL PROTECTED]
tested on a linux 2.2.16-22 kernel (Red Hat 7.0) happens with apache module and on command line. On Wed, 08 Aug 2001, Zeev Suraski wrote: > I'm unable to reproduce this under Linux (non thread safe) or Windows > (thread safe)... > > At 23:28 08-08-01, Andrew Lindeman formally [EMAIL PROTECTED]

Re: [PHP-DEV] Latest CVS Problem

2001-08-08 Thread Zeev Suraski
I'm unable to reproduce this under Linux (non thread safe) or Windows (thread safe)... At 23:28 08-08-01, Andrew Lindeman formally [EMAIL PROTECTED] wrote: >I can't use fopen (file) to get anything off the >internet with the latest cvs... > >$file=fopen("http://php.net/","r";); >fpassthru($file)

[PHP-DEV] Bug #12662: Payflow modules

2001-08-08 Thread brent
From: [EMAIL PROTECTED] Operating system: Linux 2.4.4 PHP version: 4.0.6 PHP Bug Type: Verisign Payflow Pro related Bug description: Payflow modules Trying to get PayFlowPro going with mod_ssl according to the latest thinking on the forums. I put the PayFlowPro shared

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Latest CVS Problem

2001-08-08 Thread Sterling Hughes
On Thu, 9 Aug 2001, Sterling Hughes wrote: > On Wed, 8 Aug 2001, Andrew Lindeman formally [EMAIL PROTECTED] wrote: > > > I can't use fopen (file) to get anything off the > > internet with the latest cvs... > > > > > $file=fopen("http://php.net/","r";); > > fpassthru($file); > > ?> > > Will produ

Re: [PHP-DEV] PHP 4.0.7

2001-08-08 Thread Jason Greene
If this is done should it occur before or after the branch? -Jason > At 02:22 PM 8/8/2001 -0500, Jason Greene wrote: > >Well it's actually libtool 1.4 combined with automake that creates the issue > >Automake needs the libtool mode=compile prefer-pic,prefer-non-pic flags > >added to CFLAGS > >s

Re: [PHP-DEV] Latest CVS Problem

2001-08-08 Thread Sterling Hughes
On Wed, 8 Aug 2001, Andrew Lindeman formally [EMAIL PROTECTED] wrote: > I can't use fopen (file) to get anything off the > internet with the latest cvs... > > $file=fopen("http://php.net/","r";); > fpassthru($file); > ?> > Will produce "Segmentation Fault (core dumped)" > > No idea why, but it p

[PHP-DEV] Bug #12658 Updated: set_error_handler() not working properly (with 'Call to undefined function')

2001-08-08 Thread jmcastagnetto
ID: 12658 Updated by: jmcastagnetto Reported By: [EMAIL PROTECTED] Status: Analyzed Bug Type: Scripting Engine problem Operating System: Red Hat Linux, Win2000 sp2 PHP Version: 4.0.6 New Comment: Using: error_reporting("E_ERROR"); does not work (same result as E_ALL), even though in Zend/

[PHP-DEV] Bug #12661: MYSQL_NUMROWS no longer returns a value in PHP 4.0.6

2001-08-08 Thread ian
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: MYSQL_NUMROWS no longer returns a value in PHP 4.0.6 I have a short script that displays the number of rows from a mysql_query using mysql_numrows. It lives in my

[PHP-DEV] Latest CVS Problem

2001-08-08 Thread Andrew Lindeman formally [EMAIL PROTECTED]
I can't use fopen (file) to get anything off the internet with the latest cvs... http://php.net/","r";); fpassthru($file); ?> Will produce "Segmentation Fault (core dumped)" No idea why, but it probably needs to be fixed. -- - Andy :) "Black holes are where God divided by zero." -- PHP De

[PHP-DEV] Bug #12658 Updated: set_error_handler() not working properly (with 'Call to undefined function')

2001-08-08 Thread jmcastagnetto
ID: 12658 Updated by: jmcastagnetto Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Analyzed Bug Type: Scripting Engine problem Operating System: Red Hat Linux, Win2000 sp2 PHP Version: 4.0.6 Old Assigned To: jmcastagnetto Assigned To: New Comment: My mistake, did not understood the

[PHP-DEV] Bug #12656 Updated: strtotime started to malfunction after OS change

2001-08-08 Thread alindeman
ID: 12656 Updated by: alindeman Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Date/time related Operating System: Red Hat 7.1 PHP Version: 4.0.6 New Comment: try... print strtotime("Tue Aug 7 2001 18:48:28"); Previous Comments: --

Re: [PHP-DEV] Re: compile fails on html.c (CODESET undeclared)

2001-08-08 Thread Wez Furlong
On 08/08/01, "Heikki Korpela" <[EMAIL PROTECTED]> wrote: > On Wed, 8 Aug 2001, Wez Furlong wrote: > > I suspect this can be fixed by changing line 231 to be > > #if HAVE_LANGINFO_H && HAVE_LOCALE_H && defined(CODESET) > Please do, it's repeatable on OpenBSD-current; I haven't reported it because >

[PHP-DEV] Bug #12658 Updated: set_error_handler() not working properly (with 'Call to undefined function')

2001-08-08 Thread jmcastagnetto
ID: 12658 Updated by: jmcastagnetto Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Scripting Engine problem Operating System: Red Hat Linux, Win2000 sp2 PHP Version: 4.0.6 Old Assigned To: Assigned To: jmcastagnetto New Comment: The assertion "... Seems that PHP canno

[PHP-DEV] Bug #12659 Updated: sd

2001-08-08 Thread cynic
ID: 12659 Updated by: cynic Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Unknown/Other Function Operating System: PHP Version: 4.0.6 Edit this bug report at http://bugs.php.net/?id=12659&edit=1 -- PHP Development Mailing List To unsubscribe, e

Re: [PHP-DEV] PHP 4.0.7

2001-08-08 Thread Andi Gutmans
At 02:22 PM 8/8/2001 -0500, Jason Greene wrote: >Well it's actually libtool 1.4 combined with automake that creates the issue >Automake needs the libtool mode=compile prefer-pic,prefer-non-pic flags >added to CFLAGS >so that it gets added to the compile line. The problem is that CFLAGS is >passe

Re: [PHP-DEV] PHP 4.0.7

2001-08-08 Thread Jason Greene
Well it's actually libtool 1.4 combined with automake that creates the issue Automake needs the libtool mode=compile prefer-pic,prefer-non-pic flags added to CFLAGS so that it gets added to the compile line. The problem is that CFLAGS is passed in linking phase as well. If we moved back to lib

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Zeev Suraski
At 22:13 08-08-01, Thies C. Arntzen wrote: >On Wed, Aug 08, 2001 at 09:20:55PM +0300, Zeev Suraski wrote: > > My top of the list is: > > > > $_REQUEST > > $_REQ would be even nicer - and less to type without hiding > the meaning. I agree with Andrei on this one... > > $_EVIL (Andi and I

[PHP-DEV] Bug #12659: sd

2001-08-08 Thread sdf
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: sd fsf -- Edit bug report at: http://bugs.php.net/?id=12659&edit=1 -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PRO

Re: [PHP-DEV] PHP 4.0.7

2001-08-08 Thread Andi Gutmans
At 02:01 PM 8/8/2001 -0500, Jason Greene wrote: >There is one issue with 4.0.7 that probably should be fixed before branch. >The build >system currently adds a libtool flag into CFLAGS whether libtool is in >link or compile mode. >Since this option is only valid in compile, it gets passed to the

Re: [PHP-DEV] PHP 4.0.7

2001-08-08 Thread Jason Greene
Yes, he said the same thing to me. The prefer-pic prefer-non-pic options where added in libtool 1.4 so this issue became present as soon as we moved to 1.4 and added those options. -Jason - Original Message - From: "Zeev Suraski" <[EMAIL PROTECTED]> To: "Jason Greene" <[EMAIL PROTEC

Re: [PHP-DEV] Re: compile fails on html.c (CODESET undeclared)

2001-08-08 Thread Heikki Korpela
On Wed, 8 Aug 2001, Wez Furlong wrote: > Err, that's a little odd. > I would expect your system to have all of the things required for that > to work. > What does the config.log say about HAVE_LOCALE_H and HAVE_LANGINFO_H? > I suspect this can be fixed by changing line 231 to be > #if HAVE_LANGI

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Andrei Zmievski
On Wed, 08 Aug 2001, Thies C. Arntzen wrote: > On Wed, Aug 08, 2001 at 09:20:55PM +0300, Zeev Suraski wrote: > > My top of the list is: > > > > $_REQUEST > > $_REQ would be even nicer - and less to type without hiding > the meaning. The "Perl meter" is registering non-zero reading here.

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Thies C. Arntzen
On Wed, Aug 08, 2001 at 09:20:55PM +0300, Zeev Suraski wrote: > My top of the list is: > > $_REQUEST $_REQ would be even nicer - and less to type without hiding the meaning. > $_EVIL (Andi and I think it's really pretty good, but we both figured we'll > end up going with a different al

Re: [PHP-DEV] PHP 4.0.7

2001-08-08 Thread Zeev Suraski
From what I understand, Sascha doesn't have time to do that in the near future, so waiting for this is probably not the right thing to do. Is this a new issue? Zeev At 22:01 08-08-01, Jason Greene wrote: >There is one issue with 4.0.7 that probably should be fixed before branch. >The build >s

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Wez Furlong
On 08/08/01, "Jani Taskinen" <[EMAIL PROTECTED]> wrote: > On Wed, 8 Aug 2001, Cynic wrote: > >Yeah. And $_SESSION too. > Nope. It doesn't come from the user. But it would be useful for $_SESSION to have the same global scope as these new vars. --Wez. -- PHP Development Mailing List

[PHP-DEV] Re: compile fails on html.c (CODESET undeclared)

2001-08-08 Thread Wez Furlong
On 08/08/01, "Marc Boeren" <[EMAIL PROTECTED]> wrote: > html.c: In function `determine_charset': > html.c:232: `CODESET' undeclared (first use in this function) > html.c:232: (Each undeclared identifier is reported only once > html.c:232: for each function it appears in.) > make[3]: *** [html.lo]

Re: [PHP-DEV] PHP 4.0.7

2001-08-08 Thread Jason Greene
There is one issue with 4.0.7 that probably should be fixed before branch. The build system currently adds a libtool flag into CFLAGS whether libtool is in link or compile mode. Since this option is only valid in compile, it gets passed to the compiler. This causes a warning with gcc, but for o

Re: [PHP-DEV] PHP 4.0.7

2001-08-08 Thread Zeev Suraski
At 21:51 08-08-01, Andrei Zmievski wrote: >On Wed, 08 Aug 2001, Zeev Suraski wrote: > > As those of you who are subscribed to php-cvs may have noticed, Andi and I > > implemented today the functionality I suggested to replace > register_globals: > > > > - $_GET, $_POST, $_COOKIE, $_FILES, $_ENV a

Re: [PHP-DEV] PHP 4.0.7

2001-08-08 Thread Andrei Zmievski
On Wed, 08 Aug 2001, Zeev Suraski wrote: > As those of you who are subscribed to php-cvs may have noticed, Andi and I > implemented today the functionality I suggested to replace register_globals: > > - $_GET, $_POST, $_COOKIE, $_FILES, $_ENV and $_SERVER replace $HTTP_*_VARS > (the old vars st

[PHP-DEV] PHP 4.0.7

2001-08-08 Thread Zeev Suraski
As those of you who are subscribed to php-cvs may have noticed, Andi and I implemented today the functionality I suggested to replace register_globals: - $_GET, $_POST, $_COOKIE, $_FILES, $_ENV and $_SERVER replace $HTTP_*_VARS (the old vars still remain for downwards compatibility) - The new v

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Cynic
At 20:33 8/8/2001, Jani Taskinen wrote the following: -- >On Wed, 8 Aug 2001, Cynic wrote: >>Yeah. And $_SESSION too. > >Nope. It doesn't come from the user. Err, you're right. [EMAIL PROTECTED] - And the eyes of them bo

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs:php4 / NEWS...)

2001-08-08 Thread Jani Taskinen
On Wed, 8 Aug 2001, Cynic wrote: >At 20:14 8/8/2001, Jani Taskinen wrote the following: >-- >>On Wed, 8 Aug 2001, Cynic wrote: >> >>>How about $_DONT_TOUCH_THIS ? :) >>>Seriously though, I vote for $_REQUEST. After all, it contains >>>da

Re: FW: [PHP-DEV] build problem: bison.simple:99: parse error bef ore 'do' -> \r\n or \n...

2001-08-08 Thread Markus Fischer
On Wed, Aug 08, 2001 at 05:54:34PM +0200, Marc Boeren wrote : > > > Eek! I didn't notice thatthis was on Winblows.. nevermind then. :) > > Well, it wasn't, it was on a Linux box. But the cvs was checked out on a > Winbox using cygwin, and then copied to the Linux box (that isn't allowed to > cv

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Jason Greene
- Original Message - From: "Zeev Suraski" <[EMAIL PROTECTED]> To: "Jason Greene" <[EMAIL PROTECTED]> Cc: "Jani Taskinen" <[EMAIL PROTECTED]>; "Cynic" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, August 08, 2001 1:20 PM Subject: Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was:

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Zeev Suraski
My top of the list is: $_REQUEST $_EVIL (Andi and I think it's really pretty good, but we both figured we'll end up going with a different alternative :) Zeev At 21:12 08-08-01, Jason Greene wrote: >What about using the acronyms in any combination. > >like $_GPC >and $_GC >and etc > >-

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Zeev Suraski
At 21:14 08-08-01, Jani Taskinen wrote: >On Wed, 8 Aug 2001, Cynic wrote: > > >At 20:02 8/8/2001, Zeev Suraski wrote the following: > >-- > >>At 21:01 08-08-01, Jani Taskinen wrote: > >> > >>>[moving this to php-dev] > >>> > >>>First: Gre

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Jason Greene
What about using the acronyms in any combination. like $_GPC and $_GC and etc -Jason - Original Message - From: "Cynic" <[EMAIL PROTECTED]> To: "Jani Taskinen" <[EMAIL PROTECTED]> Cc: "Zeev Suraski" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, August 08, 2001 1:25 P

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Cynic
At 20:14 8/8/2001, Jani Taskinen wrote the following: -- >On Wed, 8 Aug 2001, Cynic wrote: > >>How about $_DONT_TOUCH_THIS ? :) >>Seriously though, I vote for $_REQUEST. After all, it contains >>data which is (generally) tied to one part

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Jason Greene
How about $_COULDCONTAINSHELLCODE? -jason - Original Message - From: "Jani Taskinen" <[EMAIL PROTECTED]> To: "Zeev Suraski" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, August 08, 2001 1:09 PM Subject: Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs:php4 / NEWS...)

2001-08-08 Thread Jani Taskinen
On Wed, 8 Aug 2001, Cynic wrote: >At 20:02 8/8/2001, Zeev Suraski wrote the following: >-- >>At 21:01 08-08-01, Jani Taskinen wrote: >> >>>[moving this to php-dev] >>> >>>First: Great! Woohoo! Thanks Zeev! >> >>Andi helped with it too :)

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs:php4 / NEWS...)

2001-08-08 Thread Jani Taskinen
On Wed, 8 Aug 2001, Zeev Suraski wrote: >At 21:01 08-08-01, Jani Taskinen wrote: > >>[moving this to php-dev] >> >>First: Great! Woohoo! Thanks Zeev! > >Andi helped with it too :) Ah. Thanks Andi! :) >I vote for $_EVIL :) I am not kidding. Naming it like that would definately be a clear sign f

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Cynic
At 20:02 8/8/2001, Zeev Suraski wrote the following: -- >At 21:01 08-08-01, Jani Taskinen wrote: > >>[moving this to php-dev] >> >>First: Great! Woohoo! Thanks Zeev! > >Andi helped with it too :) > >I vote for $_EVIL :) How about $_DONT

Re: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Jason Greene
- Original Message - From: "Zeev Suraski" <[EMAIL PROTECTED]> To: "Jani Taskinen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, August 08, 2001 1:02 PM Subject: [PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...) > At 21:01 08-08-01, Jani Taskin

[PHP-DEV] Re: The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Zeev Suraski
At 21:01 08-08-01, Jani Taskinen wrote: >[moving this to php-dev] > >First: Great! Woohoo! Thanks Zeev! Andi helped with it too :) I vote for $_EVIL :) Zeev -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

[PHP-DEV] The new $_GET/POST/ENV (was: Re: [PHP-CVS] cvs: php4 / NEWS...)

2001-08-08 Thread Jani Taskinen
[moving this to php-dev] First: Great! Woohoo! Thanks Zeev! On Wed, 8 Aug 2001, Zeev Suraski wrote: >At 20:27 08-08-01, Andrei Zmievski wrote: >>On Wed, 08 Aug 2001, Zeev Suraski wrote: >> > Good question, open for debate... Generally I consider GPC as a group of >> > data which cannot be trus

[PHP-DEV] Bug #12658: set_error_handler() not working properly (with 'Call to undefined function')

2001-08-08 Thread joustin
From: [EMAIL PROTECTED] Operating system: Red Hat Linux, Win2000 sp2 PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: set_error_handler() not working properly (with 'Call to undefined function') Seems that PHP cannot redirect 'Call to undefined fun

[PHP-DEV] Bug #12657 Updated: session problem when run as Apache SAPI

2001-08-08 Thread sniper
ID: 12657 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Old Bug Type: Apache related Bug Type: *Configuration Issues Operating System: win2000 PHP Version: 4.0.6 New Comment: Your php.ini file you are editing isn't read by PHP. So it's obviously in wrong place.

[PHP-DEV] Bug #12657: session problem when run as Apache SAPI

2001-08-08 Thread lecoq_tr
From: [EMAIL PROTECTED] Operating system: win2000 PHP version: 4.0.6 PHP Bug Type: Apache related Bug description: session problem when run as Apache SAPI I had to run PHP as DLL rather than EXE because I need to override php.ini settings by using .htaccess As an EXE it w

[PHP-DEV] Bug #12642 Updated: Loading php_oci8 fails

2001-08-08 Thread sniper
ID: 12642 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Old Bug Type: *Configuration Issues Bug Type: OCI8 related Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: You need to have the oracle client installed on your system. And you need to read b

[PHP-DEV] Bug #12641 Updated:

2001-08-08 Thread sniper
ID: 12641 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Arrays related Operating System: FreeBSD PHP Version: 4.0.6 New Comment: Add a short script here which can be used to reproduce this. --Jani Previous Comments: ---

[PHP-DEV] Bug #12656: strtotime started to malfunction after OS change

2001-08-08 Thread lecoq_tr
From: [EMAIL PROTECTED] Operating system: Red Hat 7.1 PHP version: 4.0.6 PHP Bug Type: Date/time related Bug description: strtotime started to malfunction after OS change Example code : print strtotime("Tue Aug 7 18:48:28 2001"); This sample code format used to work pro

[PHP-DEV] Bug #10800 Updated: File uploads take ~70 times longer than downloading files on Apache/PHP.

2001-08-08 Thread paul
ID: 10800 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: HTTP related Operating System: NT 2000 PHP Version: 4.0.5 New Comment: I'm sorry it took so long in getting back Andy. Your question: "Could you please include the script tha

[PHP-DEV] compile fails on html.c (CODESET undeclared)

2001-08-08 Thread Marc Boeren
Latest cvs fails to compile on Linux (redhat 6.1) (clean checkout) ./buildconf ./configure --with-mysql --enable-dbx make produces... html.c: In function `determine_charset': html.c:232: `CODESET' undeclared (first use in this function) html.c:232: (Each undeclared identifier is reported only

[PHP-DEV] Bug #12655: date-format problem

2001-08-08 Thread thomas . winkler
From: [EMAIL PROTECTED] Operating system: Win2k PHP version: 4.0.6 PHP Bug Type: MSSQL related Bug description: date-format problem webserver: IIS5 (Win2k) php-version: php4.0.6 (CGI) db-server: MS SQL Server 2000 I've run into problems when fetching fields of type dat

Re: [PHP-DEV] about #12645 - xsl:include

2001-08-08 Thread Håvard Dahle
Marius Andreiana <[EMAIL PROTECTED]>, ons 2001-08-08; > I've solved it by using > > FWIW, this is how I solve this (php 4.0.6, Sablotron 0.60.1): In my xslt, i have this statement: I use xslt_transform() as it lets me use named buffers and pass parameters to the xslt parser, thusly: $sabl

RE: FW: [PHP-DEV] build problem: bison.simple:99: parse error bef ore 'do' -> \r\n or \n...

2001-08-08 Thread Marc Boeren
> Duh! I should have read the email more carefully..I just get > this odd rash everytime I see anything that even resemple Windows.. :) I get that, too :) What is worse, though, is the multitude of stupid cross-platform incompatibilies, of which the whole EOL \r\n, \r, \n stuff is one of the mos

[PHP-DEV] Bug #12654 Updated: File http://www.php.net:8000/distributions/manual_de.chm OK?

2001-08-08 Thread gerhard
ID: 12654 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Unknown/Other Function Operating System: Win98SE de IE5.5 HtmlHelp4.74.87 PHP Version: 4.0.6 New Comment: initial bug-report number is #12638 Previous Comments:

Re: FW: [PHP-DEV] build problem: bison.simple:99: parse error before 'do' -> \r\n or \n...

2001-08-08 Thread Jani Taskinen
Eek! I didn't notice thatthis was on Winblows.. nevermind then. :) (I think there's even a bug report about this..?) --Jani On Wed, 8 Aug 2001, Marc Boeren wrote: > > >> -Original Message- >> From: Marc Boeren >> Sent: Wednesday, August 08, 2001 5:40 PM >> To: 'Jani Taskinen' >> Subje

  1   2   >