Re: [PHP-DEV] repost: return_value getting corrupted in extension

2003-02-12 Thread Eric Lambart
On Tue, 2003-02-11 at 16:00, Wez Furlong wrote: No offense, but this is really quite a useless problem report. You are not showing any of the zend API that you use to create the object, so how can we help you? No offense taken. I hoped that showing the php_var_dump() would be evidence enough

Re: [PHP-DEV] repost: return_value getting corrupted in extension

2003-02-12 Thread Wez Furlong
Hi Eric, return_value is already allocated for you in a PHP_FUNCTION() that is called by the engine (or via call_user_fuction(_ex)), as you have guessed. PHP_FUNCTION(eo_table) Looks correct. /* call the constructor */ if ( call_user_function(NULL, object, ctor_fn, ctor_retval, 0, NULL)

[PHP-DEV] Allowing Fifth Param under SAFE_MODE

2003-02-12 Thread Patrick Maartense
dear PH Dev Team I request the follwing feature to be implemented in a future php version some way of defining the Fifth paramater for MAIL() in the Ini file when using safe_mode like safe_mode_fifth_param = -f [EMAIL PROTECTED] because safe_mode is normaly a must have, a lot of programs now

Re: [PHP-DEV] Announcement: New MySQL-Extension for PHP 5: ext/mysqli

2003-02-12 Thread Brian Moon
my bad, forgive me. Brian Moon dealnews.com - Original Message - From: Sebastian Bergmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 11:47 PM Subject: Re: [PHP-DEV] Announcement: New MySQL-Extension for PHP 5: ext/mysqli | Brian Moon wrote: | Do you have

Re: [PHP-DEV] session security

2003-02-12 Thread Maxim Maletsky
Keyser Soze [EMAIL PROTECTED] wrote... : There's also something I'm using in my session scripts. I compare the browser referer with all the possible pages it must have come from in each script, this way the user MUST start from the login page, and not can simply type the url with the

[PHP-DEV] php build failed

2003-02-12 Thread jean-charles . meunier
= FAILED TEST SUMMARY - Bug #21131: fopen($filename, a+) has broken position [ext/standard/tests/file/bug21131.phpt] Simple math tests

[PHP-DEV] Re: [SOAP] PEAR / Soap Problem

2003-02-12 Thread Brad LaFountain
Well the PEAR::Soap is defintly more stable and has more features and supports more of the soap spec, where PECL/soap is written in C and is faster. There are some people using PECL/soap in production but it defintly still is still in a unstable mode. So its purely up to your needs. - Brad ---

Re: [PHP-DEV] Re: [SOAP] PEAR / Soap Problem

2003-02-12 Thread Brad LaFountain
sorry, ignore this, wrong list --- Brad LaFountain [EMAIL PROTECTED] wrote: Well the PEAR::Soap is defintly more stable and has more features and supports more of the soap spec, where PECL/soap is written in C and is faster. There are some people using PECL/soap in production but it defintly

[PHP-DEV] CVS Account Request: mipac

2003-02-12 Thread Miroslav Pacholik
I would like to translate part of PHP manual into Czech language. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] adding class members in C

2003-02-12 Thread Dave Viner
Hi, I'm trying to write a class as a PHP C extension. I want to add a member variable to class declaration time. I believe this is possible by adding to the zend_class_entry's default_properties HashTable. My attempts so far have resulted in apache core dumps. My code for

[PHP-DEV] [patch] solaris getcwd() brokeness

2003-02-12 Thread James E. Flemer
Well all the fancy new streams code in 4.3.0 seems to tickle a Solaris issue with getcwd(). It seems that under certain cases solaris' getcwd() fails when other os' work. Consequently 4.3.0 causes a huge ammount of breakage for some sites running solaris. Below is a patch that seems to work

Re: [PHP-DEV] repost: return_value getting corrupted in extension

2003-02-12 Thread Eric Lambart
Wez Furlong said: /* call the constructor */ if ( call_user_function(NULL, object, ctor_fn, ctor_retval, 0, NULL) Looks correct too. However, I would use call_user_function_ex, which relieves you of the burden of creating a retval (among other things). The API for

[PHP-DEV] Re: [PHP-DOC] Re: function.main

2003-02-12 Thread Gabor Hojtsy
what is function.main? it keeps popping up on my requires and links to = yoru site but nuthin' happens That is if I understand correctly a link in an error message. So either PHP needs to hide that link in error messages, or the function.main shortcut shuold point to somewhere on the homepage,

[PHP-DEV] Re: function.main

2003-02-12 Thread Gabor Hojtsy
what is function.main? it keeps popping up on my requires and links to = yoru site but nuthin' happens That is if I understand correctly a link in an error message. So either PHP needs to hide that link in error messages, or the function.main shortcut shuold point to somewhere on the homepage,

[PHP-DEV] Re: [PHP-DOC] Re: function.main

2003-02-12 Thread Philip Olson
On Wed, 12 Feb 2003, Gabor Hojtsy wrote: what is function.main? it keeps popping up on my requires and links to = yoru site but nuthin' happens That is if I understand correctly a link in an error message. So either PHP needs to hide that link in error messages, or the function.main

Re: [PHP-DEV] Register Shutdown Function for Apache

2003-02-12 Thread Jani Taskinen
There is now 'HAVE_APACHE' defined when you configure with apache. (dso or static) --Jani On Tue, 11 Feb 2003, Brian Moon wrote: Jani, are you volunteering to add it? If so, please do so at your earliest convience. Brian Moon dealnews.com - Original Message -