[PHP-DEV] returning a bunch of arrays as fields of an object?

2002-11-25 Thread Tim
. Thanks, and sorry for what is probably a silly question. Thanks in advance, --tim -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Extending DB2 odbc support

2002-11-10 Thread tim
extensions, etc. I have only begun looking into the details so I don't have an outline. This thread has helped a lot in figuring out how php development works. Thanks, Tim -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Extending DB2 odbc support

2002-11-10 Thread tim
odbc functions are optimized to work well with db2 in high load situations. Thanks for the help, Tim -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Extending DB2 odbc support

2002-11-08 Thread tim
? How would I best implement this in parallel with php's odbc layer? Thanks, Tim -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Extending DB2 odbc support

2002-11-08 Thread tim
it into the main php distribution as a new extension ( ext/ibmdb2 ) ? Is it a good idea to maintain a separate cvs tree on sf.net so it gets some testing first? I am looking to create something similar to oracle's php extension. Thanks, Tim -- PHP Development Mailing List http://www.php.net

Re: [PHP-DEV] from one hash to another, in an extension

2002-10-24 Thread Tim Daly, Jr.
Andrei Zmievski [EMAIL PROTECTED] writes: On Wed, 23 Oct 2002, Tim Daly, Jr. wrote: You don't need to SEPARATE_ZVAL() in this case. I don't need to, or I need not to? Don't use SEPARATE_ZVAL() when copying zval from one hash to another. -Andrei

[PHP-DEV] from one hash to another, in an extension

2002-10-23 Thread Tim Daly, Jr.
the SEPARATE_ZVAL above. So, I though maybe one of you kind folks might shed some light on this for me. Thanks, Tim -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] from one hash to another, in an extension

2002-10-23 Thread Tim Daly, Jr.
Andrei Zmievski [EMAIL PROTECTED] writes: On Wed, 23 Oct 2002, Tim Daly, Jr. wrote: ... zend_hash_find(hash1, key, strlen(key)+1, (void **)val); SEPARATE_ZVAL(val); zval_add_ref(val); zend_hash_update(hash2, key, strlen(key)+1, (void *)val, NULL); ... You don't need

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Tim Daly, Jr.
; bar-refcount = 1; } this works, but i don't know if its the best way to do it. Thanks, but it doesn't actually work for me. Witness: [tim@myst php-4.2.3]$ ./php -f ext/foo/foo.php foo foo baz -*- ^@\204Í FATAL: erealloc(): Unable to allocate 1515870811 bytes Segmentation fault (core

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Tim Daly, Jr.
? Thanks, Tim -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] trying to understand zvals

2002-10-18 Thread Tim Daly, Jr.
assignment: $foo = zonk; $bar = baz; ref_assign($bar, $foo); // $bar = $foo; what has to happen in ref_assign? Thanks, Tim -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Tim Daly, Jr.
PHP variables work. The best you can do is something like this: *snip* Sorry, I wasn't clear. I mean ref_assign to be a C function, in my extension. -Tim -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Tim Daly, Jr.
, first_arg_force_ref) Thanks, -Tim -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] default properties (in c)

2002-10-09 Thread Tim Daly, Jr.
then. Brad, Thanks for your response! I _am_ actually trying to add a default property (the first case). I want to create a class with defined properties that have a default value, so that it works just as it would had I defined the class in PHP. -Tim -- PHP Development Mailing List http

[PHP-DEV] default properties (in c)

2002-10-08 Thread Tim Daly, Jr.
misunderstood the memory management issues somehow; the code below causes leaks and crashes. Is there an official way to add class variables to a class from C? Is there anything obviously wrong with the code below? Thanks!! -Tim static zend_class_entry *class_name_class_entry; static

Re: [PHP-DEV] default properties (in c)

2002-10-08 Thread Tim Daly, Jr.
Brad LaFountain [EMAIL PROTECTED] writes: What engine are you working with 1 or 2? -brad I imagine PHP3 == engine 1, and PHP4 == engine 2? I'm using PHP version 4.2.3. -Tim -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] patch for imagecopyresampled()

2002-09-29 Thread Tim
This patch fixes a problem with imagecopyresampled() when copying an image with a non-constant alpha layer. If nobody objects, I'll commit this. Tim Index: gd.c === RCS file: /repository/php4/ext/gd/libgd/gd.c,v retrieving

Re: [PHP-DEV] Interfaces in PHP

2002-08-21 Thread Tim Converse
--- Brad LaFountain [EMAIL PROTECTED] wrote: 2) Interfaces as they exist in java don't really give you much in a stripting language but if you insist on having something like that you can curently do it with the zend1. class temperature { function __construct($value) {}

[PHP-DEV] libgd patch for alpha-channel mixing

2002-08-21 Thread Tim Toohey
this? I've never committed to PHP before so go easy on me :-). I've been using essentially the same code on a PHP-4.1.0 installation for a while now and I believe it works OK. Tim diff -aur php4/ext/gd/gd.c php4-tt/ext/gd/gd.c --- php4/ext/gd/gd.c Sun Jul 28 20:00:37 2002 +++ php4-tt/ext/gd/gd.c

Re: [PHP-DEV] libgd patch for alpha-channel mixing

2002-08-21 Thread Tim Toohey
On Thu, 22 Aug 2002 08:28, [EMAIL PROTECTED] wrote: On Wed, 21 Aug 2002, Tim Toohey wrote: Any thoughts? Should I go ahead and commit this? I've never committed to PHP before so go easy on me :-). I've been using essentially the same code on a PHP-4.1.0 installation for a while now and I

[PHP-DEV] CVS Account Request: ttoohey

2002-08-20 Thread Tim Toohey
I have some patches for ext/gd. Rasmus convinced me to request a CVS account. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: #18401 [Opn-Ana]: shuffle() broken (fwd)

2002-08-16 Thread Tim Converse
thing to do is to set elems[n_left] to a random choice from _all_ the elements in the array, but this leads to some orderings being favored over others. (Check out Intro. to Algo., Cormen, 2nd ed., p 103) --tim __ Do You Yahoo!? HotJobs - Search

Re: [PHP-DEV] Re: #18401 [Opn-Ana]: shuffle() broken (fwd)

2002-08-16 Thread Tim Converse
--- Yasuo Ohgaki [EMAIL PROTECTED] wrote: Tim Converse wrote: --- Yasuo Ohgaki [EMAIL PROTECTED] wrote: Dan Kalowsky wrote: Anyone able to confirm or deny the validity of this patch? -- Forwarded message -- [2002-07-18 01:03:51] [EMAIL PROTECTED

RE: [PHP-DEV] The PHP Platform

2002-04-18 Thread Tim Thorpe
You are neglecting the FreeBSD and OpenBSD projects. Both of these operating systems have proven track records of security and reliability, both in the practical world and in the brutal world of technical security audits (just ask CERT, NASA, and the NSA). What relevance does my post have to

RE: Re[3]: [PHP-DEV] Let's fork GD!

2002-04-13 Thread Tim Thorpe
+1 -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 13, 2002 7:48 AM To: Daniel Lorch Cc: [EMAIL PROTECTED] Subject: Re[3]: [PHP-DEV] Let's fork GD! I have, and so have all sorts of other people. Look at packages like jpgraph. GD does enough. It

RE: [PHP-DEV] Let's fork GD!

2002-04-12 Thread Tim Thorpe
Was composing that same message when I received it. +1 -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 1:05 AM To: Georg Richter Cc: Markus Fischer; Stig S. Bakken; [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Let's fork GD! On Friday, 12.

RE: [PHP-DEV] Let's fork GD!

2002-04-12 Thread Tim Thorpe
IE support on PNG is far more mature on the Mac platform than it is on Windows/Solaris. Don't know when MS is planning to finish their implementation for these platforms but Alpha channels don't even work right yet so I think MNG support is at least another major release away. :( As far as GIFs

RE: [PHP-DEV] Re: The PHP Platform

2002-04-12 Thread Tim Thorpe
That's probably the most civilized flame I've ever read. I'm impressed! -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 6:50 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Re: The PHP Platform Cool! This is about as worked up as I have

RE: [PHP-DEV] Re: Let's fork GD!

2002-04-11 Thread Tim Thorpe
+1 I have a function that performs arbritrary rotations of images using subsampling. (side-by-side comparisons show it to be virutally identical in results to Photoshop). If GD 2.0 becomes standardized I'd love to have my function included. (I'd like to contribute to this idea if support

RE: [PHP-DEV] Let's fork GD!

2002-04-11 Thread Tim Thorpe
I don't see how complex it could be. Anyone who is running X most likely has all of the prerequisite libraries installed (png, jpg, zlib) and those who aren't are almost certainly savvy enough to figure it out. Windows builds would be another situation entirely... The configure script can check

[PHP-DEV] CVS Account Request: timmyg

2002-03-13 Thread Tim Gallagher
Pear development. Specifically, working on PHPDoc. Stig S. Bakken referred me to this page for cvs access to pear. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] comparing strings values, etc.

2002-03-03 Thread Tim Martens
Hi - I'm a major newbie - I have a file that pulls an include into a textarea for a user to edit - before pulling the include, I'd like to open it and check it's value - if the include's value is exactly equal to the string: div style='color: #eee; font: bold 80px Georgia, serif'Hello

[PHP-DEV] Bug #15208: .phps file additional feature

2002-01-24 Thread tim
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.1.1 PHP Bug Type: Feature/Change Request Bug description: .phps file additional feature It would be very helpful if you had a php.ini directive like: php_source_view_linenum = 0/1 If it is set to '1', a

[PHP-DEV] Bug #15133 Updated: SSI

2002-01-21 Thread tim . lokot
ID: 15133 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Operating System: Windows PHP Version: 4.1.1 New Comment: Ok, I've run some tests on my server and I can setup another filtered extension. I guess this is one way to run it.

[PHP-DEV] Bug #15133: SSI

2002-01-20 Thread tim . lokot
From: [EMAIL PROTECTED] Operating system: Windows PHP version: 4.1.1 PHP Bug Type: Feature/Change Request Bug description: SSI Is it possible to enable future versions of PHP to be run as an SSI directive so that languages like Perl do not have to be used instead for this

[PHP-DEV] Bug #15133 Updated: SSI

2002-01-20 Thread tim . lokot
ID: 15133 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Open Bug Type: Feature/Change Request Operating System: Windows PHP Version: 4.1.1 New Comment: You kind of understood I was aware of the expose setting in the ini file, but it would be

[PHP-DEV] Bug #15133 Updated: SSI

2002-01-20 Thread tim . lokot
ID: 15133 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Feature/Change Request Operating System: Windows PHP Version: 4.1.1 New Comment: Under IIS you specify what script engine runs your php file. Basically says that all files

[PHP-DEV] Bug #15133 Updated: SSI

2002-01-20 Thread tim . lokot
ID: 15133 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Operating System: Windows PHP Version: 4.1.1 New Comment: Under IIS, you do not have to supply the path to the executable in every script. That's the nature of windows. It

[PHP-DEV] Bug #15115: strtotime not recognizing 'Sa' as Saturday

2002-01-19 Thread tim
From: [EMAIL PROTECTED] Operating system: Win2000 Server PHP version: 4.1.1 PHP Bug Type: Date/time related Bug description: strtotime not recognizing 'Sa' as Saturday What I do is parsing Mail-Headers, especially the 'Date:' header. One mail I parsed had the following

[PHP-DEV] Bug #14220: break doesn't stop foreach from iterating over array

2001-11-25 Thread tim . lokot
From: [EMAIL PROTECTED] Operating system: Win2K PHP version: 4.0.6 PHP Bug Type: Output Control Bug description: break doesn't stop foreach from iterating over array I'm running the following function in conjunction with the DOM XML stuff to create a SAX parser. Trouble is

[PHP-DEV] Bug #14220 Updated: break doesn't stop foreach from iterating over array

2001-11-25 Thread tim . lokot
ID: 14220 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Output Control Operating System: Win2K PHP Version: 4.0.6 New Comment: Code was goofy only been looking at for a few days wondering what was going on Previous Comments:

[PHP-DEV] Bug #14061: Cannot find file c:\php\extensions\php_sablot.dll - could not load module

2001-11-14 Thread tim . lokot
From: [EMAIL PROTECTED] Operating system: IIS5 / Win2K PHP version: 4.0.6 PHP Bug Type: Sablotron XSL Bug description: Cannot find file c:\php\extensions\php_sablot.dll - could not load module The error message this is reporting is incorrect. To fix this you need to copy

[PHP-DEV] Bug #14047: cannot load extension c:/php/extensions/php_sablot.dll

2001-11-13 Thread tim . lokot
by uncommenting the line in the ini file. I've even tried downloading the binaries for sablotron and expat and they dont work either. Please help, Tim -- Edit bug report at: http://bugs.php.net/?id=14047edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL

[PHP-DEV] Bug #12651 Updated: Constant 'Broken pipe' errors

2001-10-28 Thread tim
ID: 12651 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Performance problem Operating System: Linux 2.2 PHP Version: 4.0.6 New Comment: The warning messages are not a bug and are due to Apache LogLevel being changed to 'info'. The

[PHP-DEV] RE: Bug #13523 Updated: doc_root

2001-10-02 Thread Tim Foster
), it refused to work. The only reason I found the work-around was that I ran the setup executable and then diffed the php.ini. I'll check out the news group. Thanks. TIM _ l i n e a r c o n c e p t s http

[PHP-DEV] Get CASH deposited to Your PayPAl Account! Works Fast!!!

2001-09-13 Thread Tim Constable
*Removal Instructions at bottom MAKE $20,000 in $5 Bills in weeks Using Paypal The e-mail Letter using PAypal not slow postage I want to offer this program to everyone I have had contact with or have sponsored into a program. You may or may not be interested. Just thought I'd pass it along

[PHP-DEV] Email Processors Wanted!!!

2001-09-10 Thread Tim Constable
SERIOUS INQUIRIES FROM PEOPLE WHO WANT TO MAKE SERIOUS MONEY! Tim C. - Web Direct -- 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]

[PHP-DEV] Bug #12778: Could not find/open font

2001-08-15 Thread tim
: ./configure --with-apache=../apache_1.3.20 --with-mysql=/usr/local/mysql --with-gd --with-ming --enable-gd-native-ttf --with-freetype-dir=/usr/local/include/freetype2 --with-png-dir --with-jpeg-dir --with-zlib-dir --enable-track-vars --enable-trans-sid are you sure the CVS is ok? cheers tim

[PHP-DEV] Bug #12710: Warning: imap_mail() is not supported in this PHP build

2001-08-12 Thread tim . lokot
From: [EMAIL PROTECTED] Operating system: Win2K PHP version: 4.0.5 PHP Bug Type: IMAP related Bug description: Warning: imap_mail() is not supported in this PHP build I have activated the extension for imap and the error message I recieved is this: Warning: imap_mail()

[PHP-DEV] Bug #12651: Constant 'Broken pipe' errors

2001-08-08 Thread tim
From: [EMAIL PROTECTED] Operating system: Linux 2.2 PHP version: 4.0.6 PHP Bug Type: Performance problem Bug description: Constant 'Broken pipe' errors Since upgrading from 4.0.5 to 4.0.6, I see constant errors in the logs for all my virtual hosts: (32)Broken pipe:

[PHP-DEV] passing variables from forms to the same page repetatively

2001-07-16 Thread Tim Olsen
and assigned with the submission of each form? If I make the forms a seperate include file, instead of having them in-line, how does this change the ways variables are passed or submitted by each form? Thanks, - Tim _ Get your FREE download

[PHP-DEV] Bug #10842: FAQ section 8.1 should mention input name=array[key] syntax

2001-05-13 Thread tim
From: [EMAIL PROTECTED] Operating system: N/A PHP version: 4.0.5 PHP Bug Type: Documentation problem Bug description: FAQ section 8.1 should mention lt;input name=array[key]gt; syntax Section 8.1 of the FAQ linked from php.net talks about using HTML forms to create arrays

[PHP-DEV] Re: PHP 4.0 Bug #10124 Updated: Cookies are being read

2001-04-03 Thread Tim
Service Pack One for Win2000. I just havn't had time to redo the system again without the SP1, but will get to it later today has a test. Tim - Original Message - From: "Bug Database" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 02, 2001 6:24 PM Subject: PHP 4.0

[PHP-DEV] Object Accessor Chaining

2001-04-02 Thread Tim Perdue
Hello All - Just wondering what it would take to get this functionality in PHP: $this-getFooObject($bar)-getFoo() Right now, AFAICT, you have to: $var = $this-getFooObject($bar); $var2 = $var-getFoo(); Is that a difficult thing to add in? Who do I have to bribe? Thanks, Tim -- Founder

[PHP-DEV] PHP 4.0 Bug #9288: Math operations give wrong result under certain type-conversion circumstances

2001-02-15 Thread tim
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Math related Bug description: Math operations give wrong result under certain type-conversion circumstances Please, I believe I have found a serious bug. I can reproduce it 100%.