. 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
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
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
? 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
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
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
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
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
;
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
?
Thanks,
Tim
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
, first_arg_force_ref)
Thanks,
-Tim
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
--- 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) {}
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
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
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
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
--- 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
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
+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
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.
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
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
+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
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
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
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
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
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.
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
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
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
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
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
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
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:
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
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
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
), 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
*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
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]
:
./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
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()
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:
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
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
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
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
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%.
55 matches
Mail list logo