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

2001-09-25 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, 2

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

2001-09-25 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 construc

Re: [PHP-DEV] I desperately need help!!!!!!!!!!!!!1

2001-09-25 Thread derick
Hello, the is the wrong list, ask on [EMAIL PROTECTED] for support questions. Derick On Tue, 25 Sep 2001, ewunia wrote: > Hello, > > I need some help with checkboxes and multiple arrays, > > Here is the peace of code I am working with, and it gives me a list of > products. > > This is the whil

Re: [PHP-DEV] [PATCH] fix gethostbyname() to return false when hostname not resolved

2001-09-25 Thread Stig Venaas
On Wed, Sep 26, 2001 at 01:17:55AM +0200, Markus Fischer wrote: > On Tue, Sep 25, 2001 at 01:56:28PM -0700, Jim Winstead wrote : > > here's a patch to fix bug #13423. think anyone is relying on the > > current (vastly lame, imho) behavior? > > Because this was the behaviour for a long time now i

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

2001-09-25 Thread gordonl
From: [EMAIL PROTECTED] Operating system: mandrake linux 2.15 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: $c

[PHP-DEV] mod_php4 question...

2001-09-25 Thread Andy Sautins
I posted a previous message that, I must admit, was probably not that well thought out. I've looked a little further and I'm getting a better feel for what is going on, but I was wondering if someone in the know would be able to clarify. I'm using php with Apache. When I truss a simple fil

[PHP-DEV] I desperately need help!!!!!!!!!!!!!1

2001-09-25 Thread ewunia
Hello, I need some help with checkboxes and multiple arrays, Here is the peace of code I am working with, and it gives me a list of products. This is the while statement which grabs information from the database: $tplv .= ""; $P.="$P"; $tplv .= "". $actual.""; $tplv .= "". $actual.""; $tplv .=

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

2001-09-25 Thread Zeev Suraski
Just to make it clear, I think that currently, we're doing fairly well. Releasing a new version every month or two, which we used to do, was too often. Zeev At 19:56 25-09-01, Andrei Zmievski wrote: >On Tue, 25 Sep 2001, Jani Taskinen wrote: > > Like Zeev said, we release new versions too oft

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

2001-09-25 Thread Zeev Suraski
At 21:12 25-09-01, Stig Sæther Bakken wrote: >[Zeev Suraski <[EMAIL PROTECTED]>] > > At 03:12 25-09-01, Jim Winstead wrote: > > >and i do question, a little bit, how successful our new release > > >strategy is when we only seem to be able to muster a new release every > > >three months. but maybe

[PHP-DEV] Bug #13444: OpenProcessError

2001-09-25 Thread deyth
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: OpenProcessError No visible result I can detect except for filling up the application log with errors within 2 days resulting from each call to php

Re: [PHP-DEV] [PATCH] fix gethostbyname() to return false when hostname not resolved

2001-09-25 Thread Markus Fischer
On Tue, Sep 25, 2001 at 01:56:28PM -0700, Jim Winstead wrote : > here's a patch to fix bug #13423. think anyone is relying on the > current (vastly lame, imho) behavior? Because this was the behaviour for a long time now its obvious that this will break all scripts ;-) But of course it should b

Re: [PHP-DEV] Re: 403 on www.php.net (fwd)

2001-09-25 Thread Stig Sæther Bakken
[[EMAIL PROTECTED]] > Derick Rethans <[EMAIL PROTECTED]> wrote: > > I get a 403 (Permission denied) on bugs and www.php.net from home... any > > idea's? Works fine from my work location. > > you didn't happen to have something that hit lstats.php every minute, > did you? i blocked a machine withi

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

2001-09-25 Thread jimw
Kevin Brooks <[EMAIL PROTECTED]> wrote: > I completely agree with you. I just think we're talking about 2 different > things. I agree that the php_gethostbyname call should NOT return the > hostname if it fails. My problem is that it is failing for no good > reason, as it seems others have repo

Re: [PHP-DEV] [PATCH] fix gethostbyname() to return false when hostname not resolved

2001-09-25 Thread Jim Winstead
it will send you to the right place once the site updates from cvs. jim On Tue, Sep 25, 2001 at 02:21:13PM -0700, Rasmus Lerdorf wrote: > Yes, but that's not where http://bugs.php.net/search.php sends you when > you put a bug id number in the form. > > > On Tue, 25 Sep 2001, Jim Winstead wrote

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

2001-09-25 Thread Kevin Brooks
On Tue, 25 Sep 2001, Sterling Hughes wrote: > On 25 Sep 2001 [EMAIL PROTECTED] wrote: > > > 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 > > Ne

Re: [PHP-DEV] [PATCH] fix gethostbyname() to return false whenhostname not resolved

2001-09-25 Thread Rasmus Lerdorf
Yes, but that's not where http://bugs.php.net/search.php sends you when you put a bug id number in the form. On Tue, 25 Sep 2001, Jim Winstead wrote: > On Tue, Sep 25, 2001 at 02:00:56PM -0700, Rasmus Lerdorf wrote: > > > here's a patch to fix bug #13423. think anyone is relying on the > > > cu

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

2001-09-25 Thread Sterling Hughes
On 25 Sep 2001 [EMAIL PROTECTED] wrote: > 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: > > IMHO this is not the same as #13423, which is why I

Re: [PHP-DEV] [PATCH] fix gethostbyname() to return false when hostname not resolved

2001-09-25 Thread Jim Winstead
On Tue, Sep 25, 2001 at 02:00:56PM -0700, Rasmus Lerdorf wrote: > > here's a patch to fix bug #13423. think anyone is relying on the > > current (vastly lame, imho) behavior? > > Did you break the bug system somehow? I am having no luck looking up > individual bugs, including this one. > http://

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

2001-09-25 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: IMHO this is not the same as #13423, which is why I didn't list it in the original report. Although the data

[PHP-DEV] Bug #13435 Updated: fileupload and filedownload

2001-09-25 Thread sniper
ID: 13435 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Assigned Bug Type: HTTP related Operating System: windows 2000 pro PHP Version: 4.0.6 Old Assigned To: Assigned To: sniper New Comment: I'm working on this.. Previous Comments: ---

Re: [PHP-DEV] [PATCH] fix gethostbyname() to return false whenhostname not resolved

2001-09-25 Thread Rasmus Lerdorf
> here's a patch to fix bug #13423. think anyone is relying on the > current (vastly lame, imho) behavior? Did you break the bug system somehow? I am having no luck looking up individual bugs, including this one. http://bugs.php.net/search.php?id=13423 doesn't work. -Rasmus -- PHP Developmen

[PHP-DEV] [PATCH] fix gethostbyname() to return false when hostname not resolved

2001-09-25 Thread Jim Winstead
here's a patch to fix bug #13423. think anyone is relying on the current (vastly lame, imho) behavior? jim Index: ext/standard/dns.c === RCS file: /repository/php4/ext/standard/dns.c,v retrieving revision 1.35 diff -u -r1.35 dns.c -

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

2001-09-25 Thread jimw
ID: 12678 Updated by: jimw Reported By: [EMAIL PROTECTED] Old Status: Open Status: Duplicate Bug Type: Network related Operating System: Linux 2.2.16-22 PHP Version: 4.0.6 New Comment: duplicate of 13243. (yes, that's a later bug. but it documents the problem more concisely.) Previous Comments:

[PHP-DEV] Bug #13441 Updated: Evaluation of {$ in strings

2001-09-25 Thread derick
ID: 13441 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Scripting Engine problem Operating System: linux PHP Version: 4.0.5 New Comment: Not a bug: Steve writes: This behavior is clearly documented in the manual under "Migrating from PHP 3.0 to PHP

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

2001-09-25 Thread jimw
ID: 13443 Updated by: jimw Reported By: [EMAIL PROTECTED] Old Status: Open Status: Duplicate Bug Type: Unknown/Other Function Operating System: BSDI 4.1 PHP Version: 4.0.6 New Comment: duplicate of 13423, among the others listed in the report. gethostbyname() returns the hostname it is passed wh

[PHP-DEV] Re: Bug #13441: Evaluation of {$ in strings

2001-09-25 Thread Steve Meyers
This behavior is clearly documented in the manual under "Migrating from PHP 3.0 to PHP 4.0" http://www.php.net/manual/en/migration4.strings.php <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > From: [EMAIL PROTECTED] > Operating system: linux > PHP

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

2001-09-25 Thread brooks
From: [EMAIL PROTECTED] Operating system: BSDI 4.1 PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: gethostbyname returns the name not the IP addr. This is basically the same report as 8754, 12678, and 8856. The gethostbyname function returns the nam

[PHP-DEV] Re: 403 on www.php.net (fwd)

2001-09-25 Thread jimw
Derick Rethans <[EMAIL PROTECTED]> wrote: > I get a 403 (Permission denied) on bugs and www.php.net from home... any > idea's? Works fine from my work location. you didn't happen to have something that hit lstats.php every minute, did you? i blocked a machine within chello.nl that was doing that.

[PHP-DEV] Bug #13442 Updated: Php

2001-09-25 Thread jan
ID: 13442 Updated by: jan Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows PHP Version: 4.0.6 New Comment: This is no support form. For questions on the development with PHP ask [EMAIL PROTECTED] or a support forum at your

[PHP-DEV] Bug #13442: Php

2001-09-25 Thread surfer182
From: [EMAIL PROTECTED] Operating system: Windows PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: Php How i make a random banner's system on PHP ? -- Edit bug report at: http://bugs.php.net/?id=13442&edit=1 -- PHP Development Mailing List

[PHP-DEV] Bug #13441: Evaluation of {$ in strings

2001-09-25 Thread john
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.5 PHP Bug Type: Scripting Engine problem Bug description: Evaluation of {$ in strings $x="hello"; echo "1={$x} 2=\{$x}" -> 1=hello 2={hello} It "should" have produced -> 1={hello} 2=\{hello} No doubt thi

Re: [PHP-DEV] Feature?

2001-09-25 Thread Stig Sæther Bakken
[Hartmut Holzgraefe <[EMAIL PROTECTED]>] > Andy wrote: > > >In the case when I've few parameters I've to remember their order, so why not > >$bar=foo('par2'=>10); > >I want to pass value to only one or more but not to all params. > >Also this will make the code clearer I think. > > > you can use

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

2001-09-25 Thread Stig Sæther Bakken
[[EMAIL PROTECTED]] > Stig Sæther Bakken <[EMAIL PROTECTED]> wrote: > > Huh? Does strnatcmp() know the that 2.0RC4 is newer than 2.0b2? :-) > > probably not. i've always thought that the change needed to make php's > version numbers make more sense is relatively small -- stop ignoring > the midd

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

2001-09-25 Thread Stig Sæther Bakken
[Zeev Suraski <[EMAIL PROTECTED]>] > At 03:12 25-09-01, Jim Winstead wrote: > >and i do question, a little bit, how successful our new release > >strategy is when we only seem to be able to muster a new release every > >three months. but maybe that's a pace we're happy with. and of course, > >that

[PHP-DEV] Bug #13440 Updated: PHP

2001-09-25 Thread jan
ID: 13440 Updated by: jan Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows PHP Version: 4.0.6 New Comment: No Bug. Please ask such questions on [EMAIL PROTECTED] Previous Comments: -

[PHP-DEV] Re: Bug #13426 Updated: fread not work

2001-09-25 Thread Cesare Quadalti
with only 'r' mode fread() doesn't work: instead of 3kbyte for my image, are sent 60 byte. But if I use 'rb' mode browser give me a memory error. So, also fopen() doesn't work correctly. the error tell that the memory couldn't be 'read' and give me a memory address.. it may be an Apache error, i

[PHP-DEV] Bug #13440: PHP

2001-09-25 Thread surfer182
From: [EMAIL PROTECTED] Operating system: Windows PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: PHP How i make a random banners in PHP ? -- Edit bug report at: http://bugs.php.net/?id=13440&edit=1 -- PHP Development Mailing List

[PHP-DEV] Bug #13439: unbound .* patterns don't work properly

2001-09-25 Thread john
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.5 PHP Bug Type: *Regular Expressions Bug description: unbound .* patterns don't work properly These 2 are OK: ereg_replace('..','b','aa') -> b ereg_replace('.+','b','aa') -> b But this is wrong: ereg_repla

Re: [PHP-DEV] Bug in autoconf report

2001-09-25 Thread Jeroen van Wolffelaar
> On Tue, 25 Sep 2001, Jeroen van Wolffelaar wrote: > > > > > > > Note: after I solved that warning about automake & libtool not being in > > the same dir, the error remainded the same. (I copied the automake > > executable to the same dir as the libtool executable) > > Ok, but it's still a probl

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

2001-09-25 Thread Jeff Hughes
I believe the problem you are having is that the zend_class_entry structure destroyed as you leave the scope of the MINIT function. This is definitely going to have undefined behavior. Move the zend_class_entry so that it is global and you should be good to go. Jeff Hughes [EMAIL PROTECTED] On

[PHP-DEV] Bug #13438: missing environment under iplanet like $PHP_AUTH_USER

2001-09-25 Thread php_bugs
From: [EMAIL PROTECTED] Operating system: Solaris 8 PHP version: 4.0.4pl1 PHP Bug Type: iPlanet related Bug description: missing environment under iplanet like $PHP_AUTH_USER This bug was reported before (#11181) but it hasn't been updated since May and I can't add to that b

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

2001-09-25 Thread Andrei Zmievski
On Tue, 25 Sep 2001, Jani Taskinen wrote: > Like Zeev said, we release new versions too often anyway. I think we're doing just fine. -Andrei The main reason Santa is so jolly is because he knows where all the bad girls live. -- George Carlin -- PHP Development Mailing List

[PHP-DEV] Bug #13437: PHP cores on exit; memory deallocation problem?

2001-09-25 Thread dshadow
From: [EMAIL PROTECTED] Operating system: Linux & Solaris PHP version: 4.0CVS-2001-09-25 PHP Bug Type: Reproducible crash Bug description: PHP cores on exit; memory deallocation problem? When I unserialize a ~7mb object that contains several levels of nested objects and arra

Re: [PHP-DEV] Bug in autoconf report

2001-09-25 Thread derick
On Tue, 25 Sep 2001, Jeroen van Wolffelaar wrote: > > > Note: after I solved that warning about automake & libtool not being in > the same dir, the error remainded the same. (I copied the automake > executable to the same dir as the libtool executable) Ok, but it's still a problem with your bui

[PHP-DEV] 403 on www.php.net (fwd)

2001-09-25 Thread Derick Rethans
Hello, I get a 403 (Permission denied) on bugs and www.php.net from home... any idea's? Works fine from my work location. regards, Derick Rethans - PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]

Re: [PHP-DEV] Bug in autoconf report

2001-09-25 Thread Jeroen van Wolffelaar
- Original Message - From: <[EMAIL PROTECTED]> To: "Jeroen van Wolffelaar" <[EMAIL PROTECTED]> Cc: "PHP Development List" <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 7:46 PM Subject: Re: [PHP-DEV] Bug in autoconf report > On Tue, 25 Sep 2001, Jeroen van Wolffelaar wrote: > > >

Re: [PHP-DEV] Bug in autoconf report

2001-09-25 Thread derick
On Tue, 25 Sep 2001, Jeroen van Wolffelaar wrote: > [jeroen@richard]~/scratch/tmp/php4-cvs> ./buildconf > buildconf: checking installation... > buildconf: autoconf version 2.13 (ok) > buildconf: automake version 1.4-p4 (ok) > buildconf: libtool version 1.4 (ok) > WARNING: automake and libtool are

[PHP-DEV] Bug #13435 Updated: fileupload and filedownload

2001-09-25 Thread saibot
ID: 13435 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: HTTP related Operating System: windows 2000 pro PHP Version: 4.0.6 New Comment: Ahhm forgot the environment: Win2kPro, Apache (latest),MySQL,RAID-System for IDE, 128MB of ram and about 40 GB

[PHP-DEV] Bug #13435: fileupload and filedownload

2001-09-25 Thread saibot
From: [EMAIL PROTECTED] Operating system: windows 2000 pro PHP version: 4.0.6 PHP Bug Type: HTTP related Bug description: fileupload and filedownload While uploading thru intranet, the PHP-process uses 99% of CPU, lots of memory (up to twice as much as the file itself) and t

[PHP-DEV] Bug in autoconf report

2001-09-25 Thread Jeroen van Wolffelaar
[jeroen@richard]~/scratch/tmp/php4-cvs> ./buildconf buildconf: checking installation... buildconf: autoconf version 2.13 (ok) buildconf: automake version 1.4-p4 (ok) buildconf: libtool version 1.4 (ok) WARNING: automake and libtool are installed in different directories. This may cause a

[PHP-DEV] Bug #13434 Updated: Interface to PQrequestCancel() function

2001-09-25 Thread sander
ID: 13434 Updated by: sander Reported By: [EMAIL PROTECTED] Old Summary: feature req: Need interface to PQrequestCancel() function Status: Open Old Bug Type: PostgreSQL related Bug Type: Feature/Change Request Operating System: linux PHP Version: 4.0.6 New Comment: Reclassified. Previous Comment

[PHP-DEV] Bug #13424 Updated: imagecreatetruecolor() or imagecopyresampled()

2001-09-25 Thread gargouil
ID: 13424 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: GD related Operating System: mandrake 8 PHP Version: 4.0.6 Previous Comments: [2001-09-25 04:23:57]

[PHP-DEV] extend zend_register_internal_class() and zend_register_internal_class_ex()?

2001-09-25 Thread Hansuck Jo
I can't speak English. so I'll shortly talk. (and I can't using cvs.. ^^;;;) I found that zend_register_internal_class() and zend_register_internal_class_ex() is impossible adding default properties. And instance properties(adding by add_property_*() functions) can't inherit. I think, It's mean

Re: [PHP-DEV] Warning in PHP_4_0_7 branch

2001-09-25 Thread Sterling Hughes
On Tue, 25 Sep 2001, Sebastian Bergmann wrote: > zend_llist.c > D:\home\php\php4\Zend\zend_llist.c(214) : warning C4018: '<' : > Conflict between signed and unsigned > Fixed in CVS. -Sterling -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTE

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

2001-09-25 Thread Hansuck Jo
You use rt66clsss_init() instead of rt66class_contstructor(). may be, it's will work. :) Emanuel Dejanu wrote: > I write an extension and I want to register a new class > but I can not get my function to be registered as a constructor. > > ex: > PHP_FUNCTION(rt66class_constructor); > static ze

[PHP-DEV] Bug #13433: Returning Booleans from COM is broken in 407

2001-09-25 Thread peterd
From: [EMAIL PROTECTED] Operating system: Windows NT 4 Server PHP version: 4.0CVS-2001-09-25 PHP Bug Type: COM related Bug description: Returning Booleans from COM is broken in 407 In PHP 4.07 (RC1, RC2 and latest snapshot, standard windows build) returning a boolean from a

[PHP-DEV] Bug #13432 Updated: it has a virus !!!! Trust me , scan it!!!!!!!!!! You bastards screwed up my cou

2001-09-25 Thread jmoore
ID: 13432 Updated by: jmoore Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Unknown/Other Function Operating System: windows 2000 pro PHP Version: 4.0.6 New Comment: I checked it with Norton Antivirus, no virus reported in zipped dirstribution. Must be your system or a false alarm (php_o

[PHP-DEV] Bug #13432 Updated: it has a virus !!!! Trust me , scan it!!!!!!!!!! You bastards screwed up my cou

2001-09-25 Thread derick
ID: 13432 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Unknown/Other Function Operating System: windows 2000 pro PHP Version: 4.0.6 New Comment: I just scanned it with Kaspersky AV, no virus found. So it must have been another way how the virus came

[PHP-DEV] Bug #13432: it has a virus !!!! Trust me , scan it!!!!!!!!!! You bastards screwed up my cou

2001-09-25 Thread danielclark
From: [EMAIL PROTECTED] Operating system: windows 2000 pro PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: it has a virus Trust me , scan it!! You bastards screwed up my cou it has a big virus when running on windows 2k pro.. You bastar

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

2001-09-25 Thread Emanuel Dejanu
I write an extension and I want to register a new class but I can not get my function to be registered as a constructor. ex: PHP_FUNCTION(rt66class_constructor); static zend_function_entry php_rt66class_class_functions[] = { PHP_FALIAS(RT66Class, rt66class_constructor, NULL) }; PHP_MI

[PHP-DEV] Bug #12909 Updated: CGI sapi compilation fails

2001-09-25 Thread sniper
ID: 12909 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Critical Status: Closed Bug Type: Compile Failure Operating System: RedHat Linux 6.2-7.1 PHP Version: 4.0CVS-2001-08-22 New Comment: Fixed now. --Jani Previous Comments: -

[PHP-DEV] Bug #13426 Updated: fread not work

2001-09-25 Thread sniper
ID: 13426 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Filesystem function related Operating System: Windows 2000 Professional PHP Version: 4.0.6 New Comment: So what you're saying is that using fopen with 'rb' which is the only way to open files

Re: [PHP-DEV] In C, how do I access an associative array?

2001-09-25 Thread mlwmohawk
> On Tue, Sep 25, 2001 at 09:00:18AM -0400, [EMAIL PROTECTED] > wrote: >> >> If I do this in PHP: >> >> > $array = array(); >> >> $array["foo"] = "bar"; >> $array["hey"] = "you"; >> $array["pink"]="floyd"; >> >> myext_function($array); >> ?> >> >> >> How do I find al

[PHP-DEV] Bug #13424 Updated: imagecreatetruecolor() or imagecopyresampled()

2001-09-25 Thread sniper
ID: 13424 Updated by: sniper Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: GD related Operating System: mandrake 8 PHP Version: 4.0.6 New Comment: Short example script would also be useful.. Previous Comments:

[PHP-DEV] Bug #13422 Updated: gethostbyname() returns hostname when ip address is part of hostname

2001-09-25 Thread sniper
ID: 13422 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Unknown/Other Function Operating System: Linux 2.2 SMP PHP Version: 4.0.4pl1 New Comment: submitted twice. Previous Comments: -

[PHP-DEV] Bug #13415 Updated: Compile Time Error

2001-09-25 Thread sniper
ID: 13415 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Compile Failure Operating System: Linux 2.0.34 PHP Version: 4.0.6 New Comment: This is fixed in CVS and in PHP 4.0.7RC2. --Jani Previous Comments: --

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

2001-09-25 Thread Andrei Zmievski
On Tue, 25 Sep 2001, Stig Sæther Bakken wrote: > I think we should be flexible to make this practical, the core of the > idea is that you should not get any surprises when upgrading just "b", > and no API surprises when upgrading "m". > > There's a question about whether the API should be defined

[PHP-DEV] Bug #13412 Updated: IMAP don't compile propertly

2001-09-25 Thread sniper
ID: 13412 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: *General Issues Operating System: FreeBSD 4.4-RC PHP Version: 4.0.6 New Comment: You're using unsupported shared compile of c-client. use the static library and it will work. Not a bug. Prev

[PHP-DEV] Bug #13420 Updated: open_basedir breaks Apache SSI xbithack

2001-09-25 Thread wbrown
ID: 13420 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Apache related Operating System: Linux mainserver2 2.4.4 PHP Version: 4.0.6 New Comment: This may be the reason that some of the developers were not able to reproduce a similar bug reported in Bug

Re: [PHP-DEV] In C, how do I access an associative array?

2001-09-25 Thread Stig Venaas
On Tue, Sep 25, 2001 at 09:00:18AM -0400, [EMAIL PROTECTED] wrote: > > If I do this in PHP: > >$array = array(); > > $array["foo"] = "bar"; > $array["hey"] = "you"; > $array["pink"]="floyd"; > > myext_function($array); > ?> > > > How do I find all the keys and

RE: [PHP-DEV] In C, how do I access an associative array?

2001-09-25 Thread Andre Christ
Hi, > How do I find all the keys and values out of that array in my extension? > Is there a way? Have a look at the Zend API Documentation at http://www.zend.com/apidoc/ or review implementations of other Extensions. Greets, Andre -- PHP Development Mailing List To uns

[PHP-DEV] In C, how do I access an associative array?

2001-09-25 Thread mlwmohawk
If I do this in PHP: How do I find all the keys and values out of that array in my extension? Is there a way? -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administra

[PHP-DEV] Bug #13430: Passthru doesn't honor ob_immediate_flush

2001-09-25 Thread muell
From: [EMAIL PROTECTED] Operating system: RedHat 7.1 PHP version: 4.0.4pl1 PHP Bug Type: Output Control Bug description: Passthru doesn't honor ob_immediate_flush Given a perl script test.pl: #!/usr/bin/perl $| = 1; # immediate flush for ($i=0;$i<10;$i++) { print "

[PHP-DEV] Bug #13429: Real reflection API

2001-09-25 Thread es96
From: [EMAIL PROTECTED] Operating system: Any PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: Real reflection API Real reflection API is badly, badly needed. Something as simple as get_class_var_names, which would return an array with names of all cl

[PHP-DEV] Bug #13427 Updated: Macintosh IE 5 doesn't appear to recognise session cookies

2001-09-25 Thread jmoore
ID: 13427 Updated by: jmoore Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Session related Operating System: Mac OS 9.1 (client) / Linux serv PHP Version: 4.0.6 New Comment: JK, Waiting for 4.0.8 is probably best bet.. Cant see any obvious change to the source code

[PHP-DEV] Bug #13427 Updated: Macintosh IE 5 doesn't appear to recognise session cookies

2001-09-25 Thread derick
ID: 13427 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Session related Operating System: Mac OS 9.1 (client) / Linux serv PHP Version: 4.0.6 New Comment: Can you try 4.0.7RC2 from www.php.net/~zeev/php-4.0.7RC2.tar.gz? Derick Previous Comments:

[PHP-DEV] Bug #13427 Updated: Macintosh IE 5 doesn't appear to recognise session cookies

2001-09-25 Thread jamesk
ID: 13427 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Mac OS 9.1 (client) / Linux serv PHP Version: 4.0.6 New Comment: it works in 4.0.8 cvs build... so i suppose this is a wait for next version? close if appopriate

Re: [PHP-DEV] Feature?

2001-09-25 Thread Hartmut Holzgraefe
Andy wrote: >In the case when I've few parameters I've to remember their order, so why not >$bar=foo('par2'=>10); >I want to pass value to only one or more but not to all params. >Also this will make the code clearer I think. > you can use arrays to mimic this behavior function foo($bar) {

[PHP-DEV] Bug #13427: Macintosh IE 5 doesn't appear to recognise session cookies

2001-09-25 Thread jamesk
From: [EMAIL PROTECTED] Operating system: Mac OS 9.1 (client) / Linux serv PHP version: 4.0.6 PHP Bug Type: Session related Bug description: Macintosh IE 5 doesn't appear to recognise session cookies Mac IE 5 doesn't appear to interpret session cookies .. server continually

[PHP-DEV] Bug #13426 Updated: fread not work

2001-09-25 Thread cquadalti
ID: 13426 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Filesystem function related Operating System: Windows 2000 Professional PHP Version: 4.0.6 New Comment: function encode_file($sourcefile) { if (is_readable($sourcefile)) { $fd = fopen($source

[PHP-DEV] Re: Warning in PHP_4_0_7 branch

2001-09-25 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > zend_llist.c > D:\home\php\php4\Zend\zend_llist.c(214) : warning C4018: '<' : > Conflict between signed and unsigned And another one: math.c D:\home\php\php4\ext\standard\math.c(736) : warning C4307: '+' : Ueberlauf einer ganzzahligen Konstanten Sascha: Could yo

Re: [PHP-DEV] Feature?

2001-09-25 Thread James Moore
> I want to pass value to only one or more but not to all params. Also this will make the code clearer I think. > Comments are welcome! This is somthing that has been discussed as a probable feature in PHP 5 but for now you could pass an assoc. array to get round the problem. - James -- PHP D

[PHP-DEV] Warning in PHP_4_0_7 branch

2001-09-25 Thread Sebastian Bergmann
zend_llist.c D:\home\php\php4\Zend\zend_llist.c(214) : warning C4018: '<' : Conflict between signed and unsigned -- Sebastian Bergmann Measure Traffic & Usability http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a g

[PHP-DEV] Feature?

2001-09-25 Thread Andy
After some days spent in a hospital reading "Programming Perl" and "Oracle Web Applications" I found that a language construct which appears in Perl and PL/SQL is not available in PHP. As in most 3G languages function call is like that $bar=foo($bar1,$bar2,$bar3,'bar4'); function foo($par1=1,$pa

Re: [PHP-DEV] Spam (was: [±¤°í]Ãß°¡Áö¿ø ÇϽǺР14¸í¸¸ ¸ðÁýÇÕ´Ï´Ù.)

2001-09-25 Thread derick
Hello, are the spam filters offline or something? The number of spam is increasing again Derick -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [E

[PHP-DEV] Win32 build broken

2001-09-25 Thread Sebastian Bergmann
internal_functions_win32.c D:\home\php\php4\main\internal_functions_win32.c(75) : error C2065: 'VARIANT_module_ptr' : Undeclared identifier -- Sebastian Bergmann Measure Traffic & Usability http://sebastian-bergmann.de/ http://phpOpenTracker.de/ D

Re: [PHP-DEV] curl compiler failed

2001-09-25 Thread Holger Schopohl
> > and also nl2br() crashes and chunk_split($string,2,' '); doesnt work ... > > nl2br() should be fixed can you make sure with the latest CVS, and > make a backtrace of the crash? okay, with the current cvs version, it works fine, sorry -- Holger -- PHP Development Mailing List

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

2001-09-25 Thread Zeev Suraski
At 03:12 25-09-01, Jim Winstead wrote: >and i do question, a little bit, how successful our new release >strategy is when we only seem to be able to muster a new release every >three months. but maybe that's a pace we're happy with. and of course, >that has way more to do with a great many more is

[PHP-DEV] [±¤°í]Ãß°¡Áö¿ø ÇϽǺР14¸í¸¸ ¸ðÁýÇÕ´Ï´Ù.

2001-09-25 Thread À¥Á¤º¸³ª¶ó
Title: Untitled   ¸ðÁý±â°£ : 9¿ù 3ÀÏ~9¿ù 29ÀÏ °³°­ : 10¿ù 5ÀÏ / ±³À°½Ã°£ : 9 : 00 ~ 18 : 00 (¿ù~±Ý) "Ãѱ³À°±â°£ 640½Ã°£-4°³¿ù" Áö¿øÀÚ°Ý : °íÁ¹,´ëÁ¹ ¹ÌÃë¾÷ÀÚ(ÀçÇлý Áß Á¹¾÷¿¹Á¤ÀÚ Æ÷ÇÔ) ¶Ç´Â ½Ç¾÷ÀÚ¡ØÀÚ°ÝÁ¦ÇÑ : 2001³âµµ¿¡ ŸºÎó°¡ ¼öÇàÁßÀÎ

[PHP-DEV] [±¤°í]Ãß°¡Áö¿ø ÇϽǺР14¸í¸¸ ¸ðÁýÇÕ´Ï´Ù.

2001-09-25 Thread À¥Á¤º¸³ª¶ó
Title: Untitled   ¸ðÁý±â°£ : 9¿ù 3ÀÏ~9¿ù 29ÀÏ °³°­ : 10¿ù 5ÀÏ / ±³À°½Ã°£ : 9 : 00 ~ 18 : 00 (¿ù~±Ý) "Ãѱ³À°±â°£ 640½Ã°£-4°³¿ù" Áö¿øÀÚ°Ý : °íÁ¹,´ëÁ¹ ¹ÌÃë¾÷ÀÚ(ÀçÇлý Áß Á¹¾÷¿¹Á¤ÀÚ Æ÷ÇÔ) ¶Ç´Â ½Ç¾÷ÀÚ¡ØÀÚ°ÝÁ¦ÇÑ : 2001³âµµ¿¡ ŸºÎó°¡ ¼öÇàÁßÀÎ

[PHP-DEV] Re: Bug #13424: imagecreatetruecolor() or imagecopyresampled()

2001-09-25 Thread Daniel Andersson
you forgot to compile --with-gd ? / d <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > From: [EMAIL PROTECTED] > Operating system: mandrake 8 > PHP version: 4.0.6 > PHP Bug Type: PHP options/info functions > Bug description: imagecreatetru

[PHP-DEV] Bug #13426: fread not work

2001-09-25 Thread cquadalti
From: [EMAIL PROTECTED] Operating system: Windows 2000 Professional PHP version: 4.0.6 PHP Bug Type: Filesystem function related Bug description: fread not work function encode_file($sourcefile) { if (is_readable($sourcefile)) { $fd = fopen($sourcefile, "r"); $co

[PHP-DEV] Bug #13424 Updated: imagecreatetruecolor() or imagecopyresampled()

2001-09-25 Thread sander
ID: 13424 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: PHP options/info functions Operating System: mandrake 8 PHP Version: 4.0.6 New Comment: Can you post your configure line? Previous Comments: ---

Re: [PHP-DEV] curl compiler failed

2001-09-25 Thread Sterling Hughes
On Tue, 25 Sep 2001, Stanislav Malyshev wrote: > SH>> I'd expect it to work with all php's above 4.0.8, the only problem > SH>> is that if you link PHP 4.0.8 with an older version of CURL this > SH>> will cause PHP compilation errors that maybe unforseen, therefore, > SH>> to righ

Re: [PHP-DEV] curl compiler failed

2001-09-25 Thread Stanislav Malyshev
SH>> I'd expect it to work with all php's above 4.0.8, the only problem SH>> is that if you link PHP 4.0.8 with an older version of CURL this SH>> will cause PHP compilation errors that maybe unforseen, therefore, SH>> to right it truly portable, you need two version checks for eac