[PHP-DEV] Bug in date calculation?

2001-03-06 Thread Alexander Dohmen
Hi there, since i'm new in here i don't know if this bug is well known. Try out this: ", $foo); $ += 86400; echo strftime("%x", $foo); $foo += 86400; echo strftime("%x", $foo); $foo += 86400; echo strftime("%x", $foo); ?> Here only the commented o

Re: [PHP-DEV] Bug in date calculation?

2001-03-06 Thread Derick Rethans
Hello, My guess is that it's the Daylight Savings. Derick On Tue, 6 Mar 2001, Alexander Dohmen wrote: > Hi there, > > since i'm new in here i don't know if this bug is well known. > Try out this: > >$foo = strtotime("20001027"); > // $foo = strtotime("20001027 2:00:00"); >

[PHP-DEV] PHP 4.0 Bug #7237 Updated: PHP Isapi Filter fails after some consecutive uses

2001-03-06 Thread fjortiz
ID: 7237 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: IIS related Description: PHP Isapi Filter fails after some consecutive uses Yes it still persist whit php 4.0.4pl1 is gives 270 (0x010e) Onley on the second website of iis, the first website runs whitout

[PHP-DEV] PHP 4.0 Bug #6581 Updated: Buggy isapi PATH_INFO() under Zeus

2001-03-06 Thread joosters
ID: 6581 Updated by: joosters Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Other web server Assigned To: Comments: PATH_INFO and PATH_TRANSLATED are fixed under Zeus 3.3.8 and the current CVS tree of PHP. You will need to upgrade to both for the path environment var

[PHP-DEV] PHP 4.0 Bug #9575: After install, the web server Apache don't restart ..

2001-03-06 Thread dominique . bernot
From: [EMAIL PROTECTED] Operating system: Linux RedHat 6.2 PHP version: 4.0.2 PHP Bug Type: Reproduceable crash Bug description: After install, the web server Apache don't restart .. My server configuration : Linux RedHat 6.2 - Apache 1.3.9 - Php4.0.2 - Oracle8.1.5. A

[PHP-DEV] PHP 4.0 Bug #9574: Apache can't load neither static (core dump) neither DSO module (linking err).

2001-03-06 Thread prof
From: [EMAIL PROTECTED] Operating system: FreeBSD 2.2.7 PHP version: 4.0.4pl1 PHP Bug Type: Apache related Bug description: Apache can't load neither static (core dump) neither DSO module (linking err). When module is static, then system reports "floating point exception, c

[PHP-DEV] Bug #8565 -- analyzed, but...?

2001-03-06 Thread Richard Lee-Morlang
I ran into bug #8565, and after locating it in the database, I see that it's marked as analyzed but it hasn't been updated for two months. The last comment indicates that it's been left for "Zeev/Andi's attention". I tried current CVS and it breaks as well. It seems like this would make the par

[PHP-DEV] PHP 4.0 Bug #9569 Updated: configure ignores --with-ttf

2001-03-06 Thread sniper
ID: 9569 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *Install and Config Assigned To: Comments: 1. use the _install_ path of gd, e.g. --with-gd=/www/gd 2. use the _install_ path of ttf, e.g. --with-ttf=/usr (no /lib here!) 3. GD extension only wor

[PHP-DEV] PHP 4.0 Bug #9571 Updated: Undefined symbols in apache build using PHP 4.0.4pl1

2001-03-06 Thread sniper
ID: 9571 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Apache related Assigned To: Comments: Please try the latest CVS snapshot from http://snaps.php.net/ --Jani Previous Comments: -

[PHP-DEV] PHP 4.0 Bug #9573 Updated: when i started apache, system reported "floating point exception, core dumped"

2001-03-06 Thread sniper
ID: 9573 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Apache related Assigned To: Comments: Fixed in CVS. Get the latest CVS snapshot from http://snaps.php.net/ --Jani Previous Comments:

[PHP-DEV] PHP 4.0 Bug #9574 Updated: Apache can't load neither static (core dump) neither DSO module (linking err).

2001-03-06 Thread derick
ID: 9574 Updated by: derick Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Apache related Assigned To: Comments: This first part is already fixed in CVS. Previous Comments: --- [2001-03-06 06:11:51] [EMAIL PROTECTED

[PHP-DEV] PHP 4.0 Bug #9446 Updated: CGI version echos first line

2001-03-06 Thread stas
ID: 9446 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Configuration Issues Assigned To: Comments: Do you use Zend Optimizer, probably? Previous Comments: --- [2001-02-25 15:3

[PHP-DEV] PHP 4.0 Bug #9406 Updated: if you don't have PHPRC set, php will try to load /php.ini

2001-03-06 Thread stas
ID: 9406 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Configuration Issues Assigned To: Comments: fixed in CVS. Previous Comments: --- [2001-02-22 12:00:13] [EMAIL PROTECTED] P

[PHP-DEV] PHP 4.0 Bug #9567 Updated: Warning: file("http://www.php.net") - Bad file descriptor in /usr/........

2001-03-06 Thread stas
ID: 9567 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Directory/Filesystem functions Assigned To: Comments: Works for me. Are you sure it still happens for the latest CVS? Previous Comments:

[PHP-DEV] PHP 4.0 Bug #9043 Updated: popen returns a 'Resource id #' (non null) when process cannot be created.

2001-03-06 Thread stas
ID: 9043 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Directory/Filesystem functions Assigned To: Comments: popen runs "sh -c ". This command does succeed. The fact that sh was unable to run your command should be checked by the pclose status. Mo

[PHP-DEV] PHP 4.0 Bug #8489 Updated: Function empty() does not work

2001-03-06 Thread stas
ID: 8489 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: *Function Specific Assigned To: Comments: No feedback, closing. Previous Comments: --- [2001-01-08 13:52:53] [EMAIL PRO

[PHP-DEV] PHP 4.0 Bug #8514 Updated: function returning references changes other vars

2001-03-06 Thread stas
ID: 8514 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: No feedback, closing. Previous Comments: --- [2001-01-09 10:25:24] [EMA

[PHP-DEV] PHP 4.0 Bug #8283 Updated: Impossible to connect to socket made by other unix daemon...

2001-03-06 Thread stas
ID: 8283 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: Sockets related Assigned To: Comments: No feedback, closing. Previous Comments: --- [2000-12-19 06:34:40] [EMAIL PROTEC

[PHP-DEV] PHP 4.0 Bug #6982 Updated: disable_functions option don't works in Apache config

2001-03-06 Thread stas
ID: 6982 Updated by: stas Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: *General Issues Bug Type: Feature/Change Request Assigned To: Comments: I guess it's intended - they work only for php.ini, otheriwse user could easyliy override this with .htaccess, for example. So this is sys

[PHP-DEV] PHP 4.0 Bug #9561 Updated: @unset() causes parse error

2001-03-06 Thread stas
ID: 9561 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: unset is an operator, not a function. @ is for functions. Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #9539 Updated: extract() does not overwrite old values in a while loop with the EXTR_OVERWRITE

2001-03-06 Thread stas
ID: 9539 Updated by: stas Reported By: [EMAIL PROTECTED] Status: Feedback Old-Bug Type: Scripting Engine problem Bug Type: Variables related Assigned To: Comments: reclassify Previous Comments: --- [2001-03-03 17:17:43] [E

[PHP-DEV] PHP 4.0 Bug #9320 Updated: ?> is always the last (even in strings!!!)

2001-03-06 Thread stas
ID: 9320 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: ?> is recognized in comments, it's known - in order to allow: Previous Comments:

[PHP-DEV] PHP 4.0 Bug #9576: Parse error with ($i%2) ? echo '':echo''

2001-03-06 Thread yasuo_ohgaki
From: [EMAIL PROTECTED] Operating system: RedHat Linux v7.0.1/j PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: Parse error with ($i%2) ? echo '':echo'' Miner parser bug. PHP4.0.4pl1 on my Linux (PHP is running as Apache 1.3.17 module) gives par

[PHP-DEV] Re: PHP 4.0 Bug #9567 Updated: Warning: file(

2001-03-06 Thread Christian Goebel
:((( don't work on an other server with php3 it works fine! christian - Original Message - From: Bug Database <[EMAIL PROTECTED]> Sent: Saturday, December 30, 1899 12:00:00 AM To: <[EMAIL PROTECTED]> Subject: PHP 4.0 Bug #9567 Updated: Warning: file("http://www.php.net") - Bad file descri

[PHP-DEV] PHP 4.0 Bug #7706 Updated: HTML & PHP documents return "Document contains no data"

2001-03-06 Thread stas
ID: 7706 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Old-Bug Type: Scripting Engine problem Bug Type: Apache related Assigned To: Comments: You probably have some version incompatibility or build problem between PHP and Apache. Are you sure apxs is from th

[PHP-DEV] PHP 4.0 Bug #8506 Updated: CGI PHP doesn't erase the #!/path/to/php

2001-03-06 Thread stas
ID: 8506 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Old-Bug Type: Scripting Engine problem Bug Type: *Web Server problem Assigned To: Comments: What is your apache configuration for PHP scripts? Previous Comments: --

[PHP-DEV] ereg_replace and \0

2001-03-06 Thread Edin Kadribasic
Title: ereg_replace and \0 I don't know if this is a bug, but maybe someone has come accross this issue before. I was trying to use ereg_replace to insert \0 (character \ + character 0) into a string, but I was not able to do it since \0 has special meaning in the regex replacement stri

[PHP-DEV] PHP 4.0 Bug #8768 Updated: 'continue' inside of 'switch' statement acts like 'break' instead of 'continue'

2001-03-06 Thread stas
ID: 8768 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: switch is a looping structure in PHP, just like for, but one-time. Use "continue 2;" if you want to continue the outer loop. Previous Comments: -

[PHP-DEV] PHP 4.0 Bug #8937 Updated: unset() in context with GLOBAL

2001-03-06 Thread stas
ID: 8937 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Scripting Engine problem Assigned To: Comments: So, what's the problem with your latest code? I do not see any. Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #8972 Updated: Referenced variables and unset()

2001-03-06 Thread stas
ID: 8972 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: No, it won't work that way (your first example). Unset breaks the reference. Please read the "References explained" part in the manual. Previous C

[PHP-DEV] PHP 4.0 Bug #9109 Updated: Comments and regular expressions make problems

2001-03-06 Thread stas
ID: 9109 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: Right. Engine cannot parse your comments as if they were PHP code (because they are not), so be careful. Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #9152 Updated: undefined function not signaled

2001-03-06 Thread stas
ID: 9152 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: That's not a bug, that's a feature. Since you have no constructor, you need no arguments for it. Since you do not need them, they are never evaluae

[PHP-DEV] PHP 4.0 Bug #9307 Updated: Numeric-looking array keys are forced to be integers

2001-03-06 Thread stas
ID: 9307 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: Right, this is how PHP works. That's not a bug, that's an intended behaviour. Previous Comments: --

[PHP-DEV] PHP 4.0 Bug #9576 Updated: Parse error with ($i%2) ? echo '':echo''

2001-03-06 Thread stas
ID: 9576 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: echo is a statement, not a function, thus cannot be used in an expression. You are right to use print. Previous Comments: -

[PHP-DEV] PHP 4.0 Bug #9440 Updated: Bug in php.ini parser

2001-03-06 Thread stas
ID: 9440 Updated by: stas Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: Scripting Engine problem Bug Type: Feature/Change Request Assigned To: Comments: Moving to RFE. Previous Comments: --- [2001-02-25 07:29:2

Re: [PHP-DEV] PHP 4.0 Bug #9539 Updated: extract() does not overwriteold values in a while loop with the EXTR_OVERWRITE

2001-03-06 Thread Jani Taskinen
FYI, if you leave the textbox empty and only change the bug type, there won't be any emails sent to anyone. So if you want to just reclassify, only change the bug type. I changed it because I didn't want to spam the php-dev list all the time when just reorganizing reports. --Jani On 6 Mar 2001

[PHP-DEV] PHP 4.0 Bug #9316 Updated: calling an external function in a loop

2001-03-06 Thread stas
ID: 9316 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Scripting Engine problem Assigned To: Comments: Could you post short self-contained standalone script that reproduces it? Previous Comments:

Re: [PHP-DEV] PHP 4.0 Bug #9539 Updated: extract() does not overwriteold values in a while loop with the EXTR_OVERWRITE

2001-03-06 Thread Stanislav Malyshev
JT>> FYI, if you leave the textbox empty and only change the bug JT>> type, there won't be any emails sent to anyone. So if you want JT>> to just reclassify, only change the bug type. I changed it JT>> because I didn't want to spam the php-dev list all the time when JT>> just reorganizing reports.

[PHP-DEV] PHP 4.0 Bug #9577: compiler error while configured enabled '--with-gd' feature

2001-03-06 Thread riddle
From: [EMAIL PROTECTED] Operating system: FreeBSD 3.3-RELEASE PHP version: 4.0 Latest CVS (06/03/2001) PHP Bug Type: Compile Failure Bug description: compiler error while configured enabled '--with-gd' feature ./configure --with-jpeg-dir=../gd/jped-6b --with-png-dir=../gd/li

[PHP-DEV] Re: PHP 4.0 Bug #7706 Updated: HTML & PHP documents return "Documentcontains no data"

2001-03-06 Thread Chuck Bearden
On 6 Mar 2001, Bug Database wrote: > ID: 7706 > Updated by: stas > Reported By: [EMAIL PROTECTED] > Old-Status: Open > Status: Feedback > Old-Bug Type: Scripting Engine problem > Bug Type: Apache related > Assigned To: > Comments: > > You probably have some version incompatibility or build > pr

[PHP-DEV] Second Attempt: Checkin Request

2001-03-06 Thread Ken Gengler
I sent this checkin request about two weeks ago, but haven't seen it get checked in yet. So, I thought I'd send it again. I believe I'm following the correct protocol, but should I just register as a dev- eloper? I need someone to check in some updates I've made to the java

[PHP-DEV] PHP 4.0 Bug #9578: mysql_select_db() returning currently seected database

2001-03-06 Thread wizaerd
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Feature/Change Request Bug description: mysql_select_db() returning currently seected database Typically in my code, I open and select a database in a prepended file, and use that same datab

[PHP-DEV] PHP 4.0 Bug #7706 Updated: HTML & PHP documents return "Document contains no data"

2001-03-06 Thread sniper
ID: 7706 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: Apache related Assigned To: Comments: User feedback: --- After some consultation with other admins here at Rice, we think that the problem was an incompatibility between mod_perl

[PHP-DEV] PHP 4.0 Bug #9574 Updated: Apache can't load neither static (core dump) neither DSO module (linking err).

2001-03-06 Thread sniper
ID: 9574 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Apache related Assigned To: Comments: Please try latest CVS snapshot from http://snaps.php.net/ as both of these problems should be fixed. --Jani Previous Comments: -

[PHP-DEV] Re: PHP 4.0 Bug #9307 Updated: Numeric-looking array keys are forcedto be integers

2001-03-06 Thread David Croft
Even for array keys that are *not numbers*? How do I get a string for my array key in this case? On 6 Mar 2001, Bug Database wrote: > ID: 9307 > Updated by: stas > Reported By: [EMAIL PROTECTED] > Old-Status: Open > Status: Closed > Bug Type: Scripting Engine problem > Assigned To: > Comments:

[PHP-DEV] PHP 4.0 Bug #9577 Updated: compiler error while configured enabled '--with-gd' feature

2001-03-06 Thread sniper
ID: 9577 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Compile Failure Assigned To: Comments: You must use the install directories with those confgure options. e.g. : ./configure --with-apxs --with-gd=/www/gd --Jani Previous Comments: -

Re: [PHP-DEV] Re: PHP 4.0 Bug #9307 Updated: Numeric-looking arraykeys are forced to be integers

2001-03-06 Thread Stanislav Malyshev
DC>> Even for array keys that are *not numbers*? How do I get a DC>> string for my array key in this case? If they are not numbers, they are not interpreted as numbers. So, $a[0] is the same as $a['0'], but different from $a["foo"]. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED]

[PHP-DEV] PHP 4.0 Bug #9579: POST method not performing action handler (ISAPI)

2001-03-06 Thread rhanic
From: [EMAIL PROTECTED] Operating system: NT4.0 ISAPI PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: POST method not performing action handler (ISAPI) Create a form and use method = POST with an action to another php script. The initial form i

[PHP-DEV] PHP 4.0 Bug #9575 Updated: After install, the web server Apache don't restart ..

2001-03-06 Thread sniper
ID: 9575 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Reproduceable crash Assigned To: Comments: 1. Have you set the necessary Oracle specific environment vars before starting Apache? ( http://www.php.net/oci8 ) 2. Is your Apache linked with l

[PHP-DEV] PHP 4.0 Bug #9580: .php files do not run

2001-03-06 Thread sjspin
From: [EMAIL PROTECTED] Operating system: NT PHP version: 4.0.4pl1 PHP Bug Type: *Install and Config Bug description: .php files do not run I installed the Apache webserver and php4 on my NT machine I can run *.php4 files but I'm not able to run *.php files -- Edit Bug

[PHP-DEV] PHP 4.0 Bug #9581: filesystem reading functions (fread, fpassth.)

2001-03-06 Thread mot
From: [EMAIL PROTECTED] Operating system: win98se PHP version: 4.0.4pl1 PHP Bug Type: Apache related Bug description: filesystem reading functions (fread, fpassth.) while running php as an apache module (not cgi-mode) the filesystem functions of php fread and fpassthrough

Re: [PHP-DEV] Re: PHP 4.0 Bug #9307 Updated: Numeric-looking arraykeys are forced to be integers

2001-03-06 Thread David Croft
So what about a string key that breaks when someone enters a string that can be autoconverted. Zend turns it into a number and hey presto nothing works any more. Can we have a construct to *force* it not to convert these things? On Tue, 6 Mar 2001, Stanislav Malyshev wrote: > DC>> Even for arr

Re: [PHP-DEV] Re: PHP 4.0 Bug #9307 Updated: Numeric-looking arraykeys are forced to be integers

2001-03-06 Thread Stanislav Malyshev
DC>> So what about a string key that breaks when someone enters a DC>> string that can be autoconverted. Zend turns it into a number DC>> and hey presto nothing works any more. Can we have a construct DC>> to *force* it not to convert these things? I don't get what you are talking about. Can you

Re: [PHP-DEV] Re: PHP 4.0 Bug #9307 Updated: Numeric-looking arraykeys are forced to be integers

2001-03-06 Thread David Croft
function some_generic_function($myarray) { foreach ($myarray as $k => $v) { if (is_string($k)) { /* some behaviour for associative array element */ } else { /* some behaviour for indexed array element */ } } } On Tue, 6 Mar 2001, Stanislav Malyshev wrote: > DC>>

Re: [PHP-DEV] Re: PHP 4.0 Bug #9307 Updated: Numeric-looking arraykeys are forced to be integers

2001-03-06 Thread Stanislav Malyshev
DC>> function some_generic_function($myarray) DC>> { DC>> foreach ($myarray as $k => $v) { DC>> if (is_string($k)) { DC>> /* some behaviour for associative array element */ DC>> } DC>> else { DC>> /* some behaviour for indexed array element */ DC>> } DC>> } DC>> }

[PHP-DEV] Win32 UNC and PHP (fwd)

2001-03-06 Thread Derick Rethans
Hi there We've the same problem as the guy below descript to you (env: Windows 2000 / IIS5). We've migrated some projects from php3 to php4. Now, all functions whit an UNC seams to have problems if they tray to access a file (any function) on a share (-> UNC). If the file is on a local drive, eve

Re: [PHP-DEV] Win32 UNC and PHP (fwd)

2001-03-06 Thread Derick Rethans
This was not my message, but I forwarded it... On Tue, 6 Mar 2001, Derick Rethans wrote: > Hi there > > We've the same problem as the guy below descript to you (env: Windows 2000 / > IIS5). We've migrated some projects from php3 to php4. Now, all functions > whit an UNC seams to have problems if

[PHP-DEV] customized usort && pass by reference... addendum

2001-03-06 Thread Marc Boeren
I know that if I set allow_call_time_pass_reference = On in the ini file and call my c-function with a reference, it works ok. But since this is deprecated, I need some help to set it up correctly for the new situation... Cheerio, Marc. -- PHP Development Mailing List

[PHP-DEV] customized usort && pass by reference...

2001-03-06 Thread Marc Boeren
Hi! In my (C-)module I'm building a customized usort function, that accepts an object as the first argument, and a user-defined function as the second. The object contains an array that I want to sort using the user-defined compare function. If I simulate this in PHP-script, the behaviour sho

Re: [PHP-DEV] php_curl

2001-03-06 Thread Peter
Sorted this out. There is no problem with php_curl in the latest snapshot, just me bing dim... Cheers Peter "Peter Johnson" <[EMAIL PROTECTED]> wrote in message 2DC103B51A1BD211AD0800A0C9DD666E3B2B1D@USLSERVER4">news:2DC103B51A1BD211AD0800A0C9DD666E3B2B1D@USLSERVER4... > Hi there > > I am usi

[PHP-DEV] PHP 4.0 Bug #9582: Config to reduce the session lenght

2001-03-06 Thread frederic . bruneteau
From: [EMAIL PROTECTED] Operating system: Linux Redhat 6.2 PHP version: 4.0.3 PHP Bug Type: *Install and Config Bug description: Config to reduce the session lenght It is possible to reduce the lenght (32 digits) of the session id generated by PHP4 ? Thanks. -- Edit Bug

[PHP-DEV] PHP 4.0 Bug #9583: session variables not kept when using $HTTP_SESSION_VARS and register_globals

2001-03-06 Thread sander
From: [EMAIL PROTECTED] Operating system: Debian GNU stable with unstable php and apache packages PHP version: 4.0.4pl1 PHP Bug Type: *Session related Bug description: session variables not kept when using $HTTP_SESSION_VARS and register_globals Hi, i have this (sample) sc

[PHP-DEV] XHTML conforming nl2br, please!

2001-03-06 Thread Karsten Dambekalns
Hi all! My company is in the process of changing all HTML pages we work on to conform to XHTML. This can be easily done with tolls like tidy or by editing own source code. But if one uses nl2br(), he is stuck. Since I am no C programmer and don't have write access on PHP CVS: Could someone pleas

Re: [PHP-DEV] XHTML conforming nl2br, please!

2001-03-06 Thread Jani Taskinen
Try the latest CVS snapshot from http://snaps.php.net/ as this is already taken care of. And 4.0.5 will have the fixed version. --Jani On Tue, 6 Mar 2001, Karsten Dambekalns wrote: >Hi all! > >My company is in the process of changing all HTML pages we work on to >conform to XHTML. This can be

[PHP-DEV] PHP 4.0 Bug #9446 Updated: CGI version echos first line

2001-03-06 Thread vinay
ID: 9446 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: *Configuration Issues Description: CGI version echos first line Yes, I use Zend Optimizer. Is it causing the problem ? Previous Comments: --

[PHP-DEV] PHP 4.0 Bug #9446 Updated: CGI version echos first line

2001-03-06 Thread stas
ID: 9446 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Configuration Issues Assigned To: Comments: Putting this: zend_optimizer.enable_loader=0 in the php.ini should help you. Previous Comments: -

[PHP-DEV] PHP 4.0 Bug #9580 Updated: .php files do not run

2001-03-06 Thread sniper
ID: 9580 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *Install and Config Assigned To: Comments: You can have more than one suffix in this directive (in httpd.conf) : AddType application/x-httpd-php .php .php4 --Jani Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #9581 Updated: filesystem reading functions (fread, fpassth.)

2001-03-06 Thread sniper
ID: 9581 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Apache related Assigned To: Comments: You propably missed the 'b' in your fopen() call? ie. you should use this in Windows: $fp = fopen ("/home/rasmus/file.gif", "rb"); instead of just

[PHP-DEV] PHP 4.0 Bug #9446 Updated: CGI version echos first line

2001-03-06 Thread vinay
ID: 9446 User Update by: [EMAIL PROTECTED] Status: Closed Bug Type: *Configuration Issues Description: CGI version echos first line there are encoded files on that machine too. By disabling optimizer, all encoded files stop running. Previous Comments: --

Re: [PHP-DEV] XHTML conforming nl2br, please!

2001-03-06 Thread Karsten Dambekalns
On Tue, Mar 06, 2001 at 05:52:59PM +0100, Jani Taskinen wrote: > > Try the latest CVS snapshot from http://snaps.php.net/ > as this is already taken care of. And 4.0.5 will have the > fixed version. Great! Thanks for the quick response! Karsten -- Why do we have to hide from the police, daddy?

[PHP-DEV] PHP 4.0 Bug #9581 Updated: filesystem reading functions (fread, fpassth.)

2001-03-06 Thread mot
ID: 9581 User Update by: [EMAIL PROTECTED] Old-Status: Closed Status: Open Bug Type: Apache related Description: filesystem reading functions (fread, fpassth.) hi jani - that is another way to solve the problem. in documentation, it's said, that fread is binary safe. so this is a documentation

[PHP-DEV] PHP 4.0 Bug #9584: NSAPI PHP eating up all memory on server

2001-03-06 Thread wongh
From: [EMAIL PROTECTED] Operating system: Solaris 2.51 PHP version: 4.0.4pl1 PHP Bug Type: *Web Server problem Bug description: NSAPI PHP eating up all memory on server I have NSAPI PHP module installed with my Netscape Iplanet Web server 4.1SP3. It can run fine with all pa

Re: [PHP-DEV] Bug #8565 -- analyzed, but...?

2001-03-06 Thread Andi Gutmans
I couldn't reproduce this problem. It only happens when you declare the sub-class before you declare the base class. Is this what is happening to you? Or can you send me a very short reproducing set of scripts. Thanks, Andi At 03:17 AM 3/6/2001 -0800, Richard Lee-Morlang wrote: >I ran into b

[PHP-DEV] Re: [PHP-QA] ctype function (re?)naming

2001-03-06 Thread Zak Greant
Hello Everyone, Is anyone bold enough to comment on the suggested names besides Phil? I know that you all have opinions... Don't make me use humor again. This time, I'll make fun of people by name (and by reference - I've got to be thorough) --zak -- PHP Development Mailing List

[PHP-DEV] Function dl()

2001-03-06 Thread Andrew Lawrence
I'm not a member of this list so please CC any replies to me or to the php-gtk list I would like to ask the PHP developers to consider the following change to the function dl() If the module name does not include an extension (i.e. no dot in the module name), add the appropriate extension as

[PHP-DEV] copy of object is not copy PHP4.0.4 serious BUG

2001-03-06 Thread Roland
Hello, consider following two classes: class TDynVars { var $vars; function set ($key, $val) { $this->vars[$key] = $val; } } class TRequest { var $eventData; function TRequest () { $this->eventDa

[PHP-DEV] Re: [PHP-QA] ctype function (re?)naming

2001-03-06 Thread Andi Gutmans
Can you please resend :) Andi At 11:02 AM 3/6/2001 -0700, Zak Greant wrote: >Hello Everyone, > >Is anyone bold enough to comment on the suggested names besides Phil? I know >that you all have opinions... > >Don't make me use humor again. This time, I'll make fun of people by name >(and by refere

Re: [PHP-DEV] copy of object is not copy PHP4.0.4 serious BUG

2001-03-06 Thread Andi Gutmans
There is a problem with deeply places references (often objects) not being full copy constructed but the reference is copied. In order to change the behavior we would have to do a deep copy *everytime* we copy a complex structure. This would be very bad performance wise so except for thinking a

[PHP-DEV] Re: [PHP-QA] ctype function (re?)naming

2001-03-06 Thread Zak Greant
Andi wrote: > Can you please resend :) Your wish is my command! :) --zak This message is a duplicate of a post on Saturday, March 03, 2001: Andi wrote: > We should probably just make a list of all the effected functions and see > which ones we start fixing and which not. Based on Andi's sugg

[PHP-DEV] Re: [PHP-QA] ctype function (re?)naming

2001-03-06 Thread Andi Gutmans
For starters (too long of a list and not that easy to decide on each and everyone of them) I'll give you what I can think of :) I started making a list of what looks OK to me but it became too long so I'll just mention what isn't OK in my opinion. Consider me pretty much pro all the other chan

[PHP-DEV] PHP 4.0 Bug #9585: Apache do not start - Floating Point Exception

2001-03-06 Thread tzetter
From: [EMAIL PROTECTED] Operating system: mips_linux PHP version: 4.0.4pl1 PHP Bug Type: *Web Server problem Bug description: Apache do not start - Floating Point Exception I am currently running PHP3 on a Cobalt Qube 2, I want to add PHP 4, to be used with a PHP 4 written

Re: [PHP-DEV] Re: [PHP-QA] ctype function (re?)naming

2001-03-06 Thread Hellekin O. Wolf
Well, let's start fire =8) I think the compression extensions should follow the same standard. The one you proposed for bzip2 should be applied to gzip functions as well. readgzfile -> gz_readfile (or gzreadfile), at least to keep functions names in alphabetical order ;-) Also, I know the gd ex

Re: [PHP-DEV] Re: [PHP-QA] ctype function (re?)naming

2001-03-06 Thread Derick Rethans
On Tue, 6 Mar 2001, Andi Gutmans wrote: > 6) I think create_function() is OK. There was a long thread which decided > upon this name. Same for function_exists(). Can't we call it lambda()? =) Derick Rethans - PHP: Scri

[PHP-DEV] PHP 4.0 Bug #9586: encrypt(decrypt($value)) != $value

2001-03-06 Thread kameleon
From: [EMAIL PROTECTED] Operating system: Slackware 7.1, kernel 2.4.2 PHP version: 4.0.4pl1 PHP Bug Type: mcrypt related Bug description: encrypt(decrypt($value)) != $value I'm using Apache 1.3.19 (with so-module of course), mhash-0.8.9, libmcrypt-2.4.9, mcrypt-2.5.5 (last

[PHP-DEV] PHP 4.0 Bug #9587: obj->method()->method2() doesn't work!!

2001-03-06 Thread docwhat
From: [EMAIL PROTECTED] Operating system: Linux/Debian(Woody) PHP version: 4.0.4pl1 PHP Bug Type: Class/Object related Bug description: obj->method()->method2() doesn't work!! You cannot do the following: obj->method()->method2(); Mini example: class Foo{ var $obj; se

RE: [PHP-DEV] Rsync and CVS

2001-03-06 Thread Simon Roberts
Jim, >right now, there's a mix of entries in the notes database marked >using the page title and the page id. the ones identified only by >title need to get fixed in the database. Out of interest, why did we change to using the page id? >but mainly 'getting it into the rsync repository' was wha

[PHP-DEV] object->method() chaining

2001-03-06 Thread The Doctor What
I'm currently working on the DB project from h*ll. Why? Because a lot of the tables of the normalized DB are mapped into objects and PHP's object support questionable at best. I've worked around the lack of multiple inheritance, and some of the other problems. But the inability to do something

Re: [PHP-DEV] object->method() chaining

2001-03-06 Thread Andi Gutmans
Hi, We are aware of this limitation. I am trying to think of a good way to solve this and it isn't trivial. I'll try and come up with something. Andi At 02:41 PM 3/6/2001 -0600, The Doctor What wrote: >I'm currently working on the DB project from h*ll. Why? Because >a lot of the tables of th

[PHP-DEV] PHP 4.0 Bug #9588: Compile failure with glibc 2.1.2 and 2.4.2 kernel

2001-03-06 Thread chrish
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: Compile failure with glibc 2.1.2 and 2.4.2 kernel Compiling PHP with a fairly old version of glibc (2.1.2) on the new 2.4.X (specifically 2.4.2) series of Li

[PHP-DEV] PHP 4.0 Bug #9589: Compile failure with glibc 2.1.2 and 2.4.2 kernel

2001-03-06 Thread chrish
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: Compile failure with glibc 2.1.2 and 2.4.2 kernel Compiling PHP with a fairly old version of glibc (2.1.2) on the new 2.4.X (specifically 2.4.2) series of Li

Re: [PHP-DEV] object->method() chaining

2001-03-06 Thread The Doctor What
* Andi Gutmans ([EMAIL PROTECTED]) [010306 14:50]: > Hi, > > We are aware of this limitation. I am trying to think of a good way to > solve this and it isn't trivial. I'll try and come up with something. > > Andi I'll send you something Rackspace-ish if you solve this. Currently, this problem

[PHP-DEV] PHP 4.0 Bug #9589 Updated: Compile failure with glibc 2.1.2 and 2.4.2 kernel

2001-03-06 Thread derick
ID: 9589 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Compile Failure Assigned To: Comments: Submitted twice Previous Comments: --- [2001-03-06 16:01:19] [EMAIL PROTECTED] Comp

[PHP-DEV] OO overloading

2001-03-06 Thread Jason Greene
Andi,       I just started working on an InterMail extension for php. I am not sure if I can release it into the tree (openwave has some licensing issues), but If I can I will add it in the future. Anyways, I am in the initial phases of this project, and I was considering using the Zend OO

Re: [PHP-DEV] Bug #8565 -- analyzed, but...?

2001-03-06 Thread Richard Lee-Morlang
On Tue, Mar 06, 2001 at 07:55:23PM +0200, Andi Gutmans wrote: > I couldn't reproduce this problem. It only happens when you declare the > sub-class before you declare the base class. > Is this what is happening to you? Or can you send me a very short > reproducing set of scripts. I sent scripts

[PHP-DEV] RE: PHP 4.0 Bug #9569 Updated: configure ignores --with-ttf

2001-03-06 Thread Mike Gibbons
Hi Jani, Thanks, you guys are first class. Sorry if I mis-reported this as a bug - I had done extensive research (literally days) on the newsgroup before deciding to report it as a bug. Your advice solved the inclusion of FreeType support problem, but I was still left with "checking whether to

Re: [PHP-DEV] Rsync and CVS

2001-03-06 Thread Boian Bonev
hi, > I was thinking of /manual/usernotes/TOPIC.txt, where TOPIC is the subject in > question. The contents of those files would just be a serialize array, > exactly as would be returned by the DB. My local setup actually does that, > but loading those files requires a semi-backdoor into www.php

RE: [PHP-DEV] Rsync and CVS

2001-03-06 Thread Simon Roberts
>i'd suggest to make things simpler - just plain pre-generated html with the >notes part. name it after TOPIC and include it in the proper place. the >generator script may run as cron job. there is only one problem - to prevent >rsync client from getting a semi-generated copy. this can be achieved

Re: [PHP-DEV] Rsync and CVS

2001-03-06 Thread Boian Bonev
hi, > >i'd suggest to make things simpler - just plain pre-generated html with the > >notes part. name it after TOPIC and include it in the proper place. the > >generator script may run as cron job. there is only one problem - to > prevent > >rsync client from getting a semi-generated copy. this

Re: [PHP-DEV] Rsync and CVS

2001-03-06 Thread Jim Winstead
On Wed, Mar 07, 2001 at 09:34:36AM +1300, Simon Roberts wrote: > >right now, there's a mix of entries in the notes database marked > >using the page title and the page id. the ones identified only by > >title need to get fixed in the database. > > Out of interest, why did we change to using the p

[PHP-DEV] Bug #9590: Error in installation, file not included?

2001-03-06 Thread dselman
From: [EMAIL PROTECTED] Operating system: Windows NT PHP version: 3.0.17 PHP Bug Type: Installation problem Bug description: Error in installation, file not included? I took a snapshot of the error message box, it can be found here: http://www.elderlawassociates.com/error.g

  1   2   >