Re: [PHP-DEV] 64bit PHP on solaris

2003-03-15 Thread David Hill
> Even so, I don't know what would be hard for anyone to understand about > my patches (and no-one has asked me in the past). If you think there > simply too many of them, most of them are probably whitespace > disagreements between what you committed and what the PHP style appears > to be. The bas

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-14 Thread David Hill
> > Which part of "please coordinate with me on streams issues" didn't you > get? ;-) > > If there are long vs int issues in streams, please let me know where > they are and I will fix it. > > Thanks :) Forgive me if I am a bit dense tonight :-) My 15 yr old son is having a lan party in the baseme

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-14 Thread David Hill
> Please coordinate with me on streams issues; if some 64bit oses declare > descriptors as longs rather than ints, then we could have a bigger job > on our hands (similar to the mess with socket types under win32). Tru64 & HP-UX (and I would guess Solaris and the rest) - the descriptor is an in

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-14 Thread David Hill
> CRIPES, people! I posted patches in November 2002 (admittedly, it was a > large patch and probably no one got to check it all out). Then, I > reposted them (and sent then directly to you, Dave!) a few days ago. And I got all but the three files merged that are probably causing his problem too -

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-14 Thread David Hill
> CRIPES, people! I posted patches in November 2002 (admittedly, it was a > large patch and probably no one got to check it all out). Then, I > reposted them (and sent then directly to you, Dave!) a few days ago. And I got all but the three files merged that are probably causing his problem too -

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-13 Thread David Hill
Chris, some of these changes went in a few days ago, so you want to: cvs co -r PHP_4_3 php4 or grab the release candidate. > > first file_get_contents & readfile both core dump with bus errors b/c > > the file descriptors are typed as int's when they should be longs > > (steams.c line

Re: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread David Hill \(php.net\)
> Aside from renaming the php-dev list, we should remove the 'PHP and Zend > Engine internals lists' from the regular mailing list page, put them in > a 'developers' section (name isn't important) that describes cvs access, > dev email lists, how to build (ie. win32 libraries), etc. As a newbie c

RE: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread David Sklar
On Wednesday, March 12, 2003 12:41 PM, Derick Rethans wrote: > On Wed, 12 Mar 2003, Sascha Schumann wrote: > >> The list could be renamed so that it is less confusing for >> newbie PHP developers. > > What is confusing with this description? > > "Internals list > A medium volume list for t

Re: [PHP-DEV] [WARNING] Release process for 4.3.2 starts RSN..

2003-03-09 Thread David Brown
On Sun, Mar 09, 2003 at 05:17:37PM +0100, Derick Rethans wrote: | Hello, | | I guess nobody is interested in fixing this? Then I guess we won't get | 4.3.2 ever. | | > To get this thing started, I'm going to roll PHP 4.3.2-pre1 | > on Wednesday, 26th Feb, around 3pm EEST. And I'll announ

[PHP-DEV] Re: Further outstanding 64-bit issues with PHP_4_3

2003-03-08 Thread David Hill
Thanks, will look at these and see if I can't get them in with Jani's permission. The OnUpdateLong is in my cvs queue, but I was getting a karma issue on Friday. Out of curiosity - which platform do you use ? I am on Tru64 and am working with the HP-UX folks. It would be interesting to know what

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-07 Thread David Hill
Thank you all for you tips and pointers on this build issue. Once I switched to the PHP_4_3 tree I things got much better :-) I built it and hand installed the .so and am seeing a phpinfo() page in my browser. Dave -- PHP Development Mailing List To unsubscribe, visit: h

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-07 Thread David Hill
> >I set up a debian linux box and after getting the right versions of > >things I am still getting the same results from configure. I am > >getting a syntax error saying "else" unexpected. > > With php5 module HEAD? No - php4 HEAD, should I be doing this with php5 instead ? > What line

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-07 Thread David Hill
> > # flex-2.5.27/flex -V -v --version 2>/dev/null > > flex 2.5.27 > > This should be parsed correctly. What kind of OS and /bin/sh OS == Tru65, shell is /bin/sh > do you have? > > What does > > ver1="2.5.27" > ver2="2 5 27" > set $ver2; echo $3 27 > IFS=.; set $ver1

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-07 Thread David Hill
> What does this output? > > flex -V -v --version 2>/dev/null > > - Sascha # flex-2.5.27/flex -V -v --version 2>/dev/null flex 2.5.27 # flex-2.5.4/flex -V -v --version 2>/dev/null flex-2.5.4/flex version 2.5.4 Nice consistancy eh ? Dave -- PHP Development Mailing List

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-06 Thread David Hill
> > Thanks ! That does help some. I don't get the buildconf warnings now, > > but I am still getting shell syntax errors in the resulting configure > > script. arrrgh :-p > > Make sure that autoconf-2.13 is completely reinstalled > (including rm -rf autoconf-2.13). Otherwise, the frozen >

Re: [PHP-DEV] fun with autoconf on Tru64

2003-03-06 Thread David Hill
> You shouldn't :) > m4-1.4 without the 'o'. Thanks ! That does help some. I don't get the buildconf warnings now, but I am still getting shell syntax errors in the resulting configure script. arrrgh :-p Dave -- PHP Development Mailing List To unsubscribe, visit: http://

RE: [PHP-DEV] Doing something with an each opcode as zend_execute() handles it

2003-03-05 Thread David Sklar
a zend_extension in ZE1 (that I know > of). You need to patch the engine (which is trivial). Yeah, so far I'm just using a different zend_execute.c with my added code, I was just wondering if there's a better/more formal/etc way to do it... Thanks, David -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Doing something with an each opcode as zend_execute() handles it

2003-03-05 Thread David Sklar
of the opcodes, but as they are executed, not all in one big chunk after they are compiled. This isn't for any actually useful production code, just some debugging/messing around/exploring engine internals. David -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Doing something with an each opcode as zend_execute() handles it

2003-03-05 Thread David Sklar
e the saved value in PHP_MSHUTDOWN_FUNCTION)? This new function would mostly be a copy of execute() in zend_execute.c with my addtional function call tossed in. What's the difference between zend_execute() and zend_execute_internal()? Thanks, David -- PHP Development Mailing List <http:

[PHP-DEV] pg_lo_open and object creation... intended behavior?

2003-03-05 Thread David Brown
Hi: This is an excerpt from ext/pgsql/pgsql.c, in pg_lo_open: --- if (strchr(mode_string, 'w') == mode_string) { pgsql_mode |= INV_WRITE; create = 1; if (strchr(mode_string, '+') == mode_string+1) { pgsql_mode |= INV_READ; } } pgsql_lofp = (pgLofp *) emalloc(sizeof(pgLofp

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-03-05 Thread David Hill
> A single API is probably sufficient but I can understand that extension > writers might want to use ints. The INI flag might have nothing to do with > an internal zval and an int might be more than enough. > I don't really mind but I wouldn't introduce OnUpdateInteger. > I guess we should eith

Re: [PHP-DEV] [PATCH] - 64 bit issue with zend_parse_parameters calls

2003-03-05 Thread David Hill
> Just commit these.. I will - give me a couple of days though - given that it is my first commit with php I want to triple check that I have got the process correct before I push the button :-) Dave -- PHP Development Mailing List To unsubscribe, visit: http://www.p

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-03-04 Thread David Hill
> Is there any specific reason why a single API (OnUpdateLong) > is not sufficient? Is not it a safe assumption that those > modules which still use 'int's are simply the result of a > mistake on the developer's side? This is a reasonable assumption actually I can't think of

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-03-04 Thread David Hill
The patch I sent in should have all of the OnUpdateLong changes in them, and the remaining OnUpdateInt should probably be OnUpDateInteger. The painful part was actually looking at what was passed to match up the calls. That might save you some time. dave hill > > Yes, I know, but we need t

[PHP-DEV] CVS Account Request: ddhill

2003-03-04 Thread David Hill
Would like to contribute 64 bit related corrections to PHP core and extensions. Will be feeding changes found by the HP Tru64 and UX teams back. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-03-04 Thread David Hill
> So for 4.3.2, we add the OnUpdateLong() and replace > all the calls to OnUpdateInt() to use that instead > and we leave the OnUpdateInt() behaviour same as it was. > This shouldn't cause BC problems then..? If you want to leave the current OnUpdateInt behavior (uses long * inte

Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt

2003-02-28 Thread David Hill
> > So I think the fix of adding OnUpdateLong() is the correct fix. > > I was under the impression that OnUpdateInt was actually > expecting a long. I remember changing some int's to long's > to address 64 bit issues. Do I remember this incorrectly? > > - Sascha Most, but not al

Re: [PHP-DEV] Getting an external param into a userspace streams filter...

2003-02-27 Thread David Brown
Hi Wez: On Thu, Feb 27, 2003 at 04:26:40PM +, Wez Furlong wrote: | Hi David, | | user filters are in a little bit of flux atm. | | However, the idea is that the param argument will be altered to be a | zval (rather than just a string). | | In the oncreate() method, the following member

Re: [PHP-DEV] Getting an external param into a userspace streams filter...

2003-02-27 Thread David Brown
On Thu, Feb 27, 2003 at 09:42:24AM -0500, David Brown wrote: | On Thu, Feb 27, 2003 at 09:40:15AM -0500, David Brown wrote: | | Hi Wez, everyone: | | | | Is there (or will there ever be) a good way to transmit an extra | | parameter into a php_user_filter around the time that oncreate() is

Re: [PHP-DEV] Getting an external param into a userspace streams filter...

2003-02-27 Thread David Brown
On Thu, Feb 27, 2003 at 09:40:15AM -0500, David Brown wrote: | Hi Wez, everyone: | | Is there (or will there ever be) a good way to transmit an extra | parameter into a php_user_filter around the time that oncreate() is | called? I've run into a couple cases where it'd be incredibly use

[PHP-DEV] Getting an external param into a userspace streams filter...

2003-02-27 Thread David Brown
Hi Wez, everyone: Is there (or will there ever be) a good way to transmit an extra parameter into a php_user_filter around the time that oncreate() is called? I've run into a couple cases where it'd be incredibly useful (e.g. for filters that don't modify the stream, but do have side-effects). Is

Re: [PHP-DEV] Of string constants, bytecode, and concatenation

2003-02-26 Thread David Brown
On Wed, Feb 26, 2003 at 05:36:54PM +0100, Derick Rethans wrote: | No, the engine doesn't do this at compile time. This first one produces: | | number of ops: 5 | line # op fetch ext operands | ---

[PHP-DEV] Of string constants, bytecode, and concatenation

2003-02-26 Thread David Brown
Hi everyone: This may well be a stupid question, but I've spend enough time staring blankly at zend_compile.c/zend_execute.c that I figured it was time to ask. :) Say I have a section of code like this: In the PHP bytecode (I hope I'm using the right terminology - I mean the stuff in the oplin

[PHP-DEV] [PATCH] include file when using open_basedir

2003-02-23 Thread David Saez
ions, where the real requested file is /usr/local/http-docs/filename -- Best regards ... I was arrested for selling illegal sized paper. ---- David Saez Padroshttp://www.ols.es On-Line Services 2000 S.L. e-ma

[PHP-DEV] [PATCH] warning does not report correct open_basedir

2003-02-23 Thread David Saez
. David Saez Padroshttp://www.ols.es On-Line Services 2000 S.L. e-mail [EMAIL PROTECTED] Pintor Vayreda 1 telf+34 902 50 29 75 08184 Palau-Solita i Plegamans movil +34 670 35 27

[PHP-DEV] [PATCH] include file when using open_basedir

2003-02-23 Thread David Saez
/usr/local/http-docs/filename -- Best regards ... I was arrested for selling illegal sized paper. ---- David Saez Padroshttp://www.ols.es On-Line Services 2000 S.L. e-mail [EMAIL PROTECTED] Pintor Vayreda 1

[PHP-DEV] mb_string overloading and binary data...

2003-02-19 Thread David Brown
Hi: This is kind of a user-space question, but I'm hoping that it concerns enough of the PHP infrastructure (conceptually) that this is the right place to post it. I've got an application that processes both textual and binary data. The domain of the application isn't really relevant, but it make

[PHP-DEV] CVS Account Request: daggilli

2003-02-18 Thread David Gillies
Contributing two modules which I hope to become part of PEAR (or maybe even core). One is a module (timezone) to parse tzfile(5) timezone files to find offsets from UTC for a given timezone at an arbitrary time in the past or future (Unix epoch). The other (securesocket) is a module that exposes

[PHP-DEV] CVS Account Request: daggilli

2003-02-18 Thread David Gillies
Ignore previous subject line, username request is daggilli --- David Gillies <[EMAIL PROTECTED]> wrote: > I'd like to request CVS access to the PEAR/PECL > effort > so I can contribute a couple of modules I've > written. > > Requested username: daggilli >

[PHP-DEV] CVS Account Request: tomysk

2003-02-18 Thread David Gillies
I'd like to request CVS access to the PEAR/PECL effort so I can contribute a couple of modules I've written. Requested username: daggilli David Gillies San Jose Costa Rica __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine&

[PHP-DEV] Contributing to PHP - how?

2003-02-17 Thread David Gillies
itch-scratching code). But how do I contribute it? Best Wishes David Gillies San Jose Costa Rica __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- PHP Development Mailing List <http://www.php.net/

Re: [PHP-DEV] Current HEAD segfaults with Horde/CHORA

2003-02-11 Thread David Brown
On Tue, Feb 11, 2003 at 03:17:53PM -0500, Derick Rethans wrote: | > David Brown wrote: | > | > I assume the crash on infinite recursion is a stack-overflow type thing, | > but is there any reason that doesn't trigger the 'Allowed memory | > exhausted' and exi

Re: [PHP-DEV] Current HEAD segfaults with Horde/CHORA

2003-02-11 Thread David Brown
On Tue, Feb 11, 2003 at 01:18:20PM +0100, Derick Rethans wrote: | On Tue, 11 Feb 2003, Sebastian Bergmann wrote: | | > Derick Rethans wrote: | > Be that as it may, but it still shouldn't segfault, no? ;-) | | recursive function calls always segfault, just like: | | | | so it's 'expected beha

[PHP-DEV] karma for pear/PECL/myphp

2003-02-11 Thread David Sklar
] produce no response. Could I have karma for this please? Alternatively, I can make a package and upload it to PEAR via the web interface, but since myphp was added to the CVS repository directly, I'm not sure which method is correct. Thanks, David -- PHP Development Mailing List

Re: [PHP-DEV] Timezone functions

2003-02-07 Thread David Gillies
OK, so I've had a couple of replies stating interest in this. How do I go about contributing my code? Best Wishes David Gillies San Jose Costa Rica --- David Gillies <[EMAIL PROTECTED]> wrote: > My module exposes a single function, > timezone_offset(). From the module cod

[PHP-DEV] Timezone functions

2003-02-06 Thread David Gillies
eone point me at a description of the procedure to make a contribution to PEAR or PECL? David Gillies > if i grasp u, my new 'idate("Z")' 'll do the job > for u. > > moshe > -- > --- Moshe Doron <[EMAIL PROTECTED]> wrote: > "David Gillie

RE: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread David Sklar
> From: David Gillies [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 11:18 AM > > In a similar itch-scratching moment I whipped up a > trivial PHP module that groks tzfile timezone files to > give you the offset from GMT at any time in the Unix > epoch. I nee

Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread David Gillies
I thought it might merit further dissemination. Anyone interested? Best Wishes David Gillies San Jose Costa Rica > sunrise() - sunset() functions > __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yah

RE: [PHP-DEV] Using CLI as a shell

2003-02-03 Thread David Sklar
> > > There is a difference between interactive mode and this idea. The > > > idea was to execute every single line. So if you type 'echo "Hello\n"; > > > and press enter "Hello" should be displayed. > > > > i like this idea, so i no longer have to type echo "Hello" on my bash > prompt > > :) > > A

RE: [PHP-DEV] Re: #21659 [Com]: sprintf

2003-01-15 Thread David Sklar
> From: Ilia A. [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 15, 2003 11:19 AM > > Consider the following, there are a lot more PHP users then PHP > developers and > considering that not all PHP developers are actively involved in the bug > solving process (many are involved with PEAR/PECL

RE: [PHP-DEV] Re: #21659 [Com]: sprintf

2003-01-15 Thread David Sklar
> On January 15, 2003 10:27 am, Adam Wright wrote: > > Last ditch effort of "NotAPHPBug"? ;) > > This too may not be a correct solution all the time. Consider > 75th duplicate > report of an invalid or even a resolved bug report. It may have > been a bug at > some point, but certainly is not anymor

Re: Fwd: Re: [PHP-DEV] ext_skel

2002-12-23 Thread David Gillies
OK, how about a much-expanded version for 4.3.1, say? I'm a big fan of self-documenting code (use the source, Luke). Perhaps a default function with all the bells and whistles (checking for references, grabbing a resource, etc, all documented up the wazoo). Best Wishes David Gillies San

[PHP-DEV] OpenSSL wrappers for PHP 4

2002-12-02 Thread David Gillies
lly as part of a collaborative effort using CVS, then please contact me. Best Wishes, David Gillies San Jose Costa Rica P.S. A minimal SSL session with my module might look something like the following: $ctx=securesocket_ssl_ctx_new(securesocket_sslv3_client_method()); $ssl=secu

Re: [PHP-DEV] Capturing headers with output buffering?

2002-11-24 Thread David Brown
to accomplish? | | | On Sunday, November 24, 2002, at 05:40 PM, David Brown wrote: | | >Hi: | > | >Architecturally speaking, is there any simple way to modify an sapi | >backend to return HTTP headers through the output buffering mechanism? | > | >As far as I can

[PHP-DEV] Capturing headers with output buffering?

2002-11-24 Thread David Brown
Hi: Architecturally speaking, is there any simple way to modify an sapi backend to return HTTP headers through the output buffering mechanism? As far as I can tell, headers are managed seperately by main/output.c, with php_ub_body_write_no_header being substituted in once the HTTP headers are sen

Re: [PHP-DEV] Proto void and return values...

2002-11-12 Thread David Brown
On Tue, Nov 12, 2002 at 02:16:41PM -0500, David Brown wrote: | Hi everyone: | | For functions prototyped as returning void, return values seem to be applied | at random. Some functions, such as trigger_error/user_error, srand, ob_start, | and phpinfo, use RETURN_TRUE. The vast majority of these

[PHP-DEV] Proto void and return values...

2002-11-12 Thread David Brown
Hi everyone: In trying to do something syntatically fancy with trigger_error() today, I came across what I believe to be an inconsistency in the way return values are being applied throughout the PHP4 tree. Proof (hopefully) follows. :) For functions prototyped as returning void, return values se

[PHP-DEV] Do I need the closing ?> tag

2002-11-08 Thread David McArthur
PHP 4.2.2 (linux) doesn't seem to mind if I leave off the closing ?> tag at the end of a file. Is the ?> assumed at EOF? I have PHP that outputs binary and along the way I include() a lot of php scripts. I'm constantly having problems when I leave a little whitespace at the end of some script af

RE: [PHP-DEV] MySQL UDF that runs PHP

2002-11-07 Thread David Sklar
Indeed, that would be cool. -dave > -Original Message- > From: Adam Voigt [mailto:adam@;cryptocomm.com] > Sent: Wednesday, November 06, 2002 1:05 PM > To: David Sklar > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-DEV] MySQL UDF that runs PHP > > > I'm v

[PHP-DEV] MySQL UDF that runs PHP

2002-11-05 Thread David Sklar
Based on Edin Kadribasic's PHP "embed" SAPI module, I wrote a MySQL UDF that interprets PHP. You can get it here: --> http://www.sklar.com/myphp-0.1.tar.gz I'd be curious for any comments or suggestions folks have. Thanks, David Sklar -- PHP Development Mailing List &

RE: [PHP-DEV] php/ext/xslt and TSRM

2002-10-30 Thread David Viner
online.de] Sent: Wednesday, October 30, 2002 7:38 AM To: Melvyn Sopacua Cc: Sterling Hughes; [EMAIL PROTECTED]; David Viner Subject: Re: [PHP-DEV] php/ext/xslt and TSRM At 15:54 30.10.2002, Melvyn Sopacua wrote: >At 15:10 30-10-2002, Marcus Boerger wrote: > >>What about removing all

[PHP-DEV] berkeley db and dba

2002-10-28 Thread David Viner
Hi, I noticed that the ext/dba extension allows me to use Berkeley DB. I'm interested in using some of the newer features in Berkeley DB v4 (sleepycat's latest release). In particular, there are a set of features regarding a db environment. See http://www.sleepycat.com/docs/ref/env/intro

Re: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-24 Thread David M. Lloyd
On Thu, 24 Oct 2002, Andi Gutmans wrote: > At 02:49 PM 10/23/2002 -0500, David M. Lloyd wrote: > > >The reality of twos-complement, bitwise arithmatic is that there are > >three basic shift operations: shift left, bitwise shift right, and > >arithmetic shift right. Th

Re: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-23 Thread David M. Lloyd
On Tue, 22 Oct 2002, Andi Gutmans wrote: > Jason knows that my stand on this one is that if we have >>> we really > should also have <<< which will clash with here-docs. Suggestions for > other operators such as his are a possibility. Wrong on two counts. The reality of twos-complement, bit

RE: [PHP-DEV] Problem with XSLT Sablotron -> Bug ?

2002-10-14 Thread David Viner
does this work from the sablotron command line? you should be able to run sabcmd test.xslt test.xml and see the correct output. If this fails, then the problem has nothing to do with PHP. If this succeeds, then the error lies with the php extension. I'm cc-ing sab-php list which has as

[PHP-DEV] How to debug?

2002-10-11 Thread David Reid
Can I run the tests under gdb to try and see if I can get a better backtrace? I'm still seeing the segafluts in the session tests... david -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Segafults...

2002-10-07 Thread David Reid
_object_init_ex php_var_unserialize ps_srlzr_decode_php php_session_decode php_session_initialize ext/session/tests/003.phpt is the first test to trigger this :( david -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: output buffering

2002-10-07 Thread David Reid
Agreed, it's only common courtesy. david > > Zeev Suraski wrote: > > > The least you should do is > > > ask either Sascha or me how come it uses chunked buffering, and whether > > > it's not a bug. You would have gotten a pretty clear response

[PHP-DEV] using run-tests.php on windows

2002-10-06 Thread David Viner
hi, i'm trying to get the php tests to run on my windows 2k machine, and having a lot of trouble. i seem to fail at this line: if (@!is_executable($php)) { error("invalid PHP executable specified by TEST_PHP_EXECUTABLE = " . $php); } I removed the '@' to see what was happening,

[PHP-DEV] session tests segfaulting...

2002-10-06 Thread David Reid
ll provide any help I can but last time I traced it it looked like PHP_IC_ENTRY was being set as NULL... david -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] PHP_IC_ENTRY

2002-10-05 Thread David Reid
going on? This is CVS head on beos if it makes any difference. david -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] [PATCH] ext/xslt - xslt_set_object

2002-10-04 Thread David Viner
after talking with other xslt developers, and ensuring backwards compatibility, I have commited this change to the ext/xslt extension. dave -Original Message- From: David Viner [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 11:00 AM To: Php-Dev@lists. php. net Subject

RE: [PHP-DEV] [PATCH] ext/xslt - xslt_set_object

2002-10-03 Thread David Viner
resending as an attachment. dave -Original Message- From: David Viner [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 11:00 AM To: Php-Dev@lists. php. net Subject: [PHP-DEV] [PATCH] ext/xslt - xslt_set_object Here's a short patch to the XSLT extension that allows a

[PHP-DEV] [PATCH] ext/xslt - xslt_set_object

2002-10-03 Thread David Viner
Here's a short patch to the XSLT extension that allows a user to call xslt_set_object($xh,$obj); This works in a manner similar to the 'xml_set_object' function. (Only difference is that the second argument is not passed by reference.) dave = BEGIN PATCH = Index: ext/xslt/php_sa

[PHP-DEV] apache2filter error...

2002-10-02 Thread David Reid
unctions.c:46: error: (Each undeclared identifier is reported only once /boot/home/php4/sapi/apache2filter/php_functions.c:46: error: for each function it appears in.) Any ideas? david -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] TSRM patch for BeOS

2002-10-02 Thread David Reid
Any chance of committing this patch. Adds support for beos threading to TSRM and some small corrections for virtual_cwd. Thanks. david Using port 2401 Index: TSRM/TSRM.c === RCS file: /repository/TSRM/TSRM.c,v retrieving revision

Re: [PHP-DEV] PHP_AUTH_USER in 4.3

2002-10-02 Thread David Reid
This also seems to be a problem for SquirrelMail (2.0.8) which just hangs after the "upgrade". It was working OK before I changed to CVS. david - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "David Reid" <[EMAIL PROTECTED]&g

[PHP-DEV] PHP_AUTH_USER in 4.3

2002-10-01 Thread David Reid
Is support for this being dropped or is it just not added yet? Just changed from 4.2.3 and was surprised to see that it stopped working... david -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] [PATCH] include statement in php.ini file

2002-09-27 Thread David Viner
ntime. I think this function along with ini_set are sufficient to handle run time ini files. dave -Original Message- From: James Moore [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 10:32 AM To: 'Php-Dev@lists. php. net' Cc: 'David Viner'; 'Rasmus Lerd

RE: [PHP-DEV] [PATCH] include statement in php.ini file

2002-09-27 Thread David Viner
} - strcat(php_ini_search_path, default_location); -#endif - } + /* build the search path */ + free_ini_search_path = php_prepare_ini_search_path(&php_ini_search_path); PG(safe_mode) = 0; PG(open_basedir) = NULL; @@ -333,7 +612,7 @@

[PHP-DEV] CVS Account Request: dviner

2002-09-27 Thread David Viner
Developing the PHP runtime, as per Rasmus' suggestion. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] [PATCH] include statement in php.ini file

2002-09-26 Thread David Viner
---Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 5:17 AM To: Zeev Suraski Cc: David Viner; Php-Dev@lists. php. net Subject: RE: [PHP-DEV] [PATCH] include statement in php.ini file I suppose using a PHP keyword like include may lead to a

RE: [PHP-DEV] [PATCH] include statement in php.ini file

2002-09-24 Thread David Viner
ult_location = PHP_CONFIG_FILE_PATH; - if (*php_ini_search_path) { - strcat(php_ini_search_path, paths_separator); - } - strcat(php_ini_search_path, default_location); -#endif - } + /* build the search path */ + free_ini_search_path = php_

[PHP-DEV] [PATCH] include statement in php.ini file

2002-09-24 Thread David Viner
Hi, I've been working with Brian France on a patch that will allow users to include other ini files from the php.ini (see http://marc.theaimsgroup.com/?t=10317976671&r=1&w=2 for earlier discussions). This patch allows the following functionality from the php.ini file: include = file

[PHP-DEV] fnmatch

2002-09-24 Thread David Reid
The test for fnmatch is incorrectly giving "yes" on beos. Autoconf 2.53 seems to have a new test specifically for fnmatch so could we use their test in php? This is probably easier than requiring an upgrade to 2.53 for autoconf for such a trivial little thing... david -- PHP D

RE: [PHP-DEV] compilation order platform dependent?

2002-09-23 Thread David Viner
not of the straight source... but a patch that i'm developing works on one platform but not on the other (relies on a generated header file in Zend/). dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 12:06 PM To: David Vin

[PHP-DEV] compilation order platform dependent?

2002-09-23 Thread David Viner
Hi, I noticed that when I build php from the CVS source on Windows, the Zend/ directory is always compiled before the main/ directory. But on FreeBSD, it's the other way around. Is this intentional? or have I messed up my build environment somehow? thanks dave -- PHP Development Mail

RE: [PHP-DEV] ini question

2002-09-20 Thread David Viner
thanks... i got this working properly. dave -Original Message- From: David Viner [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 9:05 AM To: Php-Dev@lists. php. net Subject: RE: [PHP-DEV] ini question Here is my modified php_init_handler from mod_php4.c static void

RE: [PHP-DEV] ini question

2002-09-20 Thread David Viner
] Sent: Thursday, September 19, 2002 6:25 PM To: David Viner Cc: Php-Dev@lists. php. net Subject: RE: [PHP-DEV] ini question > I am sure that you are correct, Rasmus, and apache is calling it twice, but > what I don't understand is, why are the messages not identical? Because we check

RE: [PHP-DEV] ini question

2002-09-19 Thread David Viner
same "php_ini_handler: starting to run" not printed the second time? And, why does the parser no longer call the lexer? I am sure that you are correct, Rasmus, and apache is calling it twice, but what I don't understand is, why are the messages not identical? dave -Original Mes

RE: [PHP-DEV] ini question

2002-09-19 Thread David Viner
s why it happens a second time. thanks dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 4:35 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP-DEV] ini question Can you provide some context? Devon Original Messag

RE: [PHP-DEV] ini question

2002-09-19 Thread David Viner
examined the OReilly Writing Apache Modules book (in case this was the child processes each parsing the ini file on their own) but to no avail.) Is there Zend documentation of the startup process? dave -Original Message- From: David Viner [mailto:[EMAIL PROTECTED]] Sent: Wednesday

[PHP-DEV] ini question

2002-09-18 Thread David Viner
Hi, I turned on DEBUG_CFG_PARSER in Zend/zend_ini_parser.y which has the parser spit out each key-value pair it discovers. I noticed when I start my Apache, it actually spits everything out twice. The first time I know comes from php_module_startup (called from php_apache_startup which i

RE: [PHP-DEV] Re: [RFC] include_ini and include_ini_dir

2002-09-12 Thread David Viner
So is it fair to say that we (Brian and others who are interested) should persue a robust patch that will allow for an Include directive in PHP's ini file that functions like Apache's Include directive? dave -Original Message- From: Wez Furlong [mailto:[EMAIL PROTECTED]] Sent: Thursda

RE: [PHP-DEV] Re: [RFC] include_ini and include_ini_dir

2002-09-12 Thread David Viner
Hmm... in the apache world, the srm.conf and access.conf were deprecated, but the Include directive in the configuration file is still maintained. That is, by default, people use a single apache configuration file. However, for specialized cases, like Brian's, people have the ability to use multip

[PHP-DEV] Re: [PATCH] translate capitalized functions in create_stubs

2002-09-03 Thread David Viner
(func_name) + } funcs[num_funcs] = func_name types[num_funcs] = func_type maxargs[num_funcs] = args_max -Original Message- From: David Viner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 1:43 PM To: Php-Dev@lists. php. net Subject: [PHP-DEV] [PATCH] tr

[PHP-DEV] [PATCH] translate capitalized functions in create_stubs

2002-09-03 Thread David Viner
Hi When we use prototype files for ext_skel, we noticed that a function name with capital letters doesn't work properly since php extension must have lowercase function names. However, ext_skel doesn't warn or fix an erroneous prototype file. Here's a small patch to the create_stubs file

Re: [PHP-DEV] segfault on adding empty heredoc to string

2002-09-02 Thread David Brown
On Mon, Sep 02, 2002 at 02:22:12AM +0300, Zeev Suraski wrote: | Mark them as critical and they'll get some attention :) | | Is this bug new to the latest CVS or does it occur with 4.2? I gave the code snippet a try here with a CGI SAPI version of PHP 4.2.2. I wasn't able to reproduce the crash:

[PHP-DEV] CVS Account Request: davidtran

2002-08-29 Thread David Tran
The develop php runtime and to managed multiple projects. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Reading PDF

2002-08-26 Thread David Eriksson
> Hi, > > Is it possible to read the contents of PDF files from PHP? PdfLib is only capable of writing PDF files, as far as I know. -\- David Eriksson -/- www.2GooD.nu "I personally refuse to use inferior tools becau

  1   2   3   4   >