[PHP-DEV] RE: Re: How do I register a constructor in PHP (C code)

2001-09-26 Thread Emanuel Dejanu
I have write using the init but still do not work. Any other ideea. Best regards, Emanuel Dejanu -Original Message- From: Hansuck Jo [mailto:sizer@.php.net] Sent: Tuesday, September 25, 2001 6:31 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] Re: How do I register a constructor in

RE: [PHP-DEV] How do I register a constructor in PHP (C code)

2001-09-26 Thread Emanuel Dejanu
I have put zend_class_entry variabiles global and still no success in having my constructor called. You PHP guru do not have any ideea what is the problem. Best regards, Emanuel Dejanu -Original Message- From: Jeff Hughes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25,

Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions

2001-09-26 Thread Andi Gutmans
At 09:12 PM 9/25/2001 +0200, Stig Sæther Bakken wrote: But just to get back to release frequency, I do think we release too seldom. There's a lot of process in place now, with a QA branch and all. I think this process is good, but it's congesting. At this point we're almost ready to start the

Re: [PHP-DEV] mod_php4 question...

2001-09-26 Thread Andi Gutmans
We actually use the getcwd() result in order to support good error messages and include_once() and friends. It's a bit sucky that getcwd() is so slow on Solaris. On Linux it's extremely fast because it doesn't do a million chdir(..). I'm not that enthusiastic about changing the current

Re: [PHP-DEV] RE: Re: How do I register a constructor in PHP (C code)

2001-09-26 Thread Hansuck Jo
hm... ZEND_* functions instead PHP_* functions. This is sample code..(of course. You must include zend.h etc..) static zend_function_entry scl_functions[] = { {NULL, NULL, NULL} }; zend_module_entry scl_module_entry = { scl, scl_functions, ZEND_MINIT(scl),

[PHP-DEV] Bug #13446: Compile fails in Zend with NSAPI and GCC 3

2001-09-26 Thread ant
From: [EMAIL PROTECTED] Operating system: Solaris 2.6/7/8 PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: Compile fails in Zend with NSAPI and GCC 3 Compile fails with STL errors in the Zend parser. Using Solaris OS various versions. Using GCC 3 from

[PHP-DEV] Bug #13446 Updated: Compile fails in Zend with NSAPI and GCC 3

2001-09-26 Thread derick
ID: 13446 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Compile Failure Operating System: Solaris 2.6/7/8 PHP Version: 4.0.6 New Comment: If it's fixed in CVS, it is not a bug anymore. Closing... Derick Previous Comments:

Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions

2001-09-26 Thread Hartmut Holzgraefe
Andi Gutmans wrote: Speaking of 4.0.7, I think it's time for RC3 and then a quick release :) Anyone have anything to commit before that? yes, a bunch of ext/dbplus stuff i won't touch the config.m4 and it does not interfere with other extensions afaik i'm the only one to test it anyway and

RE: [PHP-DEV] RE: Re: How do I register a constructor in PHP (C code)

2001-09-26 Thread Emanuel Dejanu
tr(/PHP_/ZEND_/) and still do not work. I have compared your example with my code and no difference found on it. Have you any other suggestions. I really need the constructor and I can not do it. Best regards, Emanuel Dejanu P.S. I run Apache 1.3.20 PHP 4.0.6 Linux 2.2.18-SMP SuSE 7.1 on

[PHP-DEV] Bug #13447: Security not blocking unlink delete functions

2001-09-26 Thread ajo
From: [EMAIL PROTECTED] Operating system: windows 2000 PHP version: 4.0.6 PHP Bug Type: Filesystem function related Bug description: Security not blocking unlink delete functions Running PHP in Apache using the MODULE configuration. Apache/1.3.14 (Win32) PHP/4.0.6

Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions

2001-09-26 Thread Stig Sæther Bakken
[Andi Gutmans [EMAIL PROTECTED]] At 09:12 PM 9/25/2001 +0200, Stig Sæther Bakken wrote: But just to get back to release frequency, I do think we release too seldom. There's a lot of process in place now, with a QA branch and all. I think this process is good, but it's congesting. At this

[PHP-DEV] zip ext compile problem

2001-09-26 Thread Holger Schopohl
Hi, in the current cvs tree the zip extension have problems to compile with zziplib 0.10.27 zip.c: In function `zif_zip_entry_open': zip.c:265: parse error before `else' zip.c: At top level: zip.c:266: parse error before `return' zip.c: In function `zif_zip_entry_read': zip.c:290: parse error

Re: [PHP-DEV] How do I register a constructor in PHP (C code)

2001-09-26 Thread Jeff Hughes
Another thing I noticed is that you didn't end the zend_function_entry list with { NULL, NULL, NULL }. That could cause some problems too. Jeff On Wed, Sep 26, 2001 at 09:55:35AM +0300, Emanuel Dejanu wrote: I have put zend_class_entry variabiles global and still no success in having my

[PHP-DEV] Re: zip ext compile problem

2001-09-26 Thread Jeroen van Wolffelaar
Fixed - Original Message - From: Holger Schopohl [EMAIL PROTECTED] Newsgroups: php.dev To: [EMAIL PROTECTED] Sent: Wednesday, September 26, 2001 10:51 AM Subject: zip ext compile problem Hi, in the current cvs tree the zip extension have problems to compile with zziplib 0.10.27

RE: [PHP-DEV] How do I register a constructor in PHP (C code)

2001-09-26 Thread Emanuel Dejanu
I have them in my code. I have miss them in my e-mail, sorry. Have somebody an real example that is working, really checked because I have really check all the sources and found anything!!! Thanks, Emanuel Dejanu -Original Message- From: Jeff Hughes [mailto:[EMAIL PROTECTED]] Sent:

Re: [PHP-DEV] Bug in autoconf report

2001-09-26 Thread Hartmut Holzgraefe
Jeroen van Wolffelaar wrote: Yes, retrieving the whole CVS again takes quite some time again... what's the command to clean all files that are not from CVS, so that I've got a really clean tree again? make clean / make distclean? (But they don't yet work before you run configure...) So you

Re: [PHP-DEV] How do I register a constructor in PHP (C code)

2001-09-26 Thread Markus Fischer
On Wed, Sep 26, 2001 at 12:13:36PM +0300, Emanuel Dejanu wrote : I have them in my code. I have miss them in my e-mail, sorry. Have somebody an real example that is working, really checked because I have really check all the sources and found anything!!! Maybe you can find useful information

[PHP-DEV] Bug #13448: The recode_string() function doesn't work.

2001-09-26 Thread snooze99
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.5 PHP Bug Type: Unknown/Other Function Bug description: The recode_string() function doesn't work. The recode_string() function doesn't work. -- Edit bug report at: http://bugs.php.net/?id=13448edit=1 -- PHP

[PHP-DEV] Bug #13448 Updated: The recode_string() function doesn't work.

2001-09-26 Thread derick
ID: 13448 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Unknown/Other Function Operating System: PHP Version: 4.0.5 New Comment: What does not work? Please add a short script so that we can check what goes wrong. Derick Previous Comments:

[PHP-DEV] Bug #13448 Updated: The recode_string() function doesn't work.

2001-09-26 Thread snooze99
ID: 13448 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Unknown/Other Function Operating System: PHP Version: 4.0.5 New Comment: The parser say's: Call to undefined function: recode_string() in ... . So, is the function not

[PHP-DEV] Bug #13448 Updated: The recode_string() function doesn't work.

2001-09-26 Thread mfischer
ID: 13448 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Unknown/Other Function Operating System: PHP Version: 4.0.5 New Comment: You haven't compiled your php version with support for recode. It depends on an external librecode library. Next

RE: [PHP-DEV] RE: Re: How do I register a constructor in PHP (C code)

2001-09-26 Thread Emanuel Dejanu
Thank you for the example. Is working. I was figure out what was the problem: INIT_CLASS_ENTRY(rt66class_class_entry, RT66Class, /* here */ php_rt66class_class_functions); writing RT66Class do not work, but writing rt66class is working!!! Many thanks for your help, Emanuel Dejanu

Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions

2001-09-26 Thread Andi Gutmans
At 10:48 AM 9/26/2001 +0200, Stig Sæther Bakken wrote: [Andi Gutmans [EMAIL PROTECTED]] At 09:12 PM 9/25/2001 +0200, Stig Sæther Bakken wrote: But just to get back to release frequency, I do think we release too seldom. There's a lot of process in place now, with a QA branch and all.

[PHP-DEV] Bug #13449: php.net: search bug

2001-09-26 Thread ivan
From: [EMAIL PROTECTED] Operating system: mac os 9.1 PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: php.net: search bug Searching php.net and got this..:: Displaying results to ht://Dig error   next page

[PHP-DEV] Re: zip ext compile problem

2001-09-26 Thread Holger Schopohl
In article 00d101c1466a$ad962320$040a@giga, [EMAIL PROTECTED] says... Fixed Hmm, i have even now: zip.c: In function `zif_zip_entry_open': zip.c:263: warning: assignment makes integer from pointer without a cast zip.c: In function `zif_zip_entry_read': zip.c:287: parse error before `else'

Re: [PHP-DEV] Re: zip ext compile problem

2001-09-26 Thread derick
Hello Holger, fixed now. Oh Jeroen, you did test this commit too ofcourse...? regards, Derick On Wed, 26 Sep 2001, Holger Schopohl wrote: In article 00d101c1466a$ad962320$040a@giga, [EMAIL PROTECTED] says... Fixed Hmm, i have even now: zip.c: In function `zif_zip_entry_open':

[PHP-DEV] Bug #11658: COM passing by refrence

2001-09-26 Thread Crawley
[2001-07-05 20:43:44] [EMAIL PROTECTED] but by definition every interface derived from IDispatch that should support references must expect VARIANT *var instead of anothertype *var . am i wrong ? [2001-07-23 13:50:06] [EMAIL PROTECTED] doesn't work with VBScript either and due to the provided

[PHP-DEV] Bug #13450: Save method adds delimiters

2001-09-26 Thread paul
From: [EMAIL PROTECTED] Operating system: Win 2000 PHP version: 4.0.6 PHP Bug Type: OCI8 related Bug description: Save method adds delimiters When using the lob-save method after posting data from a form php string delimiters are inserted before the lob is written to the

[PHP-DEV] Bug #13451: no images ;(

2001-09-26 Thread gospos
From: [EMAIL PROTECTED] Operating system: FreeBSD 4.4/Windows 98 SE PHP version: 4.0.6 PHP Bug Type: GD related Bug description: no images ;( after upgrade from version 4.0.4pl1 to 4.0.6, i cannot generate images ;( i don't know why: maybe i've missed some install or

[PHP-DEV] Bug #13451 Updated: no images ;(

2001-09-26 Thread derick
ID: 13451 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: GD related Operating System: FreeBSD 4.4/Windows 98 SE PHP Version: 4.0.6 New Comment: Very likely not a bug, try asking on the [EMAIL PROTECTED] or [EMAIL PROTECTED] mailinglist for support

[PHP-DEV] Bug #13452: compiling fails because of missing target to 'zend_lanuage_scanner.lo'

2001-09-26 Thread MDecke
From: [EMAIL PROTECTED] Operating system: solaris 8 PHP version: 4.0CVS-2001-09-26 PHP Bug Type: Compile Failure Bug description: compiling fails because of missing target to 'zend_lanuage_scanner.lo' Hello Developers i installed all recommended files gcc, make, flex

[PHP-DEV] Bug #13452 Updated: compiling fails because of missing target to 'zend_lanuage_scanner.lo'

2001-09-26 Thread MDecke
ID: 13452 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: solaris 8 PHP Version: 4.0CVS-2001-09-26 New Comment: used tools - autoconf 2.13 - automake 1.4 - bison 1.28 - flex 2.5.4a - gcc 3.0.1 - m4 1.4 - make

Re: [PHP-DEV] Bug #13452 Updated: compiling fails because of missingtarget to 'zend_lanuage_scanner.lo'

2001-09-26 Thread Sascha Schumann
- gcc 3.0.1 GNU binutils might be required to support GCC-3.0.1 on your platform. - Sascha Experience IRCG http://schumann.cx/http://schumann.cx/ircg -- PHP Development Mailing List http://www.php.net/ To unsubscribe,

[PHP-DEV] Bug #12678 Updated: gethostbyname returns hostname instead of adresss

2001-09-26 Thread bobsledbob
ID: 12678 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Duplicate Status: Open Bug Type: Network related Operating System: Linux 2.2.16-22 PHP Version: 4.0.6 New Comment: I'm having a hard time understanding how bug 13243 has anything to do with this bug.

[PHP-DEV] PHP/Zend Virtual Machine Documentation

2001-09-26 Thread Simon Wistow
I'm playing around with translating PHP byte code to the Parrot Virtual Machine - the new virtual machine being designed and built for Perl 6 specifically with translation between languages in mind (there's already work being done on Python VM and JVM conversions). Many of the opcodes look like

[PHP-DEV] Bug #13454: odbc_execute gives SQL data type out of range error for store procedure

2001-09-26 Thread gordonl
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.4pl1 PHP Bug Type: ODBC related Bug description: odbc_execute gives SQL data type out of range error for store procedure I am going to an informix 9.3 server and the following code works: $ce_notes

Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions

2001-09-26 Thread Joao Prado Maia
On Wed, 26 Sep 2001, Andi Gutmans wrote: I think the key still lies in creating a repository for C extensions where each extension can have its own release cycle. That is also true, but we still need a reliable way to check for the version of specific extensions. Having just bumped into an

Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions

2001-09-26 Thread Andi Gutmans
At 12:01 PM 9/26/2001 -0400, Joao Prado Maia wrote: On Wed, 26 Sep 2001, Andi Gutmans wrote: I think the key still lies in creating a repository for C extensions where each extension can have its own release cycle. That is also true, but we still need a reliable way to check for the

[PHP-DEV] PostgreSQL / PHP Overrun Error

2001-09-26 Thread Mike Rogers
I have just upgraded to the new PostgreSQL 7.1.3 (from 7.0.3) and have been experiencing a pretty serious problem: On one particular page, in what seems to be completely random instances, I get buffer overruns and either 0-rows or a crashed apache child. Turning on PHP's --enable-debug, I

[PHP-DEV] Bug #13455: Using include() with Apache ErrorDocument directive can crash the webserver

2001-09-26 Thread manitu
From: [EMAIL PROTECTED] Operating system: Any Linux with any Apache PHP version: 4.0.6 PHP Bug Type: Apache related Bug description: Using include() with Apache ErrorDocument directive can crash the webserver HOW TO REPRODUCE 1. You must run Apache in any version on a

[PHP-DEV] Bug #13456: mysql_query() returns incorrect result whith do not perform real MySQL state

2001-09-26 Thread newland
From: [EMAIL PROTECTED] Operating system: Linix PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: mysql_query() returns incorrect result whith do not perform real MySQL state We use MySQL 3.22.32 and recive false using mysql_query() wherever SQL is correct

[PHP-DEV] Bug #13457: function_exists always returns false

2001-09-26 Thread prottoss
From: [EMAIL PROTECTED] Operating system: Linux 2.4.9 PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: function_exists always returns false function_exists() always returns false regardless of the specified input unless the function is not part of

[PHP-DEV] Bug #13458 Updated: mysql_query() returns incorrect result whith do not perform real MySQL state

2001-09-26 Thread derick
ID: 13458 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: MySQL related Operating System: PHP Version: 4.0.6 New Comment: Submitted twice Previous Comments: [2001-09-26

[PHP-DEV] Bug #13457 Updated: function_exists always returns false

2001-09-26 Thread derick
ID: 13457 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Unknown/Other Function Operating System: Linux 2.4.9 PHP Version: 4.0.6 New Comment: Not a bug, include_once is not a function, but a language construct. And thus it does not appear in Zend's

[PHP-DEV] more than 130 warning during compile ?

2001-09-26 Thread Holger Schopohl
Hi, is it normal that a simple compile results more than 130 warnings? here is my warning results: zend_language_scanner.c:2714: warning: `yy_last_accepting_state' defined but not used zend_language_scanner.c:2715: warning: `yy_last_accepting_cpos' defined but not used

[PHP-DEV] chunk_split seg fault: bt

2001-09-26 Thread Steve Alberty
Hi, chunk_split in the follow code snip ?php echo chunk_split(str_repeat('x',1024),10); ? produces sometimes a seg. fault. Here is the backtrace, i hope it helps a little bit: Program received signal SIGSEGV, Segmentation fault. 0x400cb007 in memcpy (dstpp=0x81926e0, srcpp=0x81922a8,

[PHP-DEV] GD seg fault on save: (bt) - 2.gd [0/1]

2001-09-26 Thread Steve Alberty
Hi, i have create a gd image with the gd tools and the follow code produces a seg fault. ?php $im_main=ImageCreateFromGD('2.gd'); ImageJPEG($im_main); ? The problem is _not_ ImageJPEG! You can reproduce the problem also with ImagePNG. here is the backtrace: Program received signal

[PHP-DEV] GD seg fault on save: (bt) - 2.gd [1/1]

2001-09-26 Thread Steve Alberty
begin 755 2.gd M__\`%0`:`?]_?W]_?W]_?W__ M__]_=[!P']_?W]_?W]_?___ M_W]_?W]_?W]_?W]A\M+1 M+_7:V17LNKA'WHJ'=EVG]_?W]_?W]_

Re: [PHP-DEV] more than 130 warning during compile ?

2001-09-26 Thread derick
Hello, what is your configure line? Derick On Wed, 26 Sep 2001, Holger Schopohl wrote: Hi, is it normal that a simple compile results more than 130 warnings? here is my warning results: zend_language_scanner.c:2714: warning: `yy_last_accepting_state' defined but not used

[PHP-DEV] Bug #13459: ifx_connect: E [SQLSTATE=IX 000 SQLCODE=-439]

2001-09-26 Thread lzanuz
From: [EMAIL PROTECTED] Operating system: Linux 2.2 PHP version: 4.0.5 PHP Bug Type: Informix related Bug description: ifx_connect: E [SQLSTATE=IX 000 SQLCODE=-439] It's happenning the error -439 in my site. But I never got the ways it happens because it occurs just

Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions

2001-09-26 Thread Joao Prado Maia
On Wed, 26 Sep 2001, Andi Gutmans wrote: I agree completely. We need a way to check what version each extension is. We have broken BC quite a bit in 4.0.7 so maybe we should add this to 4.0.7 so that we can get this whole external C extension thing going ASAP? If I could vote on this I

[PHP-DEV] Bug #13459 Updated: ifx_connect: E [SQLSTATE=IX 000 SQLCODE=-439]

2001-09-26 Thread derick
ID: 13459 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Analyzed Bug Type: Informix related Operating System: Linux 2.2 PHP Version: 4.0.5 New Comment: Informix throws the error, which is (from http://www.informix.com/answers/english/ierrors.htm): -439 Database

[PHP-DEV] Bug #13460: buggy ImageTTFText

2001-09-26 Thread gospos
From: [EMAIL PROTECTED] Operating system: FreeBSD 4.4/Windows PHP version: 4.0.6 PHP Bug Type: GD related Bug description: buggy ImageTTFText line below: ImageTTFText$im,60,0,10,40,$text,../fonts/typouprn.ttf,TEXT); was working under 4.0.4pl1, but in version 4.0.6 looks

Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions

2001-09-26 Thread David Eriksson
On Wed, 26 Sep 2001, Andi Gutmans wrote: I think the key still lies in creating a repository for C extensions where each extension can have its own release cycle. +1 one for this... :-) -\- David Eriksson -/- An expert in a particular computer language is really an expert in the

Re: [PHP-DEV] PostgreSQL / PHP Overrun Error

2001-09-26 Thread Andi Gutmans
If I'm reading it correctly it actually means that a block allocated in the PostgreSQL extension is being overrun. It doesn't necessarily mean that it's the fault of the PostgresSQL extension. The efree() in debug mode just checks the block its freeing, it sees that the block was overrun and

[PHP-DEV] Bug #13461: Problem using PHP3 or PHP4 with Apache 1.3.20

2001-09-26 Thread iceman
From: [EMAIL PROTECTED] Operating system: AIX 4.2.1.0 PHP version: 4.0.6 PHP Bug Type: Apache related Bug description: Problem using PHP3 or PHP4 with Apache 1.3.20 When I compile php4.0.6 or php3.0.18 as a static module everything is compiling just fine with Apache 1.3.20.

Re: [PHP-DEV] chunk_split seg fault: bt

2001-09-26 Thread Derick Rethans
Hello, I can reproduce this, and am investigating it. Can you make it a bug report? Derick chunk_split in the follow code snip ?php echo chunk_split(str_repeat('x',1024),10); ? produces sometimes a seg. fault. Derick Rethans

Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions

2001-09-26 Thread Sander Steffann
I think the key still lies in creating a repository for C extensions where each extension can have its own release cycle. +1 one for this... :-) Sounds good. I think this would make it easier for the developers of the extensions AND the developers of the 'main' code. The drawback is that

[PHP-DEV] Bug #13343 Updated: debian sid installs domxml include files in /usr/include/libxml2/libxml/

2001-09-26 Thread chregu
ID: 13343 Updated by: chregu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: DOM XML related Operating System: linux debian unstable PHP Version: 4.0CVS-2001-09-17 New Comment: fixed in cvs. Previous Comments:

[PHP-DEV] Bug #13443 Updated: gethostbyname returns the name not the IP addr.

2001-09-26 Thread brooks
ID: 13443 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Duplicate Bug Type: Unknown/Other Function Operating System: BSDI 4.1 PHP Version: 4.0.6 New Comment: Does PHP require a local bind running? Everything seems to point in that direction. The resolver libs are

[PHP-DEV] Bug #13443 Updated: gethostbyname returns the name not the IP addr.

2001-09-26 Thread jimw
ID: 13443 Updated by: jimw Reported By: [EMAIL PROTECTED] Status: Duplicate Bug Type: Unknown/Other Function Operating System: BSDI 4.1 PHP Version: 4.0.6 New Comment: php does not require a local dns server to be running unless your system's C library gethostbyname() call does (which seems

Re: [PHP-DEV] PostgreSQL / PHP Overrun Error

2001-09-26 Thread Zeev Suraski
Can you try the latest CVS? It should fix the problem. Zeev At 18:35 26-09-01, Mike Rogers wrote: I have just upgraded to the new PostgreSQL 7.1.3 (from 7.0.3) and have been experiencing a pretty serious problem: On one particular page, in what seems to be completely random instances, I

[PHP-DEV] Forking

2001-09-26 Thread mike
Hi all, I have written an online MP3 jukebox that streams the currently playing MP3 to winamp / xmms / macamp etc. It would be *very* useful if I could fork PHP processes from within a script - are there any plans to implement a fork() in PHP? BTW, the streaming part of the jukebox is written

Re: [PHP-DEV] Forking

2001-09-26 Thread Andrei Zmievski
On Wed, 26 Sep 2001, mike wrote: Hi all, I have written an online MP3 jukebox that streams the currently playing MP3 to winamp / xmms / macamp etc. It would be *very* useful if I could fork PHP processes from within a script - are there any plans to implement a fork() in PHP? BTW, the

[PHP-DEV] CVS Account Request

2001-09-26 Thread CVS Account Request
Full name: Dimitris Glezos Email: [EMAIL PROTECTED] ID:subbie Purpose: phpdoc for translation -- 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 administrators,

[PHP-DEV] Bug #13460 Updated: buggy ImageTTFText

2001-09-26 Thread mrobinso
ID: 13460 Updated by: mrobinso Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: GD related Operating System: FreeBSD 4.4/Windows PHP Version: 4.0.6 New Comment: Dupe of 12265,12598,12599,12162,12064,12427, et al. Thanks for the report. This is fixed in CVS. Changing

[PHP-DEV] Bug #2346 Updated: Using MOD bandwidth sql errors in DML parts

2001-09-26 Thread mrobinso
ID: 2346 Updated by: mrobinso Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: MySQL related Operating System: RedHat Linux 6.0 PHP Version: 3.0.12 New Comment: This is rather dated. I have not been able to reproduce this problem on a box with mod_bandwidth working just

[PHP-DEV] Bug #3949 Updated: php with MySQL error

2001-09-26 Thread mrobinso
ID: 3949 Updated by: mrobinso Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: MySQL related Operating System: redhat4.0 PHP Version: Earlier? Upgrade first! New Comment: This is a dated report. Closing. Please reopen if problems persist with newer versions of PHP, and

[PHP-DEV] Bug #11356 Updated: functions to use mysql-berkely-DBs-functions (commit,rollback)

2001-09-26 Thread mrobinso
ID: 11356 Updated by: mrobinso Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: MySQL related Operating System: Linux RH 7.0 PHP Version: 4.0.4pl1 New Comment: Please ask support questions on the various related php mailing lists. There is currently a list for both

Re: [PHP-DEV] PostgreSQL / PHP Overrun Error

2001-09-26 Thread Mike Rogers
Hi Zeev; Seems to have fixed the problem. What is this expected to be included in a final version 4.0.7 I assume... I try to avoid alpha/beta but I suppose I have little choice at this time. Now I just see enormous amounts of: string.c(1341) : Freeing 0x086AB454 (6 bytes),

Re: [PHP-DEV] PostgreSQL / PHP Overrun Error

2001-09-26 Thread Zeev Suraski
4.0.7 will include this fix. All I can say is that it's supposed to come out 'soon'... About that leak - can you test the latest CVS again? :) At 01:58 27-09-01, Mike Rogers wrote: Hi Zeev; Seems to have fixed the problem. What is this expected to be included in a final version 4.0.7 I

[PHP-DEV] Warning sign

2001-09-26 Thread Zeev Suraski
string.c in the 4.0.7 branch included a fix which didn't exist in the HEAD branch (RETURN_ instead of RETVAL_ macros in stristr()). If possible, fixes should always go into the HEAD branch, and only afterwards MFH'd back to an RC branch, so that things are kept orderly, and so that we never

[PHP-DEV] Bug #13462: Error Logging

2001-09-26 Thread temp6453
From: [EMAIL PROTECTED] Operating system: N/A PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: Error Logging Two feature requests- both dealing with logging: There should be a way to set log levels [E_ALL for example] different for file logging

[PHP-DEV] Error Logging on a Per-Domain basis [to apache logs]

2001-09-26 Thread Mike Rogers
I have tried setting as follows in my .htaccess and in my apache server logs: php_value error_log /path/to/log.file php_flag log_errors On And it doesn't seem to do anything. I am already logging to each virtual hosts' error log for http-related logs [such as not found, etc].

[PHP-DEV] CVS Account Request

2001-09-26 Thread CVS Account Request
Full name: Sander Steffann Email: [EMAIL PROTECTED] ID:steffann Purpose: I am going to work with CORBA. Can I please get access to /etc/satellite? Thanks. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP-DEV] Bug #13464: PHP crashes when string not closed in a switch statement

2001-09-26 Thread nayt
From: [EMAIL PROTECTED] Operating system: Windows 2000 Pro PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: PHP crashes when string not closed in a switch statement When a string statement is not closed correctly in a case statement, the php

Re: [PHP-DEV] PostgreSQL / PHP Overrun Error

2001-09-26 Thread Mike Rogers
Solved- Logs seem pretty empty now thanks to the new CVS. Interesting question actually. Any way to put a hard compile-time variable [or php.ini only variable] that will not show the configure line in phpinfo(). That seems very logical to ensure that customers can not reproduce your exact

[PHP-DEV] php_smart_str leek

2001-09-26 Thread Mike Rogers
I seem to have found a leak: php_smart_str.h(74) : Freeing 0x08641FF4 (4568 bytes), script=/path/to/file.php Last leak repeated 2 times Latest CVS (9.45pm EST, Wednesday night) -- Mike -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP-DEV] php_smart_str leek

2001-09-26 Thread Sterling Hughes
On Wed, 26 Sep 2001, Mike Rogers wrote: I seem to have found a leak: php_smart_str.h(74) : Freeing 0x08641FF4 (4568 bytes), script=/path/to/file.php Last leak repeated 2 times Can you show me the source of file.php (the leak isn't in the smart_str() code, but rather in a library

[PHP-DEV] Bug #13465: imap_fetchstructure problem

2001-09-26 Thread seung_hwan
From: [EMAIL PROTECTED] Operating system: Red Hat 7.1 (Seawolf) PHP version: 4.0.6 PHP Bug Type: IMAP related Bug description: imap_fetchstructure problem The list of modules I compiled PHP with: ./configure --with-apxs=/usr/local/apache/bin/apxs \

Re: [PHP-DEV] php_smart_str leek

2001-09-26 Thread Mike Rogers
There doesn't appear to be anything unusual in the script. There are a few includes pointing almost completely to HTML, and a few MySQL database queries. It is not my code to release, so I am hesitant to do so. Any alternate ways to debug this? I can strace or gdb to a thread and wait for it

Re: [PHP-DEV] php_smart_str leek

2001-09-26 Thread Sterling Hughes
On Wed, 26 Sep 2001, Mike Rogers wrote: There doesn't appear to be anything unusual in the script. There are a few includes pointing almost completely to HTML, and a few MySQL database queries. It is not my code to release, so I am hesitant to do so. Any alternate ways to debug this? I

Re: [PHP-DEV] php_smart_str leek

2001-09-26 Thread Zeev Suraski
You can try to create a copy of the script, and cut down this copy as much as possible, while checking that it still causes this leak. The final cut-down test case would probably be small enough for you to publish. Zeev At 04:45 27-09-01, Mike Rogers wrote: There doesn't appear to be

Re: [PHP-DEV] CVS Account Request

2001-09-26 Thread David Eriksson
On Thursday 27 September 2001 03:33, CVS Account Request wrote: Full name: Sander Steffann Email: [EMAIL PROTECTED] ID:steffann Purpose: I am going to work with CORBA. Can I please get access to /etc/satellite? Thanks. Hello Steffann! As the maintainter of Satellite, I'd like

[PHP-DEV] Bug #13443 Updated: gethostbyname returns the name not the IP addr.

2001-09-26 Thread venaas
ID: 13443 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Duplicate Bug Type: Unknown/Other Function Operating System: BSDI 4.1 PHP Version: 4.0.6 New Comment: PHP uses the resolver library(ies) installed on your system, just as the other software installed. It is possible that you