[PHP-DEV] PHP 4.0 Bug #10238: erealloc() function error

2001-04-09 Thread csjang
From: [EMAIL PROTECTED] Operating system: WINDOWS 98 PHP version: 4.0.4pl1 PHP Bug Type: Filesystem function related Bug description: erealloc() function error I found tht folloing error during file ( file size ablout 12 MB) uploading : [Mon Apr 09 15:33:22 2001] [error]

[PHP-DEV] Latest CVS crashes on Win32

2001-04-09 Thread Sebastian Bergmann
Latest CVS crashes - built as CGI - on Win32. -- sebastian bergmann[EMAIL PROTECTED] http://www.sebastian-bergmann.de bonn.phpug.de | www.php.net | www.phpOpenTracker.de | www.titanchat.de -- PHP Development Mailing List

[PHP-DEV] PHP 4.0 Bug #10233 Updated: Big file uploading problem form HTML FORM

2001-04-09 Thread derick
ID: 10233 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: Apache related Assigned To: Comments: Duplicate of #10238 Previous Comments: --- [2001-04-08 22:04:09] [EMAIL

[PHP-DEV] PHP 4.0 Bug #9857 Updated: define(named_constant)

2001-04-09 Thread shmengie_2000
ID: 9857 User Update by: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: IIS related Description: define("named_constant") Making this change in oci8.c #ifdef ZTS #define PHP_OCI_INIT_MODE OCI_DEFAULT /* OCI_DEFAULT was OCI_THREADED on the above line*/ #else #define

Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on

2001-04-09 Thread Carsten Gehling
From: "Alexander Feldman" [EMAIL PROTECTED] Sent: Friday, April 06, 2001 10:46 PM Hm, very strange. You are absolutely right - I do not see any problems as well. Not only with the current cvs but with the older phps also... But I am sure I have seen some time ago exactly what was described

Re: [PHP-DEV] PHP 4.0 Bug #10225 Updated: I have

2001-04-09 Thread Carsten Gehling
From: [EMAIL PROTECTED] Sent: Saturday, April 07, 2001 7:58 PM Subject: [PHP-DEV] PHP 4.0 Bug #10225 Updated: I have I had installed Oracle 8i(8.16) Client For win2000. And I modify the C:\winnt\php.ini to extension=php_oci8.dll ;extension=php_openssl.dll extension=php_oracle.dll When I

[PHP-DEV] /ext/oci8/oci8.c win32 bugfix.

2001-04-09 Thread Joe Brown
If someone would apply this patch to ext/oci8/oci8.c I think the Oracle using Win32 community would be greatful. Don't know if all threaded environments have a problem with OCI8's behaviour in threaded mode. PHP on win32 really doesn't like it... I haven't been able to get it to crash with

[PHP-DEV] PHP 4.0 Bug #10195 Updated: https takes forever and a day to return when php is loaded in Apache

2001-04-09 Thread Clement . Ong
ID: 10195 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: OpenSSL related Description: https takes forever and a day to return when php is loaded in Apache I tried building with the lastest build as suggested by you and the build errored when it came to making

[PHP-DEV] PHP 4.0 Bug #10238 Updated: erealloc() function error

2001-04-09 Thread hholzgra
ID: 10238 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Old-Bug Type: Filesystem function related Bug Type: Feature/Change Request Assigned To: Comments: current implementation of file uploads requires the uploaded form data including the file data

Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on

2001-04-09 Thread Carsten Gehling
From: "Carsten Gehling" [EMAIL PROTECTED] Sent: Monday, April 09, 2001 9:31 AM Subject: Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on From: "Alexander Feldman" [EMAIL PROTECTED] Sent: Friday, April 06, 2001 10:46 PM Hm, very strange. You are absolutely

[PHP-DEV] PHP 4.0 Bug #10237 Updated: sybase_query returns 1 instead of link id with action queries

2001-04-09 Thread joey
ID: 10237 Updated by: joey Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Sybase-ct (ctlib) related Assigned To: Comments: Link ID is returned by sybase_connect, not sybase_query. In your example, use: echo sybase_affected_rows($con); A close examination of the

[PHP-DEV] PHP 4.0 Bug #10239: file MSVCIRT.DLL connected to missing export MSVCRT.DLL: ??_U@YAPAXI@Z

2001-04-09 Thread jozokozak
From: [EMAIL PROTECTED] Operating system: Win 95, Apache 1.3. PHP version: 4.0.0 PHP Bug Type: *Install and Config Bug description: file MSVCIRT.DLL connected to missing export MSVCRT.DLL: ??_U@YAPAXI@Z I am trying to run php 4 on Win 95 under Apache when I use IE4 to run

[PHP-DEV] PHP 4.0 Bug #10204 Updated: fgets causes memory leaks

2001-04-09 Thread pallmall
ID: 10204 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Sockets related Description: fgets causes memory leaks Um, yes, the memory usage increases because you are appending an infinite number of copies of the google page to your $page variable. No, that's

Re: [PHP-DEV] Re: [PEAR-DEV] --with-pear[=DIR] patch

2001-04-09 Thread Sascha Schumann
4. The CGI version of PHP is always built and installed. I think this should be optional. - Sascha Experience IRCG http://schumann.cx/http://schumann.cx/ircg -- PHP Development Mailing List http://www.php.net/ To unsubscribe,

[PHP-DEV] RE: [PEAR-DEV] Re: [PHP-DEV] Re: [PEAR-DEV] --with-pear[=DIR] patch

2001-04-09 Thread James Moore
4. The CGI version of PHP is always built and installed. I think this should be optional. Perhaps optionally disabled.. --without-cgi? James -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP-DEV] RE: [PEAR-DEV] Re: [PHP-DEV] Re: [PEAR-DEV]--with-pear[=DIR] patch

2001-04-09 Thread Derick Rethans
On Mon, 9 Apr 2001, James Moore wrote: 4. The CGI version of PHP is always built and installed. I think this should be optional. Perhaps optionally disabled.. --without-cgi? I would go for optionally on, I really dont want to build both the apache module (p.e.) AND the CGi at the

Re: [PHP-DEV] RE: [PEAR-DEV] Re: [PHP-DEV] Re: [PEAR-DEV]--with-pear[=DIR] patch

2001-04-09 Thread Sascha Schumann
On Mon, 9 Apr 2001, James Moore wrote: 4. The CGI version of PHP is always built and installed. I think this should be optional. Perhaps optionally disabled.. --without-cgi? First, it is a boolean feature, hence enable/disable would be correct. Second, defaulting to the

Re: [PHP-DEV] RE: [PEAR-DEV] Re: [PHP-DEV] Re: [PEAR-DEV] --with-pear[=DIR] patch

2001-04-09 Thread Anil Madhavapeddy
Derick Rethans wrote: I would go for optionally on, I really dont want to build both the apache module (p.e.) AND the CGi at the same time. For QA testing this is fine, but not for production servers. Well, it really beats the alternative, which is to compile everything twice ... what's

[PHP-DEV] PHP 4.0 Bug #10204 Updated: fgets causes memory leaks

2001-04-09 Thread pallmall
ID: 10204 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Sockets related Description: fgets causes memory leaks Um, yes, the memory usage increases because you are appending an infinite number of copies of the google page to your $page variable. No, that's what the unset is for.

Re: [PHP-DEV] RE: [PEAR-DEV] Re: [PHP-DEV] Re: [PEAR-DEV]--with-pear[=DIR] patch

2001-04-09 Thread Sascha Schumann
On Mon, 9 Apr 2001, Anil Madhavapeddy wrote: Derick Rethans wrote: I would go for optionally on, I really dont want to build both the apache module (p.e.) AND the CGi at the same time. For QA testing this is fine, but not for production servers. Well, it really beats the alternative,

[PHP-DEV] PHP 4.0 Bug #10204 Updated: fgets causes memory leaks

2001-04-09 Thread wez
ID: 10204 Updated by: wez Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Sockets related Assigned To: Comments: Sorry - I somehow missed the unset. However, unset just removes the variable from the symbol table - try using $page = null instead. I am in the

[PHP-DEV] PHP 4.0 Bug #9418 Updated: Upload image file is broken

2001-04-09 Thread sniper
ID: 9418 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: *General Issues Assigned To: Comments: Feedback: - Hey, i solve problem. On catalog with php upload script i set directive: CharsetDisable on Now - all ok. --- This

Re: [PHP-DEV] PHP 4.0 Bug #9383 Updated: mcrypt 2.4.9 function causesApache to segfault (fwd)

2001-04-09 Thread Derick Rethans
On Mon, 5 Mar 2001 11:22:23 +0100 (CET) Derick Rethans [EMAIL PROTECTED] wrote: Hello Nikos, I'm one of the maintainers of the libmcrypt extension for PHP, and there are a lot of bugs reported on this lately. SOme of them are the extension, but I also think that some are in libmcrypt (as the

[PHP-DEV] session help

2001-04-09 Thread Keyur Kalaria
Hi there, I need your help if you can help me. I use php4 with it's session management features. I want to count how many users are logged on my site. I use session_register with the user ids stored in it. Now is it possible that i can get how many people are logged in it. Thanks in advance.

[PHP-DEV] PHP 4.0 Bug #10241: php_flag dosn't work in httpd.conf, but it works in .htaccess files

2001-04-09 Thread vl
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.4pl1 PHP Bug Type: *Configuration Issues Bug description: php_flag dosn't work in httpd.conf, but it works in .htaccess files Hi Maybe I have missunderstud something but I thought that directives like

Re: [PHP-DEV] PHP 4.0 Bug #10212: php -l (lint option) still notworking in 4.0.6-dev

2001-04-09 Thread Michael Montero
Thank you so much for the help..this seems to have resolved the issue. Several days ago I was able to compile the CVS version of PHP just fine. Now, however, I get the following messages: oracle.c: In function `php_minit_oracle': oracle.c:294: warning: passing arg 1 of

[PHP-DEV] PHP_AUTH_PW being passed when external auth is used (possible fix?)

2001-04-09 Thread D.M.Chapman
[[ apologies if this is not the place to raise this ]] We have a problem with our apache/PHP4 web server in that it seems to be making users passwords available as PHP_AUTH_PW - even though we are using external authentication (mod_auth_samba). Hunting the php bug database turns up two reports

[PHP-DEV] PHP 4.0 Bug #10218 Updated: preg_replace() with mod e, refs $10 - $19 don't work

2001-04-09 Thread andrei
ID: 10218 Updated by: andrei Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Assigned Bug Type: *Regular Expressions Assigned To: andrei Comments: Previous Comments: --- [2001-04-06 20:39:07] [EMAIL PROTECTED]

[PHP-DEV] PHP 4.0 Bug #10242: constant mon doesn't exist

2001-04-09 Thread ledieudragon
From: [EMAIL PROTECTED] Operating system: Windows ME PHP version: 4.0.4pl1 PHP Bug Type: Date/time related Bug description: constant "mon" doesn't exist -- Edit Bug report at: http://bugs.php.net/?id=10242edit=1 -- PHP Development Mailing List http://www.php.net/ To

[PHP-DEV] Re: [PEAR-DEV] Re: [PHP-DEV] RE: [PEAR-DEV] Re: [PHP-DEV] Re: [PEAR-DEV] --with-pear[=DIR] patch

2001-04-09 Thread Chuck Hagenbuch
Quoting Derick Rethans [EMAIL PROTECTED]: I would go for optionally on, I really dont want to build both the apache module (p.e.) AND the CGi at the same time. For QA testing this is fine, but not for production servers. But if the PEAR installer is going to depend on the cgi version of php,

Re: [PHP-DEV] RE: [PEAR-DEV] Re: [PHP-DEV] Re: [PEAR-DEV] --with-pear[=DIR] patch

2001-04-09 Thread Anil Madhavapeddy
Sascha Schumann wrote: No. The alternative is to pass --enable-cgi on the command-line. ? This doesn't work (nor is it listed in the --help options to configure) I mean to compile a CGI and APXS DSO in a single compile, not two. My understanding is that only one SAPI module can be selected

[PHP-DEV] Warning: fopen(php://stdin,r) - Invalid argument in ...

2001-04-09 Thread Olivier Bourrassé
Hi, I keep getting this message, I'm trying to retreive infos sent using POST. Is that the right way to do it? The stram comes from an application so I can't use HTTP_POST_VARS. Is there any special configuration since I took this code from the WEB and it's supposed to work fine. $fp =

[PHP-DEV] PHP 4.0 Bug #10181 Updated: odbc_result causes Unexpected network read error

2001-04-09 Thread kalowsky
ID: 10181 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: ODBC related Assigned To: Comments: is this the latest version of OpenLink? Previous Comments: --- [2001-04-05

[PHP-DEV] PHP 4.0 Bug #10242 Updated: constant mon doesn't exist

2001-04-09 Thread hholzgra
ID: 10242 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Date/time related Assigned To: Comments: and where / why should it? this is by far not enough information to do anything about it unless one had a working cristal ball device please

Re: [PHP-DEV] /ext/oci8/oci8.c win32 bugfix.

2001-04-09 Thread Paco Ortiz
Hi: as far as I know, OCI8 works fine for me under Win32 + IIS 4 + ISAPI filter. Not that I tested it heavily, but it's just my experience. Greetings, F.J.Ortiz 4/9/01 12:51:48 AM, "Joe Brown" [EMAIL PROTECTED] wrote: If someone would apply this patch to ext/oci8/oci8.c I think the Oracle

[PHP-DEV] PHP 4.0 Bug #10243: sys/resource.h file incorrectly not included

2001-04-09 Thread jules
From: [EMAIL PROTECTED] Operating system: linux 2.4/glibc 2.1 PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: sys/resource.h file incorrectly not included Running the configure script on my system (a SuSE 6.3 system upgraded to kernel 2.4 and glibc

Re: [PHP-DEV] printf argument swapping patch

2001-04-09 Thread Morten Poulsen
Hi, Rasmus Lerdorf [EMAIL PROTECTED] said: Would you mind writing a test case or two to go along with this patch? See the tests/README file for help on how to write these. no, of cause. The attached patch also contains four more tests for printf (tests/strings/002.phpt), which tests the added

[PHP-DEV] PHP 4.0 Bug #6734 Updated: SQL Error In using ODBC connection to Oracle

2001-04-09 Thread kalowsky
ID: 6734 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: ODBC related Assigned To: Comments: Is this still valid in the current PHP releases? Second, if it is, is your Oracle setup configured to allow your Win98 machine access? Previous

[PHP-DEV] PHP 4.0 Bug #6294 Updated: Strange behaviour when using DB2

2001-04-09 Thread kalowsky
ID: 6294 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Status: Open Bug Type: ODBC related Assigned To: Comments: Judging by your second comment, would you consider this bug closed? Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #10204 Updated: fgets causes memory leaks

2001-04-09 Thread pallmall
ID: 10204 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Sockets related Description: fgets causes memory leaks I am in the process of working on a file abstraction for this stuff, so it will be rewritten. Hmm. I'm already using an abstraction layer;

[PHP-DEV] CGI on by default patches..

2001-04-09 Thread Jani Taskinen
Thank you very much for breaking the compile Stig. It still breaks after Sascha's 'fix' when using --with-apxs. And I don't want to spend my time (again) to find out why. I would expect you guys to know better and TEST before committing anything that has something to do with configure/compile.

[PHP-DEV] PHP 4.0 Bug #10245 Updated: Error when compiling with Oracle support

2001-04-09 Thread jmoore
ID: 10245 Updated by: jmoore Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Compile Failure Assigned To: Comments: Jani fixed this in CVS. - James Previous Comments: --- [2001-04-09 11:47:25]

[PHP-DEV] Would anybody find this useful besides me?

2001-04-09 Thread Chris Newbill
Just curious to see if anybody else would see the usefulness of having a masking print function? I dunno maybe call it mprint(). Where I could pass my mask, my value and optionally the mask char, defaulting to something off I guess like "~". mprint ( mask , value [, mask_char]) So I could

[PHP-DEV] PHP 4.0 Bug #10246: Lint option WORKS, but still dumps core

2001-04-09 Thread mmontero
From: [EMAIL PROTECTED] Operating system: RedHat Linux 7.0 PHP version: 4.0 Latest CVS (09/04/2001) PHP Bug Type: Reproduceable crash Bug description: Lint option WORKS, but still dumps core Am using the latest CVS version, configured as follows: "./configure" \

[PHP-DEV] PHP 4.0 Bug #10246 Updated: Lint option WORKS, but still dumps core

2001-04-09 Thread mmontero
ID: 10246 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Reproduceable crash Description: Lint option WORKS, but still dumps core I have also run this example as follows (eliminating the complexity of any switches): ./php blah.html I get this output: X-Powered-By:

[PHP-DEV] PHP 4.0 Bug #10247 Updated: call a VB com

2001-04-09 Thread hholzgra
ID: 10247 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Unknown/Other Function Assigned To: Comments: you have read the "Do's and Don'ts" document refered to at the very top of the bug submission form (http://www.php.net/bugs-dos-and-donts.php)?

[PHP-DEV] PHP 4.0 Bug #10248: ctype_lower doesn't work.

2001-04-09 Thread tomr
From: [EMAIL PROTECTED] Operating system: Solaris 5.7 PHP version: 4.0.4pl1 PHP Bug Type: Strings related Bug description: ctype_lower doesn't work. Using ctype_lower gives an error [09-Apr-2001 12:02:05] PHP Fatal error: Call to undefined function: ctype_lower() in

[PHP-DEV] PHP 4.0 Bug #10241 Updated: php_flag dosn't work in httpd.conf, but it works in .htaccess files

2001-04-09 Thread ohrn
ID: 10241 Updated by: ohrn Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Configuration Issues Assigned To: Comments: This actually bit me yesterday. It seems that Apache hasn't retrived the new options from dynamically loaded modules at the time it parses the

[PHP-DEV] Segfault with current cvs

2001-04-09 Thread Jon Parise
Today's build is giving me this when I try to start Apache with PHP compiled as a DSO: Program received signal SIGSEGV, Segmentation fault. 0x281cc7b1 in _efree (ptr=0x282c8650) at zend_alloc.c:227 227 REMOVE_POINTER_FROM_LIST(p); ./configure \

[PHP-DEV] RE: PHP 4.0 Bug #6734 Updated: SQL Error In using ODBC connection to Oracle

2001-04-09 Thread Eric Ballou
Last time I checked it was still valid. I was still unable to access on the NT 4.0 SP6/Windows 2000 box. Sincerely, Eric Ballou -Original Message- From: Bug Database [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 11:08 AM To: [EMAIL PROTECTED] Subject: PHP 4.0 Bug #6734

[PHP-DEV] PHP 4.0 Bug #10249 Updated: Duplicate name

2001-04-09 Thread mcarthy
ID: 10249 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Apache related Description: Duplicate name Added php user with UID-510 No change in errormessages - Apache still down Previous Comments: --- [2001-04-09

Re: [PHP-DEV] Segfault with current cvs

2001-04-09 Thread Jani Taskinen
Umm..backtrace? --Jani On Mon, 9 Apr 2001, Jon Parise wrote: Today's build is giving me this when I try to start Apache with PHP compiled as a DSO: Program received signal SIGSEGV, Segmentation fault. 0x281cc7b1 in _efree (ptr=0x282c8650) at zend_alloc.c:227 227

Re: [PHP-DEV] Segfault with current cvs

2001-04-09 Thread Jon Parise
On Mon, Apr 09, 2001 at 09:11:42PM +0200, Jani Taskinen wrote: Today's build is giving me this when I try to start Apache with PHP compiled as a DSO: Program received signal SIGSEGV, Segmentation fault. 0x281cc7b1 in _efree (ptr=0x282c8650) at zend_alloc.c:227 227

[PHP-DEV] PHP 4.0 Bug #10250: UnixODBC can make use of SQLDriverConnect functionality too

2001-04-09 Thread dzoll
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.4pl1 PHP Bug Type: ODBC related Bug description: UnixODBC can make use of SQLDriverConnect functionality too In ext/odbc/php_odbc.c: odbc_sqlconnect(), only Openlink and Empress can make use of the

[PHP-DEV] PHP 4.0 Bug #10251: session

2001-04-09 Thread sevketg
From: [EMAIL PROTECTED] Operating system: win32 PHP version: 4.0.3pl1 PHP Bug Type: *Session related Bug description: session -- Edit Bug report at: http://bugs.php.net/?id=10251edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail:

[PHP-DEV] PHP 4.0 Bug #10252: strcat() used on uninitialized string

2001-04-09 Thread dzoll
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.4pl1 PHP Bug Type: ODBC related Bug description: strcat() used on uninitialized string I was getting intermittent errors connecting to databases. Sometimes it would work fine, sometimes my connect string

Re: [PHP-DEV] Segfault with current cvs

2001-04-09 Thread Adam Dickmeiss
Hi, this patch seems to fix this. RCS file: /repository/php4/ext/standard/dir.c,v retrieving revision 1.59 diff -u -r1.59 dir.c --- dir.c 2001/04/08 21:57:13 1.59 +++ dir.c 2001/04/09 19:28:43 @@ -141,7 +141,7 @@ #endif tmpstr[0] = DEFAULT_SLASH; tmpstr[1] = '\0'; -

[PHP-DEV] CVS Account Request

2001-04-09 Thread CVS Account Request
Full name: WENHUI ZHANG Email: [EMAIL PROTECTED] ID: zhangEempress Purpose: Update and Maintain the PHP support for Empress RDBMS -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP-DEV] PHP 4.0 Bug #10251 Updated: session

2001-04-09 Thread hholzgra
ID: 10251 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *Session related Assigned To: Comments: Previous Comments: --- [2001-04-09 15:19:48] [EMAIL PROTECTED]

Re: [PHP-DEV] Would anybody find this useful besides me?

2001-04-09 Thread Derick Rethans
Hi Chris, I think this would be quite usefull for PHP (and C too BTW). Derick On Mon, 9 Apr 2001, Chris Newbill wrote: Just curious to see if anybody else would see the usefulness of having a masking print function? I dunno maybe call it mprint(). Where I could pass my mask, my value and

Re: [PHP-DEV] Would anybody find this useful besides me?

2001-04-09 Thread Joe Brown
I wrote a little function to do something similar to that. It's a little weak but does a fairly good job formatting. Maybe sombody will make it better and send me the code too ;-) // format($element, $format) // element=input ... // format="(999)999- x" // 9=numeric digit // X=converts

[PHP-DEV] Re: PHP 4.0 Bug #6294 Updated: Strange behaviour when using DB2

2001-04-09 Thread Eirik Overby
Hi, Judging by your second comment, would you consider this bug closed? No, since the GENERATE_UNIQUE() function, which relies on a FOR BIT DATA field still won't work. It seems to be the FOR BIT DATA variants of the CHAR fields that PHP has problems with, and even though I haven't bumped into

RE: [PHP-DEV] Segfault with current cvs

2001-04-09 Thread Sean R. Bright
Thanks. Applied, tested and committed. Sean -Original Message- From: Adam Dickmeiss [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 3:33 PM To: Jani Taskinen; [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Segfault with current cvs Hi, this patch seems to fix this.

RE: [PHP-DEV] Would anybody find this useful besides me?

2001-04-09 Thread Chris Newbill
I've got a PHP coded version already, I was just looking at the interest in having this part of the language. My approach is more simplistic, I've never had a problem with it. function mprint($mask, $value, $mask_char = "X") { if (empty($value)) return false; $retval

Re: [PHP-DEV] Segfault with current cvs

2001-04-09 Thread Jon Parise
On Mon, Apr 09, 2001 at 09:33:19PM +0200, Adam Dickmeiss wrote: this patch seems to fix this. RCS file: /repository/php4/ext/standard/dir.c,v retrieving revision 1.59 diff -u -r1.59 dir.c --- dir.c 2001/04/08 21:57:13 1.59 +++ dir.c 2001/04/09 19:28:43 @@ -141,7 +141,7 @@

[PHP-DEV] PHP 4.0 Bug #10253: fopen returns pointer to empty file

2001-04-09 Thread mlane
From: [EMAIL PROTECTED] Operating system: Slackware Current PHP version: 4.0.3pl1 PHP Bug Type: Filesystem function related Bug description: fopen returns pointer to empty file ? $fp=fopen ("/usr/local/apache/htdocs/sales.nationalonline.ca/test/test.file", "r+"); print $fp;

[PHP-DEV] Re: [PEAR-DEV] --with-pear[=DIR] patch

2001-04-09 Thread Stig Sæther Bakken
[Jon Parise [EMAIL PROTECTED]] On Sun, Apr 08, 2001 at 06:21:50PM -0400, Stig Sther Bakken wrote: 1. Using --datadir to determine where PEAR PHP files go. With --datadir=/usr/share or --datadir=/usr/share/php, PHP architecture independent files go to /usr/share/php, and PEAR's PHP

Re: [PHP-DEV] RE: [PEAR-DEV] Re: [PHP-DEV] Re: [PEAR-DEV] --with-pear[=DIR] patch

2001-04-09 Thread Stig Sæther Bakken
[Derick Rethans [EMAIL PROTECTED]] On Mon, 9 Apr 2001, James Moore wrote: 4. The CGI version of PHP is always built and installed. I think this should be optional. Perhaps optionally disabled.. --without-cgi? I would go for optionally on, I really dont want to build both

[PHP-DEV] PHP 4.0 Bug #10254: xml_set_object() and segmentation fault

2001-04-09 Thread mnino
From: [EMAIL PROTECTED] Operating system: Redhat 6.2 PHP version: 4.0.4pl1 PHP Bug Type: XML related Bug description: xml_set_object() and segmentation fault I am receiving "segmentation fault" when using xml_set_object() and setting handlers in the constructor. I moved

Re: [PHP-DEV] Latest CVS crashes on Win32

2001-04-09 Thread Sebastian Bergmann
Sebastian Bergmann wrote: Latest CVS crashes - built as CGI - on Win32. Fixed now, thanks. -- sebastian bergmann[EMAIL PROTECTED] http://www.sebastian-bergmann.de bonn.phpug.de | www.php.net | www.phpOpenTracker.de |

[PHP-DEV] Re: --with-pear[=DIR] patch

2001-04-09 Thread Derick Rethans
On Mon, 9 Apr 2001, Chuck Hagenbuch wrote: Quoting Derick Rethans [EMAIL PROTECTED]: I would go for optionally on, I really dont want to build both the apache module (p.e.) AND the CGi at the same time. For QA testing this is fine, but not for production servers. But if the PEAR

[PHP-DEV] PHP 4.0 Bug #10219 Updated: the dir object created using dir() does not contain the last file in the dir

2001-04-09 Thread gopinath
ID: 10219 User Update by: [EMAIL PROTECTED] Status: Closed Bug Type: Directory function related Description: the dir object created using dir() does not contain the last file in the dir Here is the scenario that I have. I have an nfs mounted a filesystem on SGI Irix machne on to an redhat

[PHP-DEV] PHP 4.0 Bug #10255: Exec(), System or even backtics dont work

2001-04-09 Thread emailleonid
From: [EMAIL PROTECTED] Operating system: windows 2000 SP1 PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: Exec(), System or even backtics dont work Exec(), System or even backtics dont work. i've tried everything. ?php $test = system("dir",

[PHP-DEV] PHP 4.0 Bug #8412 Updated: transformations hang

2001-04-09 Thread norny
ID: 8412 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Sablotron XSL Description: transformations hang I don't have that machine available anymore to help test if it works or not... at least not in a reasonable amount of time before 4.0.5 gets out. Previous

[PHP-DEV] PHP 4.0 Bug #10253 Updated: fopen returns pointer to empty file

2001-04-09 Thread sniper
ID: 10253 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Filesystem function related Assigned To: Comments: 1. Read the manual page for filesize() at http://www.php.net/filesize (hint: It wants a filename as parameter) 2. If this was just buggy

[PHP-DEV] PHP 4.0 Bug #10253 Updated: fopen returns pointer to empty file

2001-04-09 Thread sniper
ID: 10253 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Bogus Status: Closed Bug Type: Filesystem function related Assigned To: Comments: Previous Comments: --- [2001-04-09 17:16:29] [EMAIL PROTECTED] ?

[PHP-DEV] PHP 4.0 Bug #8839 Updated: Blowfish encryption not correct

2001-04-09 Thread derick
ID: 8839 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Assigned Status: Closed Bug Type: mcrypt related Assigned To: derick Comments: Fixed in CVS Previous Comments: --- [2001-01-23 12:12:14] [EMAIL

[PHP-DEV] PHP 4.0 Bug #10219 Updated: the dir object created using dir() does not contain the last file in the dir

2001-04-09 Thread sniper
ID: 10219 Updated by: sniper Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Directory function related Assigned To: Comments: With a quick search on Google I found this: http://devrandom.net/lists/nfs/0249.html Which seems to suggest this is a bug in glibc. --Jani Previous

[PHP-DEV] PHP 4.0 Bug #9241 Updated: segfault/core dump using libmcrypt 2.4.9

2001-04-09 Thread derick
ID: 9241 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Assigned Status: Feedback Bug Type: mcrypt related Assigned To: derick Comments: I couldn't reproduce this with mcrypt 2.4.10 and the latest CVS, can you check this again? Previous Comments:

[PHP-DEV] PHP 4.0 Bug #9324 Updated: libmcrypt 2.4.9 causes problems

2001-04-09 Thread derick
ID: 9324 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Assigned Status: Feedback Bug Type: mcrypt related Assigned To: derick Comments: I could not contact your site. Can you please check it with the latest CVS and libmcrypt 2.4.10? Previous Comments:

[PHP-DEV] RE: PHP 4.0 Bug #10237 Updated: sybase_query returns 1 instead of link id with action queries

2001-04-09 Thread Tyson Lloyd Thwaites
I see. A little bit of confusion on my part. From the manual: "Returns: A positive Sybase result identifier on success, or false on error. " I would have thought that the affected_rows function would be called on the *resource id returned by sybase_query, as it is with odbc_num_rows. So I

[PHP-DEV] PHP 4.0 Bug #10196 Updated: pspell functions no longer work

2001-04-09 Thread vlad
ID: 10196 Updated by: vlad Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Pspell related Assigned To: Comments: Suggestions: First, make sure you remove the old pspell and aspell installation (I see you upgraded it). Install the new version, go to

[PHP-DEV] Bug #10256: Documentation error

2001-04-09 Thread webkid
From: [EMAIL PROTECTED] Operating system: CGI on Apache PHP version: 3.0.14 PHP Bug Type: Documentation problem Bug description: Documentation error The ftp_connect and other ftp commands are not supported in PHP 3.0.14, as the documentation states. An example: ?

[PHP-DEV] PHP 4.0 Bug #10195 Updated: https takes forever and a day to return when php is loaded in Apache

2001-04-09 Thread Clement . Ong
ID: 10195 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: OpenSSL related Description: https takes forever and a day to return when php is loaded in Apache I've downloaded the latest tar :- php4-200104091745 I no longer have the build error and https with PHP activated and curl