[PHP-DEV] Safe_mode options

2002-11-14 Thread Ryan McConigley
Hi, We've had a problem with PHP4 and Apache2 regarding what "safe_mode_include_dir" actually did. I assumed any directories listed under it would be excluded from all safe mode checks, but apparently its just require and include functions? (See http://bugs.php.net/bug.php?id=20054 for fu

RE: [PHP-DEV] show_source()

2002-11-14 Thread Derick Rethans
On Thu, 14 Nov 2002, John Coggeshall wrote: > > If no one has an objection, I'll look into making some of that happen. THere was already some discussion about this a few weeks ago on this list. AFAIK the concensus was to re-implement the whole show_source() thing, see: http://marc.theaimsgrou

[PHP-DEV] PHP Database

2002-11-14 Thread Steven Priddy
I am looking into how I can make a database like this one that is MySql controlled. http://www.uhlfans.com/uhlstats/ That is one of my partners sites but the guy that created the database can't or won't tell me how to build one myself for a different subject. Thanks for your help! -- PHP Develo

Re: [PHP-DEV] show_source()

2002-11-14 Thread Eric Coleman
I would actually love to see that :) "John Coggeshall" <[EMAIL PROTECTED]> wrote in message news:000701c28c5e$ac9cb200$9d10fea9@;coogle... If no one has an objection, I'll look into making some of that happen. John |-Original Message- |From: [EMAIL PROTECTED] [mailto:nicos@;php.net] |

[PHP-DEV] CVS Daily??

2002-11-14 Thread John Coggeshall
I haven't received a CVS Daily report in a couple of days... Something broken? John -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] show_source()

2002-11-14 Thread John Coggeshall
If no one has an objection, I'll look into making some of that happen. John |-Original Message- |From: [EMAIL PROTECTED] [mailto:nicos@;php.net] |Sent: Thursday, November 14, 2002 10:15 PM |To: [EMAIL PROTECTED] |Subject: [PHP-DEV] show_source() | | |Hello, | |Some users are reques

Re: [PHP-DEV] mime_magic segfaults

2002-11-14 Thread Ilia A.
Could you try the attached patch and see if it fixes the problem. Ilia On November 14, 2002 03:10 pm, Moriyoshi Koizumi wrote: > Hi, > > I found a bug in mime_magic. If the module fails to read the magic file > specified by mime_magic.magicfile during the module initialisation, it > tries to put

[PHP-DEV] show_source()

2002-11-14 Thread nicos
Hello, Some users are requesting some new arguments in show_source() like having the line numbers, having a link to the php manual when a function is called... (see #12442 ) What do you think of that? Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites in

RE: [PHP-DEV] GD 2.0.6 make errors

2002-11-14 Thread Mike Robinson
Derick Rethans wrote: > It clearly crashes in the gid stuff... most likely the zlib version > against which gd was build does not match the zlib against PHP was > linked. But I really dont think you should be asking for support, as > this is a hacked up GD. Nope, not asking for support. Just

[PHP-DEV] [CORRECTED] [PATCH] fancy_html_errors

2002-11-14 Thread John Bradford
Hi, Thanks for pointing me to README.SUBMITTING_PATCH - it's only included in the CVS tree, not in the releases. It might be a good idea to put it in distribution releases too - I did look around for such a guide before submitting. Anyway, here is a new patch against the CVS tree. Basically, I'

[PHP-DEV] Extension debugging (stand alone extension)

2002-11-14 Thread Glenn MacGregor
Hi All, I have written an extension to php, it looks like it is crashin in a library call. Is there anyway to use gdb to debug this stuff? Thanks Glenn -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] mime_magic segfaults

2002-11-14 Thread Moriyoshi Koizumi
Hi, I found a bug in mime_magic. If the module fails to read the magic file specified by mime_magic.magicfile during the module initialisation, it tries to put an error, and then segfaults. Here's the backtrace. #0 0x0813402b in sapi_send_headers (tsrm_ls=0x8277f68) at /home/koizumi/src/p

Re: [PHP-DEV] [PATCH] fancy_html_errors

2002-11-14 Thread Marcus Börger
You can configure error messages in various ways from you php.ini. Below you can read about in a php.ini snippet (php.ini-dist should be contained in your distribution). If you have more questions about those ini directives -> ask mailto:php-general@;lists.php.net According to your patch: The ma

RE: [PHP-DEV] PHP 4.3 ToDo

2002-11-14 Thread Marcus Börger
| >* Change PHP error messages, so that they point to pages |or sections | > in the PHP Manual. | Any particular concern as to how/when to point to the manual? I'm assuming a HREF to http://www.php.net/ works, for every function? We simply have to convert php_error() calls to php_err

[PHP-DEV] [RESEND] [PATCH] fancy_html_errors

2002-11-14 Thread John Bradford
Ah, looks like I have to send the patch in-line, not as an attachment? John. diff --unified php-4.2.3.orig/main/main.c php-4.2.3/main/main.c --- php-4.2.3.orig/main/main.c 2002-07-25 10:35:18.0 +0100 +++ php-4.2.3/main/main.c 2002-11-14 19:02:44.0 + @@ -218,6 +218,7 @@

Re: [PHP-DEV] PHP 4.3 ToDo

2002-11-14 Thread Georg Richter
On Thursday 14 November 2002 19:58, Steven Roussey wrote: > Personally, I'd like to see the MySQL extension work again. > > The issue: persistent connections are broken when used heavily. > > Simple fix: _restore_connection_defaults() can be eliminated until fixed > properly. As discussed with Der

RE: [PHP-DEV] GD 2.0.6 make errors

2002-11-14 Thread Derick Rethans
On Thu, 14 Nov 2002, Mike Robinson wrote: > > > Jani Taskinen writes: > > > This was actually fixed long time ago in CVS.. > > > > I use 2.0.4 with the gif stuff hacked in, and current CVS from > about 5 minutes ago segfaults when using the gif stuff. Might be > a problem with the gd l

[PHP-DEV] [PATCH] fancy_html_errors

2002-11-14 Thread John Bradford
Hi, Firstly, please accept my appologies if this is the wrong list to send a patch to. PHP error messages in web pages are often made difficult to read by the surrounding HTML, and it occurred to me that style-sheet aware browsers could render errors in a more attention-getting way. Non style-sh

Re: [PHP-DEV] PHP 4.3 ToDo

2002-11-14 Thread Derick Rethans
On Thu, 14 Nov 2002, Steven Roussey wrote: > Personally, I'd like to see the MySQL extension work again. > > The issue: persistent connections are broken when used heavily. > > Simple fix: _restore_connection_defaults() can be eliminated until fixed > properly. > > So if the simple fix is imple

Re: [PHP-DEV] PHP 4.3 ToDo

2002-11-14 Thread Andrey Hristov
I agree. Nevertheless that I think 430 is stable, this unstability in the mysql extension will stop me from promoting to people I know the switch from 4.2.2 to 4.3.0 On my dev server we deployed 430-dev and I have seen those "out of sync" errors. I think that it is maybe even a showstopper. Rega

RE: [PHP-DEV] GD 2.0.6 make errors

2002-11-14 Thread Mike Robinson
> Jani Taskinen writes: > This was actually fixed long time ago in CVS.. > I use 2.0.4 with the gif stuff hacked in, and current CVS from about 5 minutes ago segfaults when using the gif stuff. Might be a problem with the gd lib I'm using... backtrace as follows (couldn't get a core fil

Re: [PHP-DEV] PHP 4.3 ToDo

2002-11-14 Thread Steven Roussey
Personally, I'd like to see the MySQL extension work again. The issue: persistent connections are broken when used heavily. Simple fix: _restore_connection_defaults() can be eliminated until fixed properly. So if the simple fix is implemented then all users of MySQL not using transactions will w

RE: [PHP-DEV] PHP 4.3 ToDo

2002-11-14 Thread John Coggeshall
| >* Make all extensions thread-safe. | |lol: How do we know that? Partly er rely on external |libraries...discussed |elsewhere I don't think we're going to get the extensions all thread-safe... That could very well be a third-party library issue having little to do with PHP. If we can set t

RE: [PHP-DEV] GD 2.0.6 make errors

2002-11-14 Thread Clay P. Campbell
Thanks everyone, it is fixed and I found the answer in php.bugs Sorry again to bother the dev list -Original Message- From: Jani Taskinen [mailto:sniper@;iki.fi] Sent: Thursday, November 14, 2002 12:37 PM To: [EMAIL PROTECTED] Cc: Adam Voigt; Clay P. Campbell; [EMAIL PROTECTED] Subject:

Re: [PHP-DEV] GD 2.0.6 make errors

2002-11-14 Thread Jani Taskinen
This was actually fixed long time ago in CVS.. --Jani On Thu, 14 Nov 2002, Marcus Börger wrote: >No! Exactly the correct list because he told us that current version do not >build with newest GD version. And the GD maintainers have to do something >about that :-) > >marcus > >A

[PHP-DEV] PHP 4.3 ToDo

2002-11-14 Thread Marcus Börger
I am commenting some entries from the ToDo here: >global >-- >For PHP 4.3.0: >* Add aliases to functions to conform to new naming conventions, e.g. > str_to_upper(). some work done - many work needed here. What about a new compiler define that allows enabling/disabling old functi

Re: [PHP-DEV] GD 2.0.6 make errors

2002-11-14 Thread Marcus Börger
No! Exactly the correct list because he told us that current version do not build with newest GD version. And the GD maintainers have to do something about that :-) marcus At 17:55 14.11.2002, Adam Voigt wrote: Wrong list, try php-general or php-install, php-dev is for discussion about the devel

RE: [PHP-DEV] GD 2.0.6 make errors

2002-11-14 Thread Mike Robinson
Its up to 2.0.6 now. :) Boutell has gone GD crazy all of a sudden. Regards Mike Robinson > -Original Message- > From: Pierre-Alain Joye [mailto:paj@;pearfr.org] > Sent: Thursday, November 14, 2002 11:55 AM > To: Clay > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-DEV] GD 2.0.6 make errors

Re: [PHP-DEV] GD 2.0.6 make errors

2002-11-14 Thread Pierre-Alain Joye
On Thu, 14 Nov 2002 11:51:30 -0500 "Clay" <[EMAIL PROTECTED]> wrote: > Gcc 3.2 > Solaris 9 > > 2.0.1 works fine. Any ideas? Anyone compile 2.0.6 yet on any > platform? do you mean 2.04 official gd ? pa -- PHP Development Mailing List To unsubscribe, visit: http://www.p

Re: [PHP-DEV] GD 2.0.6 make errors

2002-11-14 Thread Adam Voigt
Wrong list, try php-general or php-install, php-dev is for discussion about the development of PHP not development in PHP. On Thu, 2002-11-14 at 11:51, Clay wrote: > Gcc 3.2 > Solaris 9 > > 2.0.1 works fine. Any ideas? Anyone compile 2.0.6 yet on any platform? > > In file included from gd.c:83

[PHP-DEV] GD 2.0.6 make errors

2002-11-14 Thread Clay
Gcc 3.2 Solaris 9 2.0.1 works fine. Any ideas? Anyone compile 2.0.6 yet on any platform? In file included from gd.c:83: gd_ctx.c: In function `_php_image_output_ctx': gd_ctx.c:70: structure has no member named `free' gd_ctx.c:98: structure has no member named `free' gd.c: In function `_php_imag

Re: [PHP-DEV] is_*

2002-11-14 Thread Melvyn Sopacua
At 03:46 14-11-2002, [EMAIL PROTECTED] wrote: Hello, After having helped many users, I just thought of new functions like is_alpha, is_alnum, is_valid_email() Oh - please don't touch that. "Bug #102839404: php sent email to invalid address Hi, is_valid_email() says '[EMAIL PROTECTED]' is

Re: [PHP-DEV] windows binaries with LIBXSLT enabled

2002-11-14 Thread Lucas M. Kalita
> > Is it possible to make Windows binaries (snapshots and releases) > > to include XSLT/EXSLT support included in DOM XML extension. > > > > XSL transformation engine in DOM XML is in my opininion (we use it on > > several sites) a lot better then XSLT extension (Sablotron). > I would think that

Re: [PHP-DEV] windows binaries with LIBXSLT enabled

2002-11-14 Thread BigDog
I would think that you would want (or have) to enable XSLT/EXSLT in both major platforms (win32 and *nix). However, the problem that i see is that many *nix developers do not need or possibly want DOM. So coding it all might be more hassle then it is worth. IMHO On Thu, 2002-11-14 at 11:52, Lu

Re: [PHP-DEV] Sybase_ct and tli lib

2002-11-14 Thread Brian Foddy
Timm Friebe wrote: On Wed, 2002-11-13 at 18:03, Brian Foddy wrote: Timm, I've seen it used for 10 years on Solaris, and I spent about a year working on Irix and Informix, and there were some references to it there also. strings libtli.so | grep "^Sybase" Sybase TCP/IP TLI Library/12.0/P/SP

Re: [PHP-DEV] curl_exec hangs

2002-11-14 Thread Sterling Hughes
> Good morning, > > I am using curl to send xml string to my merchant's account gateway when > curl_exec() executes the xml is successfully received by its destination but > I am not getting anything back (it just hangs) Could anyone help me with > this problem? > Hi, I'm sure someone could - a

Re: [PHP-DEV] [PHP-QA] Test results (fwd)

2002-11-14 Thread Marcus Börger
Done - the behaviour should now be the same and correct way on all systems. marcus At 12:08 14.11.2002, Derick Rethans wrote: On Thu, 14 Nov 2002, Marcus Börger wrote: > No! The problem is this differs from system to system. > I thought most systems allow read during write and implemented it th

[PHP-DEV] CVS Account Request: xelis

2002-11-14 Thread Dan Tofan
I'm a Computer Science student in Romania and I would like to help translating the documentation in Romanian. My English is very good, moreover I have a Toefl certificate in English. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] ext/overload API

2002-11-14 Thread Timm Friebe
On Thu, 2002-11-14 at 14:09, Timm Friebe wrote: > Hello, [...] > function __get($k) { > return $this->$k; > } [...] Woops, this is wrong, of course. function __get($k, &$v) { $v= &$this->$k; return TRUE; } I also missed that if a member variable exists, __get or __set won't be

Re: [PHP-DEV] ext/overload API

2002-11-14 Thread Andrei Zmievski
On Thu, 14 Nov 2002, Timm Friebe wrote: > Hello, > Andrei, as I can see, you're the author of ext/overload. As suggested > earlier, I've added a second parameter to sybase_fetch_object() which > allows users to pass an object to be filled with the results from the > fetched row (e.g. $article= syba

Re: [PHP-DEV] 4.2.3 mbstring patch?

2002-11-14 Thread Andrei Zmievski
On Thu, 14 Nov 2002, lowbwtom wrote: > Will there be a patch to fix the mbstring bug in 4.2.3? Any idea when? > (specifically to fix the missing 4 characters in array posts) > > Some of us have been totally screwed by this bug - since our isp's have > updated to 4.2.3 and left everyone's sites tot

[PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] PHP Snaps

2002-11-14 Thread James Cox
> At 16:49 12.11.2002, Jon Parise wrote: > >On Tue, Nov 12, 2002 at 10:22:36AM +0100, Marcus Brger wrote: > > > > > Yes when i introduce a problem with win32 build i have to wait > > > up to 4 hours until i can see the problem and try to fix it. Then > > > i have to wait 4 more hours to see whther

[PHP-DEV] ext/overload API

2002-11-14 Thread Timm Friebe
Hello, Andrei, as I can see, you're the author of ext/overload. As suggested earlier, I've added a second parameter to sybase_fetch_object() which allows users to pass an object to be filled with the results from the fetched row (e.g. $article= sybase_fetch_object($q, new Article()); or $article= s

Re: [PHP-DEV] Re: is_*

2002-11-14 Thread Hartmut Holzgraefe
[EMAIL PROTECTED] wrote: What about making FALIASES so it can be found in is_*? Really easier for newbies. We want to get rid of function aliases whereever possible, not generate new ones. We talked about the naming for the ctype functions back then when i wrote them and decided not to use is_*

Re: [PHP-DEV] strpos() suggestion

2002-11-14 Thread Andrey Hristov
Hi, from 4.3.0 it will be ok to use strcspn(), atm (int 4.2.3) it has 2 params. >From 4.3.0 it has up to four params. It the second pair is like in substr(). Start index can be given, or even start index and how much chars to be checked. The same behavior is true and for strspn() (starting 4.3.0) b

Re: [PHP-DEV] Sybase_ct and tli lib

2002-11-14 Thread Timm Friebe
On Wed, 2002-11-13 at 18:03, Brian Foddy wrote: > Timm, > > I've seen it used for 10 years on Solaris, and I spent about > a year working on Irix and Informix, and there were some > references to it there also. > > strings libtli.so | grep "^Sybase" > Sybase TCP/IP TLI Library/12.0/P/SPARC/Sola

[PHP-DEV] windows binaries with LIBXSLT enabled

2002-11-14 Thread Lucas M. Kalita
Hi, Is it possible to make Windows binaries (snapshots and releases) to include XSLT/EXSLT support included in DOM XML extension. XSL transformation engine in DOM XML is in my opininion (we use it on several sites) a lot better then XSLT extension (Sablotron). LK -- PHP Development Mailing L

[PHP-DEV] Support for Birdstep RDM Server database engine

2002-11-14 Thread Diggy Bell
Hello All, I have recently been approached by Birdstep about updating the PHP module to support their database engine for an internal project. In the past (v4.1.2 and earlier IIRC), PHP has provided support for the Birdstep (formerly Velocis) database as part of the distribution. Since v4.1.2 (I

Re: [PHP-DEV] Re: is_*

2002-11-14 Thread Maxim Maletsky
I was refering about ctype lib :) -- Maxim Maletsky [EMAIL PROTECTED] Maxim Maletsky <[EMAIL PROTECTED]> wrote... : > even earlier, I though... > > What really needs to be done is to document them better under ereg* and > preg* and, maybe even, strings sections of documentation. This, I thin

Re: [PHP-DEV] [PHP-QA] Test results (fwd)

2002-11-14 Thread Marcus Börger
O.k. i will try... Another thing: It seems i nearly fixed all db extension problems but dba extension is now a complete superset. So shall i fix locking for db and/or shall we move it to pecl? If we move db to pecl how about a configure switch to map dbmxxx functions to their dba counterparts? mar

Re: [PHP-DEV] [PHP-QA] Test results (fwd)

2002-11-14 Thread Derick Rethans
On Thu, 14 Nov 2002, Marcus Börger wrote: > No! The problem is this differs from system to system. > I thought most systems allow read during write and implemented it the > test this way until i had a solution for the extension to disallow read > during write. > > I must disallow it because most

Re: [PHP-DEV] snaps.php.net

2002-11-14 Thread Edin Kadribasic
Unfortunatelly we don't save the logs for each win32 build. Only for the latest one. It sort of make sense since there are situations where we need compile log even if the build failed. Edin - Original Message - From: "Marcus Börger" <[EMAIL PROTECTED]> To: "Edin Kadribasic" <[EMAIL PROTE

Re: [PHP-DEV] Re: is_*

2002-11-14 Thread Maxim Maletsky
even earlier, I though... What really needs to be done is to document them better under ereg* and preg* and, maybe even, strings sections of documentation. This, I think, would give them the required famousity. -- Maxim Maletsky [EMAIL PROTECTED] Hartmut Holzgraefe <[EMAIL PROTECTED]> wrote..

Re: [PHP-DEV] snaps.php.net

2002-11-14 Thread Marcus Börger
Nice :-) Could we have the log files to each build (download) as an extra link? marcus At 02:09 14.11.2002, Edin Kadribasic wrote: Because of the creation of PHP_4_3 branch snaps.php.net was updated so that STABLE snapshots are made off that branch. Thanks to Ilia Alshanetsky we have a new pre

Re: [PHP-DEV] [PHP-QA] Test results (fwd)

2002-11-14 Thread Marcus Börger
No! The problem is this differs from system to system. I thought most systems allow read during write and implemented it the test this way until i had a solution for the extension to disallow read during write. I must disallow it because most libraries have problems (flushing of data). So that the

[PHP-DEV] curl_exec hangs

2002-11-14 Thread Jacek Woloszuk
Good morning, I am using curl to send xml string to my merchant's account gateway when curl_exec() executes the xml is successfully received by its destination but I am not getting anything back (it just hangs) Could anyone help me with this problem? Thank you, Jacek -- PHP Development Mailin

[PHP-DEV] Re: php_error_docref

2002-11-14 Thread Marcus Börger
At 01:29 14.11.2002, you wrote: Marcus, Noticing how heavily you're changing php_error() into php_error_docref() I was kinda wondering: do you have to be prepared somehow for me to change OCI8 extension using php_error_docref() or should I just go and fix those? How can I test it? I wrote a sc

Re: [PHP-DEV] Re: is_*

2002-11-14 Thread Hartmut Holzgraefe
[EMAIL PROTECTED] wrote: Okay, some of them are in ctype. But it should be easier to have them in standard so basic user should use them. ctype is enabled by default in 4.3 ... -- Six Offene Systeme GmbH http://www.six.de/ i.A. Hartmut Holzgraefe Email: [EMAIL PROTECTED] Tel.: +49-711-990

Re: [PHP-DEV] 4.2.3 mbstring patch?

2002-11-14 Thread Derick Rethans
On Thu, 14 Nov 2002, lowbwtom wrote: > Will there be a patch to fix the mbstring bug in 4.2.3? Any idea when? > (specifically to fix the missing 4 characters in array posts) > > Some of us have been totally screwed by this bug - since our isp's have > updated to 4.2.3 and left everyone's sites to