[PHP-DEV] PHP 4.0 Bug #9014 Updated: Content-Type included in uploaded files

2001-02-03 Thread david
ID: 9014 Updated by: david Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: HTTP related Assigned To: Comments: ok so let's close Previous Comments: --- [2001-02-03 07:33:28] [EMAIL PROT

[PHP-DEV] PHP 4.0 Bug #9000 Updated: echo `cat /etc/passwd` -- bypasses open_basedir .

2001-02-03 Thread david
ID: 9000 Updated by: david Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Configuration Issues Assigned To: Comments: safe_mode disables `` safe_mode_exec_dir specifies a base directory for executables disable_functions allows you to turn disable certain functions

[PHP-DEV] PHP 4.0 Bug #9111: Segmentation Fault

2001-02-05 Thread david
From: [EMAIL PROTECTED] Operating system: RedHat 6.2/Linux PHP version: 4.0.1pl2 PHP Bug Type: dBase related Bug description: Segmentation Fault This happens upon dbase_create no mater what I do. (gdb) run -X Starting program: /home/httpd/bin/httpd -X (no debugging symbols

[PHP-DEV] PHP 4.0 Bug #9115: unserialization segfaults

2001-02-05 Thread david
stack_end=0xba4c) at ../sysdeps/generic/libc-start.c:92 Here's a working serialization: !cust_id|session|O:7:"session":9:{s:16:"boolAuthenticate";b:1;s:9:"strSessID";s:0:"";s:9:"intUserID";s:1:"1";s:12:"strUserLogin";

[PHP-DEV] PHP 4.0 Bug #9115 Updated: unserialization segfaults

2001-02-05 Thread david
generic/libc-start.c:92 Here's a working serialization: !cust_id|session|O:7:"session":9:{s:16:"boolAuthenticate";b:1;s:9:"strSessID";s:0:"";s:9:"intUserID";s:1:"1";s:12:"strUserLogin";s:5:"david";s:15:"strUserP

[PHP-DEV] PHP 4.0 Bug #9111 Updated: Segmentation Fault

2001-02-05 Thread david
ID: 9111 User Update by: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: dBase related Description: Segmentation Fault Fixed in 4.0.4pl1 Previous Comments: --- [2001-02-05 09:36:04] [EMAIL PROTECTED] This happen

[PHP-DEV] PHP 4.0 Bug #9144: /tmp/php?????? file created without reference in POST array

2001-02-07 Thread david
nfigure line: './configure' '--with-apxs' '--with-pgsql=/var/lib/pgsql' '--enable-track-vars' '--with-ftp' '--enable-trans-sid' regards, David -- Edit Bug report at: http://bugs.php.net/?id=9144&edit=1 -- PHP Development Mail

[PHP-DEV] PHP 4.0 Bug #9307: Numeric-looking array keys are forced to be integers

2001-02-16 Thread david
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: Numeric-looking array keys are forced to be integers array(2) { [105]=> string(5) "Hello" [106]=> string(7) "Goodbye" } It shouldn't be au

[PHP-DEV] PHP 4.0 Bug #9417: zend_eval_string() doesn't work like eval() :(

2001-02-22 Thread david
From: [EMAIL PROTECTED] Operating system: GNU/linux PHP version: 4.0 Latest CVS (22/02/2001) PHP Bug Type: Feature/Change Request Bug description: zend_eval_string() doesn't work like eval() :( I need to simulate a call to eval() and the only function that seems to be able t

[PHP-DEV] PHP 4.0 Bug #9417 Updated: zend_eval_string() doesn't work like eval() :(

2001-02-23 Thread david
ID: 9417 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Description: zend_eval_string() doesn't work like eval() :( Hi, I commented out a few lines from zend_eval_string() and now it behaves the right way. Here are the line numbers I removed (corresponding

[PHP-DEV] PHP 4.0 Bug #9417 Updated: zend_eval_string() doesn't work like eval() :(

2001-02-23 Thread david
ID: 9417 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Description: zend_eval_string() doesn't work like eval() :( I've found a workaround, it's to replicate the function zend_eval_string() in my own module, less the few lines that pose problem. I consider t

[PHP-DEV] PHP 4.0 Bug #9763: Segmentation Fault upon running big cl script

2001-03-15 Thread david
zend_hash_destroy (ht=0x821154c) at zend_hash.c:564 #13 0x80f5bb2 in shutdown_executor () at zend_execute_API.c:165 #14 0x80fc267 in zend_deactivate () at zend.c:525 #15 0x806d442 in php_request_shutdown (dummy=0x0) at main.c:688 #16 0x806c7fa in main (argc=3, argv=0xba44) at cgi_main.c

Re: [PHP-DEV] Zend build

2001-03-19 Thread david
#x27;. Stop. > make[1]: Leaving directory `/data/src/cvs-php/Zend' > make: *** [all-recursive] Error 1 > > I tried clean checkout of PHP & Zend, ./buildconf, ./configure, make but got > the exact same error message. same for me, please fix it ASAP... > Edin >

[PHP-DEV] Bug #14633: get_meta_tags does not work under php4.1.0; works with php4.0.6

2001-12-20 Thread david
with 4.0.6. Regards, David Lechnyr Network Mgr, Human Resources University of Oregon [EMAIL PROTECTED] -- Edit bug report at: http://bugs.php.net/?id=14633&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

[PHP-DEV] Bug #15333: strndup access violation

2002-02-01 Thread david
From: [EMAIL PROTECTED] Operating system: Windows 2000 Pro PHP version: 4.1.1 PHP Bug Type: IIS related Bug description: strndup access violation I am getting an access violation in php4ts!zend_strndup + 0x2B + 0xA05CB1AD. It is reproducable after about 20 or 30 requests,

[PHP-DEV] Bug #15391: make error 4.1.1

2002-02-05 Thread david
From: [EMAIL PROTECTED] Operating system: linux 2.4.4 PHP version: 4.1.1 PHP Bug Type: *Compile Issues Bug description: make error 4.1.1 unpacked latest tarball into /usr/local/php-4.1.1 & did ./configure "palmer-root>./configure --with-apxs=/usr/local/apache/bin/apxs

[PHP-DEV] Bug #11549: open_basedir/include_path security improvement

2001-06-19 Thread david
From: [EMAIL PROTECTED] Operating system: Any PHP version: 4.0.5 PHP Bug Type: PHP options/info functions Bug description: open_basedir/include_path security improvement As for now, when in safe mode include_path will not work correctly unless all included paths are also in

[PHP-DEV] Bug #8595 Updated: More effective parsing of list() (+other)

2001-06-22 Thread david
ID: 8595 Updated by: david Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Operating system: PHP Version: 4.0.4 Assigned To: Comments: see also #8447 Previous Comments: --- [2001-01-08 09:26

[PHP-DEV] Bug #12128: library name inconsistencies

2001-07-12 Thread david
From: [EMAIL PROTECTED] Operating system: Mandrake 6.5 PHP version: 4.0.6 PHP Bug Type: *Configuration Issues Bug description: library name inconsistencies It seems that the configure script looks in .so files only when testing for things like TIFFOpen and read_jpeg_header,

[PHP-DEV] Bug #12148: mysql ERROR: Update Query Failed problem with 4.0.6

2001-07-13 Thread david
From: [EMAIL PROTECTED] Operating system: Solaris x86 PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: mysql ERROR: Update Query Failed problem with 4.0.6 Im using PHP 4.0.6 install on Solaris x86 with mysql 3.23.39. The following code produces causes mysql_q

[PHP-DEV] Bug #12148 Updated: mysql ERROR: Update Query Failed problem with 4.0.6

2001-07-16 Thread david
ID: 12148 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Operating System: Solaris x86 Old PHP Version: 4.0.6 & 4.0.5 PHP Version: 4.0.6 & 4.0.5 & latest dev as of 7/16/2001 New Comment: using MySQL version 3.23.39 Previous Comments: --

[PHP-DEV] Bug #12148 Updated: mysql ERROR: Update Query Failed problem with 4.0.6

2001-07-16 Thread david
ID: 12148 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Operating System: Solaris x86 Old PHP Version: 4.0.6 & 4.0.5 & latest dev as of 7/16/2001 PHP Version: 4.0.6 & 4.0.5 New Comment: Here is how I got things to work. I did this with the

[PHP-DEV] Bug #10433: on your homepage, there's an error in translation

2001-04-21 Thread david
From: [EMAIL PROTECTED] Operating system: Win 2k Server PHP version: 4.0.4pl1 PHP Bug Type: Documentation problem Bug description: on your homepage, there's an error in translation there's a bug in the homepage I think it's the translated word for "example" coming up wrong

[PHP-DEV] Bug #8440 Updated: fopen on a url returns "success" as an error

2001-04-27 Thread david
ID: 8440 Updated by: david Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Suspended Bug Type: HTTP related PHP Version: 4.0.4pl1 Assigned To: Comments: I don't believe it has happened since the Apache MaxRequestsPerChild was reduced. I shall suspend this until I have a chan

[PHP-DEV] Bug #10845: session_destroy() bugs

2001-05-14 Thread david
From: [EMAIL PROTECTED] Operating system: Redhat Linux 7 PHP version: 4.0.5 PHP Bug Type: *Session related Bug description: session_destroy() bugs I have had a lot of problems with trying to destroy a session with session_destroy() as have many others I see, and none of the

[PHP-DEV] PHP 4.0 Bug #8292 Updated: date crash

2001-01-09 Thread david
ID: 8292 Updated by: david Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Date/time related Assigned To: Comments: Fixed buffer overrun in CVS. However should this function be using the long version of the timezone anyway? Previous Comments

[PHP-DEV] PHP 4.0 Bug #7692 Updated: php_value asp_tags On in .htaccess switches it Out if already On by php.ini

2001-01-09 Thread david
ID: 7692 Updated by: david Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: PHP options/info functions Assigned To: Comments: asp_tags is a boolean. Using php_value, set it to 0/1, or better still, use php_flag instead. Previous Comments

[PHP-DEV] PHP 4.0 Bug #7342 Updated: Different config-op parsing in php.ini and http.conf

2001-01-09 Thread david
ID: 7342 Updated by: david Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Old-Bug Type: PHP options/info functions Bug Type: Scripting Engine problem Assigned To: Comments: The same applies to the php function ini_set(). It looks like the onmodify entry is being not found

[PHP-DEV] PHP 4.0 Bug #6537 Updated: mail() does not seem to handle SMTP multi-line responses

2001-01-09 Thread david
ID: 6537 Updated by: david Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Assigned Bug Type: Mail related Assigned To: david Comments: I have fixed this, and tested with manual input. Does anyone have a handy SMTP server that sends multi-line responses so I can test for real? Previous

[PHP-DEV] PHP 4.0 Bug #8328 Updated: ucwords and ucfirst misbehaving with quotes

2001-01-09 Thread david
ID: 8328 Updated by: david Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: Strings related Bug Type: Feature/Change Request Assigned To: Comments: i disagree with the proposed change to ucfirst (which incidentally returns >>"test2" again<<) since, unlike ucwords

[PHP-DEV] PHP 4.0 Bug #7106 Updated: Internet time invalid

2001-01-09 Thread david
ID: 7106 Updated by: david Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Date/time related Assigned To: Comments: this should be fixed now in CVS Previous Comments: --- [2000-10-09 20:02:56

[PHP-DEV] PHP 4.0 Bug #8242 Updated: the date('B') gives bogus output when system date is Thu Dec 14 01:56:02 EET 20

2001-01-09 Thread david
ID: 8242 Updated by: david Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Date/time related Assigned To: Comments: fixed with: while (beat < 0) { beat += 1000; } beat = beat % 1000; Swa

[PHP-DEV] PHP 4.0 Bug #8599 Updated: a kind Exception handling

2001-01-09 Thread david
ID: 8599 Updated by: david Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Assigned To: Comments: http://php.net/manual/function.set-error-handler.php set_error_handler lets you register your own error handling function however try...catch is also a much-needed

[PHP-DEV] PHP 4.0 Bug #8282 Updated: Is there a function for this?

2001-01-09 Thread david
ID: 8282 Updated by: david Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Assigned To: Comments: so why don't you have your own function quiet_eval($code) { ob_start(); eval($code); $retval = ob_get_contents(); ob_end_clean(); return $r

[PHP-DEV] PHP 4.0 Bug #8326 Updated: ucfirst() has no effect if input is ALL CAPITALIZED

2001-01-09 Thread david
ID: 8326 Updated by: david Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Feature/Change Request Assigned To: Comments: This is completely bogus and would break all existing scripts. The purpose of ucfirst is just to uppercase the first letter and make no other

[PHP-DEV] PHP 4.0 Bug #8682 Updated: date issue

2001-01-12 Thread david
ID: 8682 Updated by: david Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: The formatting characters B (swatch internet time) and r (rfc-formatted date) have been added. The first argument to date() should always include

[PHP-DEV] PHP 4.0 Bug #8694 Updated: Date function core dumps with escaped chars

2001-01-13 Thread david
ID: 8694 Updated by: david Reported By: [EMAIL PROTECTED] Old-Status: Analyzed Status: Closed Bug Type: Date/time related Assigned To: Comments: Fixed in CVS. Note also that "\t" produces a tab character. You probably want to use '\t' with single quotes instead. Or ev

[PHP-DEV] PHP 4.0 Bug #8440 Updated: fopen on a url returns "success" as an error

2001-01-18 Thread david
ID: 8440 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: HTTP related Description: fopen on a url returns "success" as an error It's nothing to do with redirects, no. It doesn't return a redirect response. Previous Comments: -

[PHP-DEV] PHP 4.0 Bug #8841: PHP Crashed under very special circumstances

2001-01-22 Thread david
From: [EMAIL PROTECTED] Operating system: RedHat 6.1 PHP version: 4.0.4pl1 PHP Bug Type: *Session related Bug description: PHP Crashed under very special circumstances I cannot make a short script, since I dont know exactly what causes this, it seems to be session related i

[PHP-DEV] Bug #12735: Shorthand for X ? X : Y

2001-08-14 Thread david
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: Shorthand for X ? X : Y Providing default values for fields, I find myself using the following syntax a lot: $a = $result->f('asd'); if (!$a) $a = 'nothing'

[PHP-DEV] Bug #13541: url_scanner.h:23: warning: parameter names (without types) in function declarat

2001-10-04 Thread david
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: url_scanner.h:23: warning: parameter names (without types) in function declarat ./configure --with-mysql --with-apxs=/usr/local/apache/b in/apxs $ make Making al

[PHP-DEV] Bug #13542: url_scanner.h:23: warning: parameter names (without types) in function declarat

2001-10-04 Thread david
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: url_scanner.h:23: warning: parameter names (without types) in function declarat ./configure --with-mysql --with-apxs=/usr/local/apache/b in/apxs $ make Making al

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

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

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

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

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

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

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

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

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

[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

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

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

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

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

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

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

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

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

2002-08-13 Thread David Robley
#x27;) order by pic_ind, name, company_no > > It seems like it is ignoring the last condition, name = 'Gil Bryan' or > contact = 'Gil Bryan'). Any help 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 Temporary Kiwi! Quod subigo farinam -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] shared extension linking

2002-08-19 Thread David Eriksson
ned-extension-readme doesn't cover this issue. > Please help... Use 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

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 statica

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

RE: [PHP-DEV] new webdav patch

2002-08-21 Thread David Viner
: Wednesday, August 21, 2002 1:07 PM To: David Viner Cc: Rasmus Lerdorf; [EMAIL PROTECTED] Subject: RE: [PHP-DEV] new webdav patch Hi > 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 > me

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

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

  1   2   3   4   >