[PHP-DEV] Bug #12672 Updated: ifx_connect does not return when base not present

2001-08-10 Thread matjaz . ostroversnik
ID: 12672 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Informix related Operating System: Linux RH 6.2 PHP Version: 4.0.6 New Comment: I've built the php4.0.7-dev as you suggested. There is a lot of differences in ifx.ec file, but

[PHP-DEV] Bug #12642 Updated: Loading php_oci8 fails

2001-08-10 Thread sniper
ID: 12642 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Old Bug Type: OCI8 related Bug Type: Dynamic loading Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: What does phpinfo() output for extension_dir ?? --Jani Previous Comments: ---

[PHP-DEV] Bug #12642 Updated: Loading php_oci8 fails

2001-08-10 Thread sniper
ID: 12642 Updated by: sniper Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Dynamic loading Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: And also, where are the extensions located? Are they in C:\php\extensions\ ??? Previous Comments: -

[PHP-DEV] Bug #12672 Updated: ifx_connect does not return when base not present

2001-08-10 Thread sniper
ID: 12672 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Informix related Operating System: Linux RH 6.2 PHP Version: 4.0.6 New Comment: What does this script output for you: The compiler / configure options don't matter here. --Jani Pre

[PHP-DEV] Bug #12672 Updated: ifx_connect does not return when base not present

2001-08-10 Thread matjaz . ostroversnik
ID: 12672 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Informix related Operating System: Linux RH 6.2 PHP Version: 4.0.6 New Comment: if ifx is up Resource id #1 if ifx is down the program does not return. Previous Comments: ---

[PHP-DEV] 4.0.7 - CVS build problem

2001-08-10 Thread Steeg
Hi again ;) I'm trying to compile the latest CVS but get this error: php_domxml.c: In function `php_xpathptr_eval': php_domxml.c:2522: too few arguments to function `php_dom_get_object' make[3]: *** [php_domxml.lo] Error 1 Jani has been helping me out on this issue earlier and actually fixed

Re: [PHP-DEV] 4.0.7 - CVS build problem

2001-08-10 Thread Jani Taskinen
Should be fixed. Again. :) People should test build also in ZTS mode.. --Jani On Fri, 10 Aug 2001, Steeg wrote: >Hi again ;) > >I'm trying to compile the latest CVS but get this error: > >php_domxml.c: In function `php_xpathptr_eval': >php_domxml.c:2522: too few arguments to function `php_dom

[PHP-DEV] Bug #12672 Updated: ifx_connect does not return when base not present

2001-08-10 Thread sniper
ID: 12672 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Informix related Operating System: Linux RH 6.2 PHP Version: 4.0.6 New Comment: What do you mean by 'Does not return' ? And with which version of PHP did you try this? --Jani Previous Comm

[PHP-DEV] CVS warning

2001-08-10 Thread Steeg
I got this warning when building the very latest CVS sapi_apache2.c: In function `php_input_filter': sapi_apache2.c:247: warning: passing arg 4 of `ap_get_brigade' from incompatible pointer type sapi_apache2.c: In function `php_register_hook': sapi_apache2.c:408: warning: passing arg 2 of `ap_re

[PHP-DEV] Bug #12672 Updated: ifx_connect does not return when base not present

2001-08-10 Thread matjaz . ostroversnik
ID: 12672 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Informix related Operating System: Linux RH 6.2 PHP Version: 4.0.6 New Comment: I tried this with the last build (/usr/local/src/php4-200108092235). Does not return mean that

[PHP-DEV] Bug #12672 Updated: ifx_connect does not return when base not present

2001-08-10 Thread sniper
ID: 12672 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Informix related Operating System: Linux RH 6.2 PHP Version: 4.0.6 New Comment: Bogus then. Previous Comments: [2001-08

[PHP-DEV] Bug #12642 Updated: Loading php_oci8 fails

2001-08-10 Thread Thomas . Seuring
ID: 12642 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Dynamic loading Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: Hello Jani, the DLL's are really in this Path and .phpinfo() shows Directive Local Value

[PHP-DEV] Bug #12642 Updated: Loading php_oci8 fails

2001-08-10 Thread sniper
ID: 12642 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Dynamic loading Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: If extension_dir points to drive E: and the extensions are on drive C: I can't understand how it could work..

[PHP-DEV] Could someone give a bit of a pointer here...

2001-08-10 Thread Andrew McBeath
I'm not sure if this is the correct list to post this, but I was wondering if someone could lend a hand and point me in the right direction here? For interest sake, last week, I successfully wrote/compiled/ran an extension module (a basic arc4 cipher implementation...yes I know there is already o

Re: [PHP-DEV] Could someone give a bit of a pointer here...

2001-08-10 Thread Markus Fischer
Not directly to your problem, but http://www.zend.com/apidoc/ has some information (altough outdated :/ ) ... About the include(): I bet you won't find it in function_tables becaus its a language construct ... probably. - Markus -- PHP Development Mailing List To unsubscr

[PHP-DEV] PHP in a Hyper-secure environment

2001-08-10 Thread Howie Oakes
Hello- I work in the website division of a large company that runs online financial software. I have been promoting PHP since I arrived, and they are finally looking at it seriously. We operate in a hyper-secure environment, where Federal audits are a common occurence. We currently host over 12

Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-10 Thread Petr Cech
On Thu, Aug 09, 2001 at 01:22:18PM +0200 , Anders Johannsen wrote: > aj@uranos% ./buildconf > buildconf: checking installation... > buildconf: autoconf version 2.13 (ok) > buildconf: automake version 1.4-p4 (ok) > buildconf: libtool version 1.4b note the 1.4b. it requires autoconf 2.50. b

Re: [PHP-DEV] PHP in a Hyper-secure environment

2001-08-10 Thread Howie Oakes
Hello- I realize I can have per-directory settings, however the issue is that I want a web developer to be able to use a simplified version of PHP on a page, yet still be able to call encoded functions that have access to the full version of PHP, without allowing them direct access to that code.

Re: [PHP-DEV] PHP in a Hyper-secure environment

2001-08-10 Thread James Moore
anychance of writing your complex functions in C? then you can do exectly what you want. - James - Original Message - From: "Howie Oakes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, August 10, 2001 2:55 PM Subject: Re: [PHP-DEV] PHP in a Hyper-secure env

Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-10 Thread Sascha Schumann
> note the 1.4b. it requires autoconf 2.50. but I think this goes for 1.4 > also, but doesn't screem Libtool 1.4 does not require autoconf 2.50 or higher. Note that libtool-1.4b is an alpha release, so you have to expect failures. - Sascha Exp

Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-10 Thread Rasmus Lerdorf
> > note the 1.4b. it requires autoconf 2.50. but I think this goes for 1.4 > > also, but doesn't screem > > Libtool 1.4 does not require autoconf 2.50 or higher. Note > that libtool-1.4b is an alpha release, so you have to expect > failures. Perhaps I am too tired, but where did the

Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-10 Thread Sascha Schumann
> Perhaps I am too tired, but where did the stuff that would install php.h > and the rest of the header files in /usr/local/include/php go? A "make > install" doesn't seem to do this anymore which means standalone extensions > are going to have issues. It sits in pear/Makefile(.in)?. An

Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-10 Thread Rasmus Lerdorf
> It sits in pear/Makefile(.in)?. > > An installation I did two days ago looks complete -- all > header files were copied to $prefix/include/php. Yeah, it is working now. Almost 5am. I must have done something weird. -Rasmus -- PHP Development Mailing List

[PHP-DEV] error_reporting & error_log

2001-08-10 Thread Holger Schopohl
Hi all, i have a suggestion to different the logging of warnings and errors. why we don't split the reporting for display errors and logfile errors. the vantage would be, on webserver we can reduce the error display with display_errors = On error_reporting_display = E_COMPILE_ERROR|E_ERROR|E

Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-10 Thread Olivier Bourgeois
Le Fri, 10 Aug 2001 13:11:33 +0200 Petr Cech <[EMAIL PROTECTED]> a ecrit : > On Thu, Aug 09, 2001 at 01:22:18PM +0200 , Anders Johannsen wrote: > > aj@uranos% ./buildconf > > buildconf: checking installation... > > buildconf: autoconf version 2.13 (ok) > > buildconf: automake version 1.4-

[PHP-DEV] compile error on Win2000

2001-08-10 Thread Rubens Barroso
Operating system: Windows2000 Professional PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: unresolved externals When try to compile a small module on VisualC++ 6.0 i get this messages: Configuration: variable_c - Win32 Debug C

[PHP-DEV] Bug #12688 Updated: preg_match doesn't return newlines in match array

2001-08-10 Thread alindeman
ID: 12688 Updated by: alindeman Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: *Regular Expressions Operating System: FreeBSD 4.2 PHP Version: 4.0.6 New Comment: add an "s" to the end of your reg exp. if (preg_match('/Here(.

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot sablot.c

2001-08-10 Thread Rasmus Lerdorf
> >php_sablot.h has: > > > >typedef struct _php_sablot_globals { > > zval *errorHandler; > > php_sablot_error *errors; > > php_sablot_error errors_start; > > char *output_transform_file; /* For output transformations */ > > int last_errno; /* Global last_errno, if

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot sablot.c

2001-08-10 Thread Zeev Suraski
At 16:01 10-08-01, Rasmus Lerdorf wrote: > > >php_sablot.h has: > > > > > >typedef struct _php_sablot_globals { > > > zval *errorHandler; > > > php_sablot_error *errors; > > > php_sablot_error errors_start; > > > char *output_transform_file; /* For output transformations */ > > >

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot php_sablot.h

2001-08-10 Thread Rasmus Lerdorf
> Again, making a bad situation worse is not a good thing. I never said that > my code's perfect, and indeed there are some places where there's still > direct reference to auto-defined variable names, which is not a good > thing. Instead of making the situation worse though, when I face somethi

[PHP-DEV] Bug #12680 Updated: mail() is sent with incorrect timezone

2001-08-10 Thread alindeman
ID: 12680 Updated by: alindeman Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Mail related Operating System: Windows NT 4.0 SP6 PHP Version: 4.0.6 New Comment: Is the timezone on your mailserver the same as the zone on your computer??? Previous Comments: ---

[PHP-DEV] Bug #12689: Problem while returning from a function

2001-08-10 Thread cmid
From: [EMAIL PROTECTED] Operating system: Microsoft Windows NT PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: Problem while returning from a function I've got a problem with a little function in a test script : I want to return a string value, that exi

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot php_sablot.h

2001-08-10 Thread Zeev Suraski
At 16:42 10-08-01, Rasmus Lerdorf wrote: > > Again, making a bad situation worse is not a good thing. I never said that > > my code's perfect, and indeed there are some places where there's still > > direct reference to auto-defined variable names, which is not a good > > thing. Instead of makin

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot php_sablot.h

2001-08-10 Thread Sascha Schumann
> away. An app built on a certain infrastructure is dependant on that > infrastructure, but not the other way around. You wrongly assume that the API is equal to the implementation. PHP can use an API which is completely independent of the Zend engine. > >However, if everyone on ph

Re: [PHP-DEV] PHP4.0.6, php_iconv bugs

2001-08-10 Thread Stig Sæther Bakken
["Piotr Pawlow" <[EMAIL PROTECTED]>] > Hello, > > I have noticed that php_iconv sometimes fails to convert the string > due to invalid sequence of characters on input, and there is no way to > find out where the bad sequence is. I think there should be an > optional parameter added to iconv() fun

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot php_sablot.h

2001-08-10 Thread Zeev Suraski
At 17:08 10-08-01, Sascha Schumann wrote: > > away. An app built on a certain infrastructure is dependant on that > > infrastructure, but not the other way around. > > You wrongly assume that the API is equal to the > implementation. PHP can use an API which is completely > independe

[PHP-DEV] Re: Bug #12675 Updated: Link errors caused by new Oracle 8i LOB functions

2001-08-10 Thread David Munsey-Kano
./configure --with-apache=/afs/northstar.dartmouth.edu/uother/source/sys/apache/ apache_1.3.20 \ --with-oci8 \ --without-gdbm \ --with-xml \ --enable-wddx \ --disable-debug The link errors were basic unresolved errors on: OCILobOpen OCILobClose OCILobCreat

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot php_sablot.h

2001-08-10 Thread Andrei Zmievski
On Fri, 10 Aug 2001, Rasmus Lerdorf wrote: > Is this really what the goal is here? It seems like a contest to see how > many times "Zend" can appear in the code. I think some of this stuff > should be PHP_ or for things that really are engine related, perhaps > ENGINE_ to at least pretend that t

[PHP-DEV] Engine 2

2001-08-10 Thread Andi Gutmans
Hey, The Engine 2 CVS pretty much implements the first step of the new object model. Objects are now handles which reference the same object and $obj->method1()->method2() is supported now. Quite a few places in PHP that use objects like call_user_function() might still not work though. If any

[PHP-DEV] Bug #12675 Updated: Link errors caused by new Oracle 8i LOB functions

2001-08-10 Thread alindeman
ID: 12675 Updated by: alindeman Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Compile Failure Operating System: Digital Unix V4.0F (Rev. 1229) PHP Version: 4.0.6 New Comment: User Feedback (emailed) ./configure---with-apache=

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot php_sablot.h

2001-08-10 Thread Jason Greene
> >Is this really what the goal is here? It seems like a contest to see how > >many times "Zend" can appear in the code. I think some of this stuff > >should be PHP_ or for things that really are engine related, perhaps > >ENGINE_ to at least pretend that this is a modular architecture where if

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot php_sablot.h

2001-08-10 Thread derick
On Fri, 10 Aug 2001, Andrei Zmievski wrote: > On Fri, 10 Aug 2001, Rasmus Lerdorf wrote: > > Nope, this renaming stuff doesn't sit well with me either. This is not about renaming, it's about removing duplicate macro's. That is good IMO. But if all PHP_ stuff should be removed infavor of the ZEND

[PHP-DEV] Bug #12680 Updated: mail() is sent with incorrect timezone

2001-08-10 Thread justin . white
ID: 12680 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Mail related Operating System: Windows NT 4.0 SP6 PHP Version: 4.0.6 New Comment: Yes, the timezone and time have been verified on the server and on my workstation. Both are s

Re: [PHP-DEV] Engine 2

2001-08-10 Thread Heikki Korpela
On Fri, 10 Aug 2001, Andi Gutmans wrote: > I'm also > interested in how many scripts are actually broken by the fact that objects > are not copied when sent to functions by value and so on. Did I get this right: foo = 'bar'; } function func2() { $object = new StdClass; $object-

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot php_sablot.h

2001-08-10 Thread Andrei Zmievski
On Fri, 10 Aug 2001, [EMAIL PROTECTED] wrote: > This is not about renaming, it's about removing duplicate macro's. Of course it's about renaming. We used to have just PHP_* macros and then Zeev added the ZEND_* versions and now PHP_* ones are just aliased to ZEND_* ones for "backwards compatibili

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot php_sablot.h

2001-08-10 Thread Andi Gutmans
At 09:18 AM 8/10/2001 -0500, Andrei Zmievski wrote: >On Fri, 10 Aug 2001, Rasmus Lerdorf wrote: > > Is this really what the goal is here? It seems like a contest to see how > > many times "Zend" can appear in the code. I think some of this stuff > > should be PHP_ or for things that really are e

[PHP-DEV] Bug #12690: array_unique under windows does not work as it does under linux

2001-08-10 Thread colin
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: Arrays related Bug description: array_unique under windows does not work as it does under linux in linux, the following array would be UNCHANGED after being put through array_unique. But

Re: [PHP-DEV] Engine 2

2001-08-10 Thread Andi Gutmans
At 05:31 PM 8/10/2001 +0300, Heikki Korpela wrote: >On Fri, 10 Aug 2001, Andi Gutmans wrote: > > > I'm also > > interested in how many scripts are actually broken by the fact that objects > > are not copied when sent to functions by value and so on. > >Did I get this right: > >function func1($obje

[PHP-DEV] Bug #12680 Updated: mail() is sent with incorrect timezone

2001-08-10 Thread alindeman
ID: 12680 Updated by: alindeman Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Mail related Operating System: Windows NT 4.0 SP6 PHP Version: 4.0.6 New Comment: Does this happen with just PHP, or with any mail program that you use? Previous Comments:

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot php_sablot.h

2001-08-10 Thread Andi Gutmans
At 09:31 AM 8/10/2001 -0500, Andrei Zmievski wrote: >On Fri, 10 Aug 2001, [EMAIL PROTECTED] wrote: > > This is not about renaming, it's about removing duplicate macro's. > >Of course it's about renaming. We used to have just PHP_* macros and >then Zeev added the ZEND_* versions and now PHP_* ones

Re: [PHP-DEV] Engine 2

2001-08-10 Thread Andi Gutmans
By the way, one of the things that interests me is exactly how much this change breaks people's code. My guess is that it won't break most people's apps. In any case, there will probably be a compat mode where the old copying is forced. Andi At 05:31 PM 8/10/2001 +0300, Heikki Korpela wrote:

[PHP-DEV] Bug #12680 Updated: mail() is sent with incorrect timezone

2001-08-10 Thread justin . white
ID: 12680 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Mail related Operating System: Windows NT 4.0 SP6 PHP Version: 4.0.6 New Comment: This happens with just PHP. As I said, I can directly connect to port 25 and manually enter S

[PHP-DEV] Bug #12691: Server variables don't get set

2001-08-10 Thread teo
From: [EMAIL PROTECTED] Operating system: SuSE7.1 PHP version: 4.0CVS-2001-08-10 PHP Bug Type: Apache related Bug description: Server variables don't get set Apache 2.0.24-dev PHP4-200108091635 CFLAGS='-O6 -fomit-frame-pointer' \ './configure' \

Re: [PHP-DEV] PHP in a Hyper-secure environment

2001-08-10 Thread John Lim
I would suggest using a template class such as Smarty - then you only allow a limited set of PHP functions to be used which you can define. See http://www.phpinsider.com/php/code/Smarty/ Regards, John "James Moore" <[EMAIL PROTECTED]> wrote in message 008101c1218f$805664b0$c04c01d5@hound">news:

[PHP-DEV] Bug #12680 Updated: mail() is sent with incorrect timezone

2001-08-10 Thread alindeman
ID: 12680 Updated by: alindeman Reported By: [EMAIL PROTECTED] Old Status: Open Status: Suspended Bug Type: Mail related Operating System: Windows NT 4.0 SP6 PHP Version: 4.0.6 New Comment: something similar has been reported as a bug in 4.0 and was assigned to hholzgra. I don't know if it has

[PHP-DEV] Bug #3248 & 12680

2001-08-10 Thread Andrew Lindeman formally [EMAIL PROTECTED]
In bug #3248, you assigned a timezone/mail problem to yourself. Now a similar bug (12680) has been reported in 4.0.6. Has this been fixed or does it need to be looked at again? -- - Andy :) "Black holes are where God divided by zero." -- PHP Development Mailing List

[PHP-DEV] Bug #12691 Updated: Server variables don't get set

2001-08-10 Thread alindeman
ID: 12691 Updated by: alindeman Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Apache related Operating System: SuSE7.1 PHP Version: 4.0CVS-2001-08-10 New Comment: works fine for me (Apache 1.3.20 + PHP Latest CVS). Try running and see what variables are defined..

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot php_sablot.h

2001-08-10 Thread Zeev Suraski
Guys, It's really simple, even trivial soft-dev issue, which is discussed in a completely broken manner, because you pour politics into the picture. The Zend Engine is the infrastructure of PHP. Until there's another engine, which is nowhere at sight nor is there any good reason to have one,

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot php_sablot.h

2001-08-10 Thread Zeev Suraski
At 17:31 10-08-01, Andrei Zmievski wrote: >On Fri, 10 Aug 2001, [EMAIL PROTECTED] wrote: > > This is not about renaming, it's about removing duplicate macro's. > >Of course it's about renaming. We used to have just PHP_* macros and >then Zeev added the ZEND_* versions and now PHP_* ones are just a