[PHP-DEV] Bug #10466 Updated: hidden '.' files don't work with file_exists()

2001-04-23 Thread torben
ID: 10466 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Filesystem function related PHP Version: 4.0.4pl1 Assigned To: Comments: Usually we like to have more information than 'doesn't work'. :) But for the moment, what happens if

[PHP-DEV] Bug #10447 Updated: ccvs_*() functions segfault when given invalid session ID

2001-04-22 Thread torben
ID: 10447 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Analyzed Bug Type: CCVS related PHP Version: 4.0 Latest CVS (22/04/2001) Assigned To: Comments: No, he didn't. :) The problem itself is that session IDs are completely exposed (i.e. not resource- or

[PHP-DEV] Bug #10447: ccvs_*() functions segfault when given invalid session ID

2001-04-22 Thread torben
From: [EMAIL PROTECTED] Operating system: Linux Mandrake 7.0 PHP version: 4.0 Latest CVS (22/04/2001) PHP Bug Type: CCVS related Bug description: ccvs_*() functions segfault when given invalid session ID The ccvs functions segfault when given an invalid session ID. This wor

[PHP-DEV] Possible fix for Bug #8045

2001-04-22 Thread Lars Torben Wilson
s /usr; do + if test -r $i/include/cv_api.h; then +CCVS_DIR=$i +AC_MSG_RESULT(found in $i) + fi +done + fi + + if test -z "$CCVS_DIR"; then +AC_MSG_RESULT(not found) +AC_MSG_ERROR(Please check your CCVS installation; cv_api.h should be in +/include/

[PHP-DEV] mktime() oddity

2001-04-19 Thread Lars Torben Wilson
hanks for any ideas, Torben -- Torben Wilson <[EMAIL PROTECTED]> http://www.thebuttlesschaps.com +1.604.709.0506 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the li

[PHP-DEV] Bug #10353: Intermittent segfault on failed connection

2001-04-16 Thread torben
hanna% tail -f /usr/local/apache/logs/error_log [Tue Apr 17 00:00:22 2001] [notice] child pid 29379 exit signal Segmentation fault (11) /home/torben/public_html/phptest/__phplist.html(23) : Fatal error - Could not initalize hyperwave connection FATAL: emalloc(): Unable to allocate 1515870798 bytes

[PHP-DEV] PHP 4.0 Bug #10203 Updated: foreach weakness

2001-04-06 Thread torben
ID: 10203 Updated by: torben Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Assigned To: Comments: It's for someone else to decide whether to add this to the language, but until they do you can achieve the same effect with: $arr = array(array(1, 2), ar

[PHP-DEV] PHP 4.0 Bug #10151 Updated: Call to undefined function: gregoriantojd()

2001-04-04 Thread torben
ID: 10151 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Calendar problems Assigned To: Comments: Please read the manual: http://www.php.net/manual/en/ref.calendar.php You need to either compile the extension in or load it. Since you provided no

[PHP-DEV] PHP 4.0 Bug #10148 Updated: Feature Request

2001-04-03 Thread torben
ID: 10148 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Feature/Change Request Assigned To: Comments: It's not a function, but it is in the manual. I think you want the __FILE__ constant. http://www.php.net/manual/en/language.constant

[PHP-DEV] PHP 4.0 Bug #10128 Updated: Undefined Variables

2001-04-02 Thread torben
ID: 10128 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: IIS related Assigned To: Comments: No, it probably just means that you don't have the register_globals option turned on. See the manual for more information: http://www.php.net/manu

[PHP-DEV] PHP 4.0 Bug #10127 Updated: odbc_errormsg documented with wrong return type

2001-04-02 Thread torben
ID: 10127 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Documentation problem Assigned To: Comments: Thanks for the heads-up. Fixed in CVS (should show up online soon. Previous Comments

Re: [PHP-DEV] Question about socket ext. file descriptors

2001-03-29 Thread Lars Torben Wilson
Andi Gutmans writes: > At 12:44 PM 3/29/2001 -0800, Lars Torben Wilson wrote: > > >Slightly different topic--is it a problem that call-time pass-by-ref > >is being deprecated but several functions require it in order to work? > > It is possible. Functions which r

Re: [PHP-DEV] Question about socket ext. file descriptors

2001-03-29 Thread Lars Torben Wilson
ww.zend.com/ > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- +

Re: [PHP-DEV] Question about socket ext. file descriptors

2001-03-29 Thread Lars Torben Wilson
>descriptors. Very quickly the Apache process will have no file descriptors > >left. This has to be fixed. I prefer seeing it fixed with resources but in > >the least it should be fixed not to leak fd's even if you go with the > >integer fix implementation. But it is

[PHP-DEV] Question about socket ext. file descriptors

2001-03-28 Thread Lars Torben Wilson
to be behaviour that can be relied upon? Thanks, Torben -- +----+ |Torben Wilson <[EMAIL PROTECTED]>Adcore Finland| |http://www.coastnet.com/~torbenhttp://www.adcore.com| |Ph: 1.6

[PHP-DEV] PHP 4.0 Bug #10043 Updated: action handler not working

2001-03-28 Thread torben
ID: 10043 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Web Server problem Assigned To: Comments: What happens if you test $HTTP_POST_VARS['submit'] instead of just $submit? Sounds to me like you don't have register_globals turne

[PHP-DEV] Patch for Bug #7488 (pass-by-ref deprecated yet necessary)

2001-03-28 Thread Lars Torben Wilson
OURCE(result, odbc_result *, pv_res, -1, "ODBC result", le_result); -- +----+ |Torben Wilson <[EMAIL PROTECTED]> Adcore Finland| |http://www.coastnet.com/~torben

[PHP-DEV] PHP 4.0 Bug #7488 Updated: Pass-by-reference problem

2001-03-27 Thread torben
ID: 7488 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: ODBC related Assigned To: Comments: Yup. Here's a breakdown: Using & | allow_call_time_pass_by_reference | Works? | Err? -

[PHP-DEV] PHP 4.0 Bug #9665 Updated: .netrc sought only in /root

2001-03-24 Thread torben
ID: 9665 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: cURL related Assigned To: Comments: (Thanks to Daniel Stenberg for pointing this out.) This occurs because curl is using the $HOME envvar to locate the .netrc file, so a putenv() before the

[PHP-DEV] PHP 4.0 Bug #9881 Updated: Varibles are not defined

2001-03-20 Thread torben
ID: 9881 Updated by: torben Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Variables related Assigned To: Comments: Well, define $e then. ;) Or put a '@' in front of it to suppress the error. Or turn down the error_reporting(). Check the manual for more information on

[PHP-DEV] PHP 4.0 Bug #9849 Updated: Square boxes?

2001-03-19 Thread torben
ID: 9849 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Documentation problem Assigned To: Comments: Um...which square boxes, exactly? :) The user notes, the warnings, the tables, what? It sort of sounds like making the boxes less square would

Re: [PHP-DEV] feature request

2001-03-19 Thread Lars Torben Wilson
implementation but its semantics. > > Zeev If it can be changed like that and be safe and consistent then that's great. If it makes people's lives better without confusion then that's perfect. Just as long as it's been considered then I'm happy. > At 23:21 19

Re: [PHP-DEV] feature request

2001-03-19 Thread Lars Torben Wilson
* been put into this issue--the effect on the whole language needs to be considered, not just isset(). Just IMHO, of course. -- +--------+ |Torben Wilson <[EMAIL PROTECTED]>Adcore Finland| |h

[PHP-DEV] PHP 4.0 Bug #9782 Updated: Warning: Undefined variable: HTTP_POST_VARS

2001-03-16 Thread torben
ID: 9782 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Bogus Bug Type: Strings related Assigned To: Comments: As it says at the end of the mails you get from the Bug Database: ATTENTION! Do NOT reply to this email! To reply, use the web interface found

[PHP-DEV] PHP 4.0 Bug #9776 Updated: It's not exactly a bug

2001-03-15 Thread torben
ID: 9776 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Unknown/Other Function Assigned To: Comments: > It's not exactly a bug. ...then a Bug Database probably isn't the place for it. :) Try http://www.php.net/support.php for i

[PHP-DEV] PHP 4.0 Bug #9759 Updated: 3

2001-03-14 Thread torben
ID: 9759 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *General Issues Assigned To: Comments: Previous Comments: --- [2001-03-14 18:30:40] [EMAIL PROTECTED] 5

[PHP-DEV] PHP 4.0 Bug #9758 Updated: Is there any way that you can create a random letter from A-Z?

2001-03-14 Thread torben
ID: 9758 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Feature/Change Request Assigned To: Comments: This isn't the place for questions. Something like the following should work. I haven't tested it. In the future, please use t

Re: [PHP-DEV] PHP 4.0 Bug #8935 Updated: A reference to 'this' cannot be used in the constructor method for a class.

2001-03-11 Thread Lars Torben Wilson
Jani Taskinen writes: > On Sun, 11 Mar 2001, Lars Torben Wilson wrote: > > >Now, it's Sunday morning, I just crawled out of my nice warm bed, and > >I haven't finished my first cup of bad coffee yet--but if > > Have that cup of coffee first.. :) > > &

Re: [PHP-DEV] PHP 4.0 Bug #8935 Updated: A reference to 'this' cannot be used in the constructor method for a class.

2001-03-11 Thread Lars Torben Wilson
x27;t be touched (I tend to agree with Stas on this one): Just wondering...and this is just an addled early-morning thought...what would be the downside of have a very simple Open/Closed flag field for each report, along with a status modifier field of Duplicate, Analyzed, Bogus, etc. -- +--

[PHP-DEV] PHP 4.0 Bug #9665: .netrc sought only in /root

2001-03-09 Thread torben
From: [EMAIL PROTECTED] Operating system: Mandrake 7.0 PHP version: 4.0.4pl1 PHP Bug Type: cURL related Bug description: .netrc sought only in /root cURL works fine in general, but when told to search for a .netrc file, searches only in /root and not in the httpd user's actu

Re: [PHP-DEV] manual?

2001-03-09 Thread Lars Torben Wilson
use--and a link from the uODBC manual section wouldn't be at all misplaced, since they are tools that can help the user get up and running with ODBC. > ODBC is not like XML and if you make some mistakes, I hope I have the > time to correct you. Andrew's a pretty smart guy. > -

Re: [PHP-DEV] manual?

2001-03-09 Thread Lars Torben Wilson
Problem'. And of course if you're interested you can always grab the XML out of CVS and dive in--if you want to do that, check out http://www.php.net/cvs-php.php and/or just grab the stuff, generate some udiffs and post'em. Someone'll review and commit for you, I'm s

[PHP-DEV] PHP 4.0 Bug #9477 Updated: Object is destroyed before references all released

2001-03-08 Thread torben
ID: 9477 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Scripting Engine problem Assigned To: Comments: I'm sure the bugs are very obvious to you. However, your bug report, as given, really is pretty useless. Salient information would in

Re: [PHP-DEV] where is the source is nl2br()?

2001-03-02 Thread Lars Torben Wilson
Lars Torben Wilson writes: > Lucas Rockwell writes: > > hi, > > > > i know the subject of changing the source code for the community at large > > is a touchy one, so i want to start off by saying that i want to make this > > change for our php implementation

Re: [PHP-DEV] where is the source is nl2br()?

2001-03-02 Thread Lars Torben Wilson
rd/string.c in the PHP 4 source, but it already is XHTML compliant: ~/work/php4 shanna% php -q -a Interactive mode enabled a test ?> ~/work/php4 shanna% php -v 4.0.5-dev Cheers, Torben -- +----+ |Torben Wilson &

[PHP-DEV] tsrm_error undefined...anybody have a quick answer or should i call it a bug report?

2001-03-01 Thread Lars Torben Wilson
eport? Thanks, Torben -- +----+ |Torben Wilson <[EMAIL PROTECTED]>Adcore Finland| |http://www.coastnet.com/~torbenhttp://www.adcore.com| |Ph: 1.604.709.0506 [EMAI

[PHP-DEV] PHP 4.0 Bug #9482 Updated: || operator gives unexpected results

2001-02-28 Thread torben
ID: 9482 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *General Issues Assigned To: Comments: This isn't a bug; it's a result of the differing precedence for || and or (which are otherwise identical, btw). Try this: $db = mys

[PHP-DEV] PHP 4.0 Bug #9415 Updated: post variables are case sensitiv

2001-02-22 Thread torben
ID: 9415 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Variables related Assigned To: Comments: The very first line of the Variables section of the manual: Variables in PHP are represented by a dollar sign followed by the name of the

[PHP-DEV] PHP 4.0 Bug #9414 Updated: date() returns error when included in an object

2001-02-22 Thread torben
ID: 9414 Updated by: torben Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Date/time related Assigned To: Comments: Fixed in CVS; I just added a small example in the note. Thanks for the report. Torben Previous Comments

[PHP-DEV] PHP 4.0 Bug #9408 Updated: Mistakable description of nl2br()

2001-02-22 Thread torben
ID: 9408 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Documentation problem Assigned To: Comments: Thanks for the report; fixed in CVS. Cheers, Torben Previous Comments

[PHP-DEV] PHP 4.0 Bug #9414 Updated: date() returns error when included in an object

2001-02-22 Thread torben
ID: 9414 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Date/time related Assigned To: Comments: Not a bug; from the manual (http://www.php.net/manual/en/language.oop.php): Note: In PHP 4, only constant initializers for var variables are allowed

Re: [PHP-DEV] Re: PHP 4.0 Bug #9387 Updated: Doc String Quoting Problem

2001-02-22 Thread Lars Torben Wilson
er or underscore. > Thanks, > > Jeff > - Original Message - > From: "Bug Database" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, February 21, 2001 4:38 PM > Subject: PHP 4.0 Bug #9387 Updated: Doc String

[PHP-DEV] PHP 4.0 Bug #9387 Updated: Doc String Quoting Problem

2001-02-21 Thread torben
ID: 9387 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Feature/Change Request Assigned To: Comments: This is not a bug. Check the third sentence below, from the PHP Manual at http://www.php.net/manual/en/language.types.string.php: Another way to

[PHP-DEV] PHP 4.0 Bug #9387 Updated: Doc String Quoting Problem

2001-02-21 Thread torben
ID: 9387 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Bogus Status: Open Bug Type: Feature/Change Request Assigned To: Comments: The doc part is taken care of, I'm reopening in case someone wants to present a really good solution. :) Previous Com

Re: [PHP-DEV] why doesn't list() handle associative arrays?

2001-02-06 Thread Lars Torben Wilson
rent(each($a)); Given that numeric indices doen't necessarily indicate element positions, I don't see why that your request wouldn't be reasonable. -- +----+ |Torben Wilson <[EMAIL PROTECTED]>

RE: [PHP-DEV] RE: PHP 4.0 Bug #9064 Updated: Functions inside functions cause errors if the outer function is called twice.

2001-02-02 Thread Lars Torben Wilson
Sam Liddicott writes: > > > > -Original Message- > > From: Lars Torben Wilson [mailto:[EMAIL PROTECTED]] > > Sent: Friday, February 02, 2001 09:49 > > To: Christopher Kings-Lynne > > Cc: Bug Database > > Subject: Re: [PHP-DEV] RE: P

Re: [PHP-DEV] RE: PHP 4.0 Bug #9064 Updated: Functions inside functions cause errors if the outer function is called twice.

2001-02-02 Thread Lars Torben Wilson
t; } > > > > test(); > > test(); > > test(); > > > > ?> > > > > -- > > - > > > > > > Full Bug description available at: http://bugs.php.net/?id=9064 > > >

[PHP-DEV] PHP 4.0 Bug #9008 Updated: define()-ed values as assoc array keys don't work

2001-01-31 Thread torben
ID: 9008 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: Class/Object related Assigned To: Comments: See bug #8141. Previous Comments: --- [2001-01-30 14:44:12] [EMAIL

Re: [PHP-DEV] Re: [PHP-DOC] Problem with sessions

2001-01-27 Thread Lars Torben Wilson
Derick Rethans writes: > On Sat, 27 Jan 2001, Lars Torben Wilson wrote: > > > > > Yes, just make sure that you're not outputting *anything* (even blank > > these lists. > > > > Adrian Pitulac writes: > > > I have Apache 1.3.14 and Php 4.0.4 on

<    1   2