[PHP-DEV] Detecting multiple execution of the script. (trace log?)

2001-09-02 Thread Yasuo Ohgaki
Dear folks, I've experieced that PHP executing the same script multiple times again. First time was when foreach() was destorying memory due to invalid data type is passed to foreach(). (Fixed by Andi. Thanks) Now I have another code that make script execute multiple times. (PHP 4.0.7RC1, PHP

[PHP-DEV] Re: base_convert() broken

2001-09-02 Thread Sebastian Bergmann
Stanislav Malyshev wrote: > SB>> Warning: base_to_long: > SB>> number 'fffb9064' is too big to fit in long > SB>> > SB>> with class.id3.php (http://Leknor.com/code/). The call to > SB>> base_convert() looks as follows > SB>> > SB>> $bits = base_convert($bits['bits'],16,2); > SB>>

[PHP-DEV] Bug #11168 Updated: Problem with serializing more dimensional array with references ...

2001-09-02 Thread sander
ID: 11168 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Duplicate Status: Feedback Old Bug Type: Feature/Change Request Bug Type: Arrays related Operating System: RedHat PHP Version: 4.0.5 New Comment: Well... I thought serialize couldn't handle references at all... but it can (th

[PHP-DEV] Bug #11168 Updated: Problem with serializing more dimensional array with references ...

2001-09-02 Thread sander
ID: 11168 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Arrays related Operating System: RedHat PHP Version: 4.0.5 Previous Comments: [2001-09-01 22:41:51] [EMAIL PROTECTED]

Re: [PHP-DEV] Re: base_convert() broken

2001-09-02 Thread Stanislav Malyshev
SB>> > Actually, the Even More Right Thing To Do (TM) would be for this SB>> > function to switch to floats once you go over long limit, but I SB>> > had not time to do it then. SB>> SB>> Any update on this? No, not yet - had no time. This requires some changes over the code, since now it's har

Re: [PHP-DEV] Re: base_convert() broken

2001-09-02 Thread Sebastian Bergmann
Stanislav Malyshev wrote: > I'll try to find some time this week. Great, thanks. -- Sebastian Bergmann Measure Traffic & Usability http://sebastian-bergmann.de/http://phpOpenTracker.de/ -- PHP Development Mailing List To unsubscribe,

[PHP-DEV] Bug #13094: Upload very slow

2001-09-02 Thread mvl
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: Performance problem Bug description: Upload very slow ?php if(is_uploaded_file($userfile)) { $FileNameAdd = $FileName; //Prefix

[PHP-DEV] Bug #13094 Updated: Upload very slow

2001-09-02 Thread jeroen
ID: 13094 Updated by: jeroen Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Performance problem Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: Seems duplicate of 2291, but that one should be fixed in 4.0.6 Previous Comments:

Re: [PHP-DEV] Bug #13094 Updated: Upload very slow

2001-09-02 Thread Andi Gutmans
I think the problem is the fact that we read all of the file into Memory (and therefore probably swap). I couldn't see any erealloc()'s in the code so I'd bet on the former problem. Maybe ASP writes out the file while it's arriving. Anyone have any ideas? Andi At 03:17 PM 9/2/2001 +, [EMA

Re: [PHP-DEV] Bug #13094 Updated: Upload very slow

2001-09-02 Thread Jeroen van Wolffelaar
> I think the problem is the fact that we read all of the file into Memory That seems like a bad idea to me... it doesn't get in PHP directly, only after specific request. So you mean that PHP read's the whole file, than writes it to /tmp (or c:\temp), and then clears the memory again? If that's

[PHP-DEV] Bug #13094 Updated: Upload very slow

2001-09-02 Thread jeroen
ID: 13094 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Open Status: Analyzed Bug Type: Performance problem Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: This has nothing to do with 2291. The problem probably is that PHP takes all HTTP-post data into it's memor

[PHP-DEV] [C] struct, function pointers question

2001-09-02 Thread jeroen
Hi, I've got certain way to do something, but can't get it to compile. This relevant source is attached, I really expected it to compile... The errors are: struct_question.c: In function `some_function': struct_question.c:23: arithmetic on pointer to an incomplete type struct_question.c:23: par

Re: [PHP-DEV] Bug #13094 Updated: Upload very slow

2001-09-02 Thread jimw
there's code to do this (for apache) in libapreq (http://httpd.apache.org/apreq/). this is probably something that php should fix in the sapi layer. while the libapreq code obviously won't work for other servers, it may be a good source of code. jim Andi Gutmans <[EMAIL PROTECTED]> wrote: > I th

Re: [PHP-DEV] [C] struct, function pointers question

2001-09-02 Thread Zeev Suraski
You're missing a variable name (you only put a type), and the line is not in the beginning of a code block (there's a statement before it). Zeev At 19:35 02-09-01, [EMAIL PROTECTED] wrote: >Hi, > >I've got certain way to do something, but can't get it to compile. This >relevant source is attach

Re: [PHP-DEV] [C] struct, function pointers question

2001-09-02 Thread Jeroen van Wolffelaar
Hi, I'm sure there's some simple (stupid?) error, which an experienced C-programmer can see immediately... But I don't. > You're missing a variable name (you only put a type), and the line is not > in the beginning of a code block (there's a statement before it). php_randgen_entry is (supposed

Re: [PHP-DEV] [C] struct, function pointers question

2001-09-02 Thread Zeev Suraski
At 20:41 02-09-01, Jeroen van Wolffelaar wrote: >Hi, > >I'm sure there's some simple (stupid?) error, which an experienced >C-programmer can see immediately... But I don't. > > > You're missing a variable name (you only put a type), and the line is not > > in the beginning of a code block (there's

[PHP-DEV] Bug #13095: Deadlock in mod_mm (garbage collection)

2001-09-02 Thread csaout
From: [EMAIL PROTECTED] Operating system: Linux 2.4.4 (i686) PHP version: 4.0.6 PHP Bug Type: Session related Bug description: Deadlock in mod_mm (garbage collection) Symtom: httpd eats 100% CPU and locks up all other httpds trying to access session data (due to lock_mm)

Re: [PHP-DEV] Freshmeat.net needs to know who is responsible.

2001-09-02 Thread Stig Sæther Bakken
[Stephen Graham <[EMAIL PROTECTED]>] > Howdy, > > I am writing on behalf of freshmeat.net. PHP is listed there, yet I > do not have a contact e-mail for the person responsible for the > freshmeat.net project listing. As I am sure you can see, this makes > it VERY diffcult to contact the correct

[PHP-DEV] Bug #13096: session_register doesn't work with 16 character variable name

2001-09-02 Thread mckaym
From: [EMAIL PROTECTED] Operating system: Windows NT 4 Sp6 PHP version: 4.0.6 PHP Bug Type: Session related Bug description: session_register doesn't work with 16 character variable name Trying to register a variable with 16 characters in it's name doesn't work -- Edit bug

[PHP-DEV] Bug #13096 Updated: session_register doesn't work with 16 character variable name

2001-09-02 Thread mckaym
ID: 13096 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Windows NT 4 Sp6 PHP Version: 4.0.6 New Comment: Example Code: $MMBetaDepartment = 'bad name'; $MMBetaDepart = 'good name'; session_register("MMBetaDepart","

[PHP-DEV] Bug #13097: strange linebreaks in decoded base64 string

2001-09-02 Thread simon
From: [EMAIL PROTECTED] Operating system: WinNT 4.0 PHP version: 4.0.4pl1 PHP Bug Type: IMAP related Bug description: strange linebreaks in decoded base64 string imap_base64 seems to produce strang linebreaks in a decoded string. For example, I've a JPEG file to decode. The

[PHP-DEV] Bug #13097 Updated: strange linebreaks in decoded base64 string

2001-09-02 Thread sniper
ID: 13097 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: IMAP related Operating System: WinNT 4.0 PHP Version: 4.0.4pl1 New Comment: Do you happen to read that file with fopen() / fread() ? Can you attach a complete but short example script? --Ja

[PHP-DEV] Bug #13094 Updated: Upload very slow

2001-09-02 Thread jeroen
ID: 13094 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Analyzed Status: Assigned Bug Type: Performance problem Operating System: Windows 2000 PHP Version: 4.0.6 Old Assigned To: Assigned To: jani New Comment: Work in progress... Previous Comments: --

[PHP-DEV] Bug #13098: Problems to bring up IIS after shutting it down through a command prompt.

2001-09-02 Thread ilfasdy
From: [EMAIL PROTECTED] Operating system: Microsoft Windows 2000 PHP version: 4.0.6 PHP Bug Type: IIS related Bug description: Problems to bring up IIS after shutting it down through a command prompt. I read the Beginning PHP4 book from Wrox. When I got myself to page 28 w

[PHP-DEV] RAND_REDIGN

2001-09-02 Thread jeroen
Hi all, The RAND_REDESIGN branch is now merged into MAIN. The functions should now already work as I proposed in my proposal (except that there are no PHP-constants yet registered... MT=2, system=0). It probably still needs some refinements, but it should work. Greetz, Jeroen -- PHP Develop

Re: [PHP-DEV] RAND_REDIGN

2001-09-02 Thread Jeroen van Wolffelaar
> Also, I ask again: Why didn't you just add new function random() > instead of changing all this and breaking BC. I DID NOT BREAK BC. Sorry, but this has been discussed dozens of times... --jeroen -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTE

[PHP-DEV] Re: [PHP-CVS] cvs: php4 / NEWS

2001-09-02 Thread Jeroen van Wolffelaar
> I was waiting for you to tell that now the branch works and I could > test it and say 'good, this works you can merge'. I'm sure everybody > else waited for same. You do NOT need the implementation to know how it is going to be. I explained that multiple times, and everybody (though silently) a

[PHP-DEV] Re: [PHP-CVS] cvs: php4 / NEWS

2001-09-02 Thread Jeroen van Wolffelaar
> (and *yes* I'm angry, and *yes* I'm talking to someone in particular). And I'm now going to sleep before it gets worse. Good night, Jeroen -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To co

[PHP-DEV] Bug #13099: imagecopyresized

2001-09-02 Thread boool
From: [EMAIL PROTECTED] Operating system: Win98 (php4win 4.0.7 dev) PHP version: 4.0.6 PHP Bug Type: GD related Bug description: imagecopyresized I have a problem with the imagecopyresized function. When I try to use it, it resize my picture, but don't copy the src pict,

[PHP-DEV] Rand Changes

2001-09-02 Thread Sterling Hughes
Howdy, I have a few problems with the latest random number related commits, most importantly being the quality of the underlying code, rather than some of the changes it implements (which are also un-necessary, imho, if it ain't broke -- don't "fix" it). 1) On a style not

[PHP-DEV] RC2

2001-09-02 Thread Zeev Suraski
(I forgot to send to php-dev on the first strike) I think it's time for RC2. Barring unexpected surprises, let's set for this Wednesday? Zeev -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP-DEV] Bug #13099 Updated: imagecopyresized

2001-09-02 Thread rasmus
ID: 13099 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: GD related Operating System: Win98 (php4win 4.0.7 dev) PHP Version: 4.0.6 New Comment: Not really a PHP issue. It is an issue in GD2. Use ImageCopyResampled() for truecolour images. Previous

[PHP-DEV] Hugo Jorge Ferreira/doi/ep/bportugal encontra-se ausente.

2001-09-02 Thread Hugo_Jorge_Ferreira/doi/ep/bportugal%BPORTUGAL
I will be out of the office starting 01-09-2001 and will not return until 20-09-2001. Darei seguimento à sua mensagem assim que retornar. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RC2

2001-09-02 Thread Sascha Schumann
> Someone should fix that build problem we have before RC2. > I have no ideas how to fix it. Sascha? The problem was > introduced by the workaround fix you committed.. What problem? - Sascha Experience IRCG http://schumann.cx/http

[PHP-DEV] Re: Detecting multiple execution of the script. (trace log?)

2001-09-02 Thread Yasuo Ohgaki
Yasuo Ohgaki wrote: > Is it feasible to add trace log option that enables logging > function/class method names called? (At least for debug enabled PHP?) I'm lazy to add trace log calls in functins in PHP script. It seems relatively easy to add function call trace log. This is quick and dirty

Re: [PHP-DEV] Re: Detecting multiple execution of the script. (trace log?)

2001-09-02 Thread George Schlossnagle
Check out APD (http://apc.communityconnect.com/apd-cvs.tar.gz). It does what you're looking for as an engine extension. George On Sunday, September 2, 2001, at 09:53 PM, Yasuo Ohgaki wrote: > Yasuo Ohgaki wrote: > >> Is it feasible to add trace log option that enables logging >> function/cla

[PHP-DEV] Compile errors/warnings in HEAD branch

2001-09-02 Thread Sebastian Bergmann
basic_functions.c D:\home\php\php4\ext\standard\basic_functions.c(953) : warning C4013: 'zm_startup_rand' undefined; D:\home\php\php4\ext\standard\basic_functions.c(1040) : warning C4013: 'zm_activate_rand' undefined rand.c D:\home\php\php4\ext\standard\rand.c(49) : warning C4013: 'zm_startup_ra

[PHP-DEV] Bug #13100: Apache 1.3.20 - php 406. API Version problem

2001-09-02 Thread fcmaia
From: [EMAIL PROTECTED] Operating system: Debian Linux 2.2 unstable PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: Apache 1.3.20 - php 406. API Version problem while compiling my own module, I got this problem. Maybe it's going to be dificult to ge

[PHP-DEV] Bug #13101: PEAR mysql DB selection problem

2001-09-02 Thread max
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: PEAR mysql DB selection problem Using the MySQL PEAR DB classes, it is not possible to use 2 different databases within the same script, unless the