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 basis

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-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 int,

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 basement with

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 lines

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 those who

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

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

[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
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-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; echo $3 27 The

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 is the

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 http://www.php.net/ To unsubscribe, visit:

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 http://www.php.net/ To unsubscribe, visit:

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] [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 http://www.php.net/ To unsubscribe, visit:

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 either

[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 *)

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

2003-03-05 Thread David Sklar
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://www.php.net

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

2003-03-05 Thread David Sklar
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

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

2003-03-05 Thread David Sklar
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] [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 *

[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 http://www.php.net/ 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
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 to

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 a

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 all of

[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).

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 useful | (e.g

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

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

[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: ?php $s1 = 'foo' . 'bar' . 'baz'; $s2 = 'foobarbaz'; ? In the PHP bytecode (I hope I'm

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] [PATCH] include file when using open_basedir

2003-02-23 Thread David Saez
/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 telf

[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
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-mail [EMAIL PROTECTED

[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

[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's Day http

[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 David Gillies San Jose Costa Rica

[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

[PHP-DEV] Contributing to PHP - how?

2003-02-17 Thread David Gillies
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/ To unsubscribe, visit: http://www.php.net

[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 http

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: | | ?php function a() { a(); };

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 exit cleanly? | | Just curious

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 code: proto int

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

2003-02-06 Thread David Gillies
, but 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.yahoo.com

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 needed this to preflight a bunch

[PHP-DEV] Timezone functions

2003-02-06 Thread David Gillies
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 Gillies [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL P

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 :) At least with this

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 anymore. It is

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

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 Jose

[PHP-DEV] OpenSSL wrappers for PHP 4

2002-12-02 Thread David Gillies
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=securesocket_ssl_new($ctx); $sock

[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

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

2002-11-24 Thread David Brown
, 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 tell, headers are managed seperately by main/output.c

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

[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

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 very intrigued, this looks pretty cool. I

[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 http://www.php.net

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

2002-10-30 Thread David Viner
: 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 TSRMLS_FETCH() and instead passing

[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

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. This simple fact is one of the basic

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, bitwise

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

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 saying that it fully supports chunked buffering. No. I

[PHP-DEV] Segafults...

2002-10-07 Thread David Reid
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

[PHP-DEV] session tests segfaulting...

2002-10-06 Thread David Reid
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] 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] PHP_IC_ENTRY

2002-10-05 Thread David Reid
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

[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:

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 user

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] Cc: [EMAIL PROTECTED] Sent: Wednesday, October 02

[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

[PHP-DEV] apache2filter error...

2002-10-02 Thread David Reid
: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] 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

[PHP-DEV] CVS Account Request: dviner

2002-09-27 Thread David Viner
Developing the PHP runtime, as per Rasmus' suggestion. -- 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
: Friday, September 27, 2002 9:14 AM To: Edin Kadribasic Cc: David Viner; Php-Dev@lists. php. net Subject: Re: [PHP-DEV] [PATCH] include statement in php.ini file I'm not very concerned either way on the .ini extension restriction. Let's go ahead and commit this with the include to additional_ini

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

2002-09-27 Thread David Viner
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 Lerdorf'; 'Edin Kadribasic' Subject: RE: [PHP-DEV

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

2002-09-26 Thread David Viner
: 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 desire for other PHP keywords, perhaps something like: additional_ini = /some

[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 Development Mailing

[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=10317976671r=1w=2 for earlier discussions). This patch allows the following functionality from the php.ini file: include = file

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

2002-09-24 Thread David Viner
= sapi_module.php_ini_path_override; } == END PATCH == -Original Message- From: David Viner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 1:40 PM To: Php-Dev@lists. php. net Subject: [PHP-DEV] [PATCH] include statement in php.ini file Hi, I've been working

[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

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 Viner Cc

RE: [PHP-DEV] ini question

2002-09-20 Thread David Viner
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 for it? Sorry, I didn't actually read through your code

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-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

RE: [PHP-DEV] ini question

2002-09-19 Thread David Viner
-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 Message: - From: David Viner [EMAIL

RE: [PHP-DEV] ini question

2002-09-19 Thread David Viner
understand is, why are the messages not identical? dave -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 5:21 PM To: David Viner Cc: Php-Dev@lists. php. net Subject: RE: [PHP-DEV] ini question Apache calls the module startup hook twice

[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

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

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:

[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

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

2002-09-03 Thread David Viner
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] translate capitalized functions in create_stubs Hi

[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 http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] new webdav patch

2002-08-21 Thread David Viner
I think allowing php users to process webdav methods in user-space is an awesome idea. One question I have, why are the MKCOL, DELETE, and UNLOCK methods not listed? according to RFC 2518 (http://ftp.ics.uci.edu/pub/ietf/webdav/protocol/rfc2518.txt), DAV clients are required to support them.

Re: [PHP-DEV] shared extension linking

2002-08-19 Thread David Eriksson
PHP_ADD_LIBRARY_WITH_PATH or PHP_ADD_LIBRARY in your config.m4 -\- David Eriksson -/- I personally refuse to use inferior tools because of ideology. - Linus Torvalds -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] shared extension linking

2002-08-19 Thread David Eriksson
On Mon, 19 Aug 2002, Ron Lange wrote: Hi David, David Eriksson wrote: Use PHP_ADD_LIBRARY_WITH_PATH or PHP_ADD_LIBRARY in your config.m4 Already done... My config.m4: Note: IndiComm, ndr and mmem have to be statically linked into this module

[PHP-DEV] Re: results of mysql_fetch are returning the incorrect records

2002-08-13 Thread David Robley
is greatly appreciated. } return $rows; } First, I'd suggest echoing $sql just before you send it to mysql to ensure that what you hope is there is actually there. Also, what are you returning from your function? Or how are you using the data gathered from your tables? -- David Robley

  1   2   3   >