[PHP-DEV] CVS Account Request: jmacklin

2003-02-11 Thread John T. Macklin
PHP Development Contributions -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Unsupported Operand Types

2003-01-18 Thread Brian T. Allen
Hi, I've just spent the night upgrading my RedHat 6.2 server to: Apache1.3.27 PHP4.3.0 MySQL3.23.54a Mod_SSL2.8.12 OpenSSL0.9.7 ZendOptimizer2.1.0 Now I'm getting (inconsistently): PHP Fatal error: Unsupported operand types in /web/domain/html/includes/item.inc

RE: [PHP-DEV] Feature Request: Auto Include a Function

2003-01-13 Thread Brian T. Allen
th. So existing scripts and programming styles won't be affected at all. But I think it would simplify things a LOT on a big site with lots of functions. > If this was a compilable language then sure it would of been > nice, like C > does searching through .h files, but since

[PHP-DEV] Feature Request: Auto Include a Function

2003-01-13 Thread Brian T. Allen
Hi, Please accept my apologies in advance if this is not the correct place for this request. This may exist, but I haven't been able to find it, and I think it would be REALLY helpful and convenient. The idea is this: When you write a script and call a function: PHP could automatically look

[PHP-DEV] CVS Account Request: fazer

2002-12-26 Thread Fazer T.
To help with the development process of PHP. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] can somebody help me with php4delphi?

2002-12-15 Thread T. Steneker
Hi again :-). I'm working on a php editor for windows. The editor is allmost finished. To cool thing about it is that you can show the parsed html of your code directly in the browser in the editor. I use http://members.chello.be/ws36637/download/php4Delphi.zip. The source for php4delphi.dll has

[PHP-DEV] zend_config.h - need help!

2002-12-15 Thread T. Steneker
Hi, I am working on a PHP version on Delphi. When compiling he can't find "zend_config.h". It isn't in the PHP sourcecode. Where can i find it? Best regards, T. Steneker -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] LCC compiler

2002-11-15 Thread Jason T. Greene
Cool, I will have to try that. Thanks!! -Jason On Fri, 2002-11-15 at 09:11, Andi Gutmans wrote: > Hey, > > Has anyone managed to get php to compile with lcc? It compiles much faster > and therefore is good for development. > > Andi -- Jason T. Greene <[EMAIL PROTECTED]&g

Re: [PHP-DEV] 64-bit PHP 4.3 (extensive long vs int problems)

2002-11-11 Thread Jason T. Greene
n't matter. -Jason On Mon, 2002-11-11 at 10:42, Jason T. Greene wrote: > Why not just convert to using a long? Is there really a need to have 2 > numeric types in the ini system? > > -Jason > > On Mon, 2002-11-11 at 00:20, Andi Gutmans wrote: > > Hi, > > > &g

Re: [PHP-DEV] PHP Snaps

2002-11-11 Thread Daniel T. Gorski
Ilia A. wrote: > Well there are a number of issues. First of all current snapshot listing > is a regular apache directory listing, which causes files with names > longer then X amount of characters to be cut off. Please learn to configure apache:

Re: [PHP-DEV] 64-bit PHP 4.3 (extensive long vs int problems)

2002-11-11 Thread Jason T. Greene
Why not just convert to using a long? Is there really a need to have 2 numeric types in the ini system? -Jason On Mon, 2002-11-11 at 00:20, Andi Gutmans wrote: > Hi, > > How about changing the INI_ENTRY macros in debug mode to check if we're > using UpdateInt/UpdateLong and if so check if sizeo

RE: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-30 Thread Jason T. Greene
ust wanted to say that > > because I often get the feeling that people on php-dev forget that it's > > usually the more computer science oriented people on this list > > which isn't > > necessarily the average PHP user. > > > > Andi > > > > A

Re: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-30 Thread Jason T. Greene
t; necessarily the average PHP user. I will keep that in mind. Thanks, -Jason > Andi > > At 11:39 AM 10/29/2002 -0600, Jason T. Greene wrote: > >On Thu, 2002-10-24 at 09:51, David M. Lloyd wrote: > > > On Thu, 24 Oct 2002, Andi Gutmans wrote: > > > > > >

Re: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-29 Thread Jason T. Greene
ink of one again. In > > any case, I wouldn't want an overloaded operator. We try and keep away > > of that kind of stuff with PHP. Clashing can occur with Constant values, and functions with a \n in front of the (). > Very well... then let's not put in the nonsense operator, and just have > three shift operations: <<, >>, and >>>. I agree > - D > > <[EMAIL PROTECTED]> > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > -Jason -- Jason T. Greene <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] linking php code to html link

2002-10-24 Thread Jason T. Greene
sibly buy a book. -Jason -- Jason T. Greene <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> On Thu, 2002-10-24 at 17:10, Alan Rawkins wrote: > Hi there, > > I'm wondering if there is a way to attach a php function to an html > tag. I basically want to have

Re: [PHP-DEV] Unsigned Problems Revisited

2002-10-23 Thread Jason T. Greene
2002-10-23 at 02:20, Kristian Koehntopp wrote: > On Tuesday 22 October 2002 19:23, Jason T. Greene wrote: > > If for some reason we HAVE to have a symmetrical bogus unsigned left > > shift operator, and we completely disagree with my arguments on > > overloading the HEREDOC

Re: [PHP-DEV] Binary Safety, Sockets and Raw sockets

2002-09-23 Thread Jason T. Greene
On Sat, 2002-09-21 at 00:21, Hans Zaunere wrote: > > 4.2.3 on FreeBSD 4.6.2 (--enable-cli,--enable-sockets,etc) > > I've been taking a look at the socket_* functions in PHP, and > specifically using raw sockets. I've started out with ICMP, and I can > form the ICMP header (more or less) an

Re: [PHP-DEV] Re: sockets extension...pecl it

2002-09-11 Thread Jason T. Greene
What I was saying in my earlier email much longer drawn out email was, that the API changes have been really final since version 4.2.0. The only reason I would change it, would be if someone demonstrated a problem with the interface, which no one has for 4.2.0 - 4.2.3 versions. The only API change

Re: [PHP-DEV] objects as string and arrays as string

2002-08-16 Thread Jason T. Greene
stratification = stringification (damn spellchecker) On Fri, 2002-08-16 at 09:30, Jason T. Greene wrote: > Perl has this (it's called "stratification"), and it is quite useful. > One example is that you have an error object that contains various > properties (line loca

Re: [PHP-DEV] objects as string and arrays as string

2002-08-16 Thread Jason T. Greene
Perl has this (it's called "stratification"), and it is quite useful. One example is that you have an error object that contains various properties (line location, error class, error level, error code, etc). And on evaluating the object as a string, it dumps it as an easy to read error message. -

Re: [PHP-DEV] Build warnings on OSX in sockets

2002-08-16 Thread Jason T. Greene
All of the warning messages you list, with the exception of the last, is specific to the readmsg() sendmsg() code which uses msghdr's (A messgae header has all void * members). They should not cause any problems, but I will clean them up. The last message is referring to a buffer that is used in

Re: [PHP-DEV] pcntl - class callbacks // dio ASYNC

2002-08-12 Thread Jason T. Greene
2002-08-12 at 08:38, Alan Knowles wrote: > Jason T. Greene wrote: > > >Doesn't this currently work without your patch? > > > it does if we add O_ASYNC to the defines in dio > > the pcntl patch just fixes class based callbacks.. *the memory leaks I > mentioned

Re: [PHP-DEV] pcntl - class callbacks // dio ASYNC

2002-08-12 Thread Jason T. Greene
Doesn't this currently work without your patch? -Jason On Thu, 2002-08-08 at 02:49, Alan Knowles wrote: > > this efree needs removing.. > > > > >+ > >+efree(*call_name); > >+DEBUG_OUT("done call_user function\n"); > >+

Re: [PHP-DEV] Implementing Threading: Some Hints (Was Re: [PHP-DEV]phpthreads - hints anyone...)

2002-08-01 Thread Jason T. Greene
> To make threading useful, you would need to somehow arrange for multiple > threads to access the same underlying zval data without blocking all > the threads. This just isn't possible AFAIK. Yes, this is definitely not possible without greatly modifying the engine's zval management (which wou

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-01 Thread Jason T. Greene
On Thu, 2002-08-01 at 04:43, Alan Knowles wrote: > > > > It's not about looking at the perl code, that will tell you nothing > > unless you know perl internals. It's about the way the interpreter > > works, some of the architecture, that is simular to PHP. In PHP, > > threads are isolated, ki

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-01 Thread Jason T. Greene
On Thu, 2002-08-01 at 08:04, [EMAIL PROTECTED] wrote: > On 31 Jul 2002, Jason T. Greene wrote: > > > Instead of mutexing the entire interpreter to death, why don't you try > > creating multiple interpreters (each in a thread), and then come up with > > a sharin

Re: [PHP-DEV] phpthreads - hints anyone...

2002-07-31 Thread Jason T. Greene
Instead of mutexing the entire interpreter to death, why don't you try creating multiple interpreters (each in a thread), and then come up with a sharing mechanism. -Jason On Wed, 2002-07-31 at 03:57, Alan Knowles wrote: > Im looking at adding threading to php, (for the cgi/cli stuff).. > > Th

Re: [PHP-DEV] How do you format a string with tabbed output toprint in the browser? Nothing seems to work!

2002-07-08 Thread Jason T. Greene
Gina, This list is for the development OF php not with php, please post questions like these to [EMAIL PROTECTED] -Jason On Mon, 2002-07-08 at 14:17, Planet Internet Nieuws wrote: > I've tried everything I can think of including variations with "\t" in a > printf(), chr(

[PHP-DEV] Jason back from vacation

2002-07-01 Thread Jason T. Greene
Everyone, I am finally back from vacation, and I will be playing catch-up for a while.(my email box has over 1000 msgs and I have missed about 1928 php-dev posts, I am sure the equiv CVS posts. ) Please give me some time to catch up. Thanks, -Jason -- PHP Development Mailing List

Re: [PHP-DEV] [Patch] LDAP Error reporting for 4.2.1

2002-06-26 Thread Kristofer T. Karas
On Wed, 2002-06-26 at 02:40, [EMAIL PROTECTED] wrote: > On Wed, 26 Jun 2002, Stig Venaas wrote: > > Thanks, I'll review your patch more carefully before I apply it > > Stig, I just patched it... and made it even more conformant to the rest of > the PHP extensions. I am currently testing. Super.

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] PHP in thefuture

2002-06-07 Thread Jason T. Greene
code in PHP 4, > and it'll be even better in 5 - PEAR is a clear demonstration of > this. Whether people actually end up reusing code depends on the way they > code, very little does it depend on the language. > > Zeev > > At 05:27 PM 6/7/2002, Jason T. Greene wrote: >

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] PHP in thefuture

2002-06-07 Thread Jason T. Greene
IMO, one of the big reasons for having a powerful OO mode, and continually evolving php to have a bigger target than just "a web programming language", is code re-usability. You can design a nice consistent Framework, and easily rollout web, gui, and back end applications all using the same frame

Re: [PHP-DEV] Re: Patch-tastic!

2002-06-05 Thread Jason T. Greene
If '+' concatenates what does '-' do? : ) -Jason On Wed, 2002-06-05 at 09:39, Andrei Zmievski wrote: > > > The latest one changes some operators. > > > > Nice, but why not overload + for strings to do the concatenation? > > Doing that would be ambiguous, to say the least. PHP automatical

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH]Allow constants / expressions to be passed by reference]

2002-05-29 Thread Jason T. Greene
On Wed, 2002-05-29 at 13:53, Andi Gutmans wrote: > Okay I'll try and look at your patch in the next couple of days. > It's quite sensitive code which this changes (has harmless as it might > seem) so I need some time to read over it. Thanks, I did test this very thoroughly. However, due to its po

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH] Allowconstants / expressions to be passed by reference]

2002-05-29 Thread Jason T. Greene
Even if it is semantically incorrect( which I disagree.) How is allowing a constant/expression to be passed by reference more "semantically incorrect" than allowing a default (which is a constant) on a pass by reference argument? -Jason On Wed, 2002-05-29 at 10:53, Sebastian Bergmann wrote: >

Re: [Fwd: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT][PATCH] Allow constants / expressions to be passed by reference]]

2002-05-29 Thread Jason T. Greene
Yes and as I said in my argument, this solves some of the problems but does not solve a non-rightmost parameter being optional. -Jason On Wed, 2002-05-29 at 11:43, Sebastian Bergmann wrote: > Hamster ate my mail? Resent, just in case. > > Sebastian Bergmann wrote: > > brad lafountain wrote: >

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH]Allow constants / expressions to be passed by reference]

2002-05-29 Thread Jason T. Greene
> > Andi > > At 09:40 29/05/2002 +0200, Stig S. Bakken wrote: > >If this patch doesn't break anything, and it doesn't give us any > >difficulties with ZE2 or major design issues, I'm +1. > > > > - Stig > > > >On Tue, 2002-05-28 at 21:

[PHP-DEV] [RESENT] [PATCH] Allow constants / expressions to be passed byreference]

2002-05-28 Thread Jason T. Greene
Due to this patch being sent during the msession discussion, it has not been noticed, so I am resending. -Jason --- Begin Message --- Problem --- There are some scenarios where a function requires the ability to modify parameters that may also be optional. Optional parameters work well, e

Re: [PHP-DEV] Safe Mode

2002-05-15 Thread Jason T. Greene
On Mon, 2002-05-13 at 09:54, Ilia A. wrote: > > Now you are really starting to stretch it. I am sure the ratio of > > customers that have db backends are much smaller than general webhosting > > customers > > PHP is very commonly used with a database (MySQL). I'd venture to say that 70% > of peo

Re: [PHP-DEV] Safe Mode

2002-05-15 Thread Jason T. Greene
I very much agree : ) -Jason On Mon, 2002-05-13 at 03:42, veins wrote: > > He has a point in the sense that it's trivially easy to starve a PHP based > > web server from within, safe mode enabled or not. What you describe as > the > > automated way in which the web server will overcome this att

Re: [PHP-DEV] Safe Mode

2002-05-15 Thread Jason T. Greene
On Mon, 2002-05-13 at 04:11, Zeev Suraski wrote: > At 11:42 13/05/2002, veins wrote: > > > He has a point in the sense that it's trivially easy to starve a PHP based > > > web server from within, safe mode enabled or not. What you describe as > >the > > > automated way in which the web server wil

Re: [PHP-DEV] Safe Mode

2002-05-15 Thread Jason T. Greene
On Mon, 2002-05-13 at 03:13, Zeev Suraski wrote: > Jason, > > He has a point in the sense that it's trivially easy to starve a PHP based > web server from within, safe mode enabled or not. What you describe as the > automated way in which the web server will overcome this attack is not > real

[PHP-DEV] Bug #15388: open(/tmp/sess_ee084b09620f64523243ee61beae8b01, O_RDWR) failed:

2002-02-05 Thread t . zander
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.1.1 PHP Bug Type: Session related Bug description: open(/tmp/sess_ee084b09620f64523243ee61beae8b01, O_RDWR) failed: Warning: open(/tmp/sess_ee084b09620f64523243ee61beae8b01, O_RDWR) failed: Keine Berechtigung (1

[PHP-DEV] Bug #5370 Updated: Session won't pass any variables in this platform.

2002-02-01 Thread t . zander
ID: 5370 Comment by: [EMAIL PROTECTED] Old Reported By: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Session related Operating System: Windows 98 PHP Version: 4.0.1pl2 New Comment: I'm getting this error msg: Warning: open(/tmp\sess_021e6dafeb513b539d491681bfc95c

[PHP-DEV] java.lang.NoClassDefFoundError in php_java.jar (reflect.java)

2001-11-29 Thread William T. Martin
arch")." \n"; $formatter = new Java("java.text.SimpleDateFormat", ", dd, 'at' h:mm:ss a "); print $formatter->format(new Java("java.util.Date"))."\n"; ?> Any help would be ap

[PHP-DEV] Bug #14177: german transalation about register_globals has a bug!

2001-11-22 Thread t . kloppenburg
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: Documentation problem Bug description: german transalation about register_globals has a bug! In http://www.php.net/manual/de/security.registerglobals.php the sentence at the bottom "Natürlich..."

[PHP-DEV] Re: Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Jason T . Greene
> > From: "Jeroen van Wolffelaar" <[EMAIL PROTECTED]> > Date: 2001/09/10 Mon PM 01:58:03 CDT > To: "Vlad Krupin" <[EMAIL PROTECTED]>, > "Alexander Wirtz" <[EMAIL PROTECTED]> > CC: "Jason Greene" <[EMAIL PROTECTED]>, > <[EMAIL PROTECTED]>, > <[EMAIL PROTECTED]>, > "Andrei

[PHP-DEV] Re: Re: sysvsem extention question

2001-08-23 Thread Jason T . Greene
> As far as creating the new module goes, it shouldn't be 'to much effort'. The basic >implimentation of system v semaphores > is actualy quite simple, its the usage of sempahores that can be very confusing :-) >sysv sem's are often refered to as the > most difficult to comprehend of the sysv st

[PHP-DEV] Re: Re: sysvsem extention question

2001-08-23 Thread Jason T . Greene
> > Last, i don't see why the implementation as exists, requires 3 > > semaphores. I just looked over the code, and the reason for this is it specifically designed for a multi-process web environment. The most common method for semaphore initialization is in the parent process right before

[PHP-DEV] Bug #12513: Automatic Rollback of open transactions in persistent links

2001-08-01 Thread t . stinner
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: Automatic Rollback of open transactions in persistent links When using mysql_pconnect() the connection to the database (abviously) persists. This has the site-e

[PHP-DEV] Bug #12509: OCI8 extension causes apache crash

2001-08-01 Thread t . weissenberger
From: [EMAIL PROTECTED] Operating system: RedHat 6.1 (2.2.14 Kernel) PHP version: 4.0.4pl1 PHP Bug Type: OCI8 related Bug description: OCI8 extension causes apache crash When using the ZendLaunchPad and enabling the oci8.so extension apache crashes. One known workaround is t

[PHP-DEV] Re: Bug #11949 Updated: Failed to write session ..... open(/tmp..) failed.

2001-07-07 Thread T. Virag
Not at all. My php.ini does not have both slash and a backslash. Here it is: session.save_path= "C:\php\sessiondata" I can change this to anything, but this version of PHP will ignor it. The previous version (4.04) did work. Tamas Virag - Original Message - From: "Bug Database" <[EMAIL P

[PHP-DEV] Bug #10737: include_path

2001-05-08 Thread T . Kaulen
From: [EMAIL PROTECTED] Operating system: Win 98 PHP version: 4.0.5 PHP Bug Type: *Install and Config Bug description: include_path Warning: Failed opening '' for inclusion (include_path='.') in Unknown on line 0 What did it mean? -- Edit Bug report at: http://bugs.php.

[PHP-DEV] Bug #10487: Uploaded files get prepended with 'Content-Type: ...' string

2001-04-25 Thread t
From: [EMAIL PROTECTED] Operating system: Linux RedHat 7.0 PHP version: 4.0.4pl1 PHP Bug Type: HTTP related Bug description: Uploaded files get prepended with 'Content-Type: ...' string \n", $PHP_SELF,SUBMIT,$person_id); print ("File: "); pr

[PHP-DEV] PHP 4.0 Bug #9900: sem_remove or similar missing

2001-03-21 Thread t . stinner
From: [EMAIL PROTECTED] Operating system: all PHP version: 4.0.4pl1 PHP Bug Type: Feature/Change Request Bug description: sem_remove or similar missing I miss a function sem_remove or similar which i can use to remove a semaphore completely. -- Edit Bug report at: http

[PHP-DEV] PHP 4.0 Bug #9092 Updated: variables-by-references in class constructor not working

2001-02-03 Thread t . stinner
ID: 9092 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Class/Object related Description: variables-by-references in class constructor not working hmm, i see your point. is it possible to define a value that should be passwd by reference as optional? Previous Comments:

[PHP-DEV] PHP 4.0 Bug #9092: variables-by-references in class constructor not working

2001-02-03 Thread t . stinner
From: [EMAIL PROTECTED] Operating system: Linux 2.2.16 PHP version: 4.0.4pl1 PHP Bug Type: Class/Object related Bug description: variables-by-references in class constructor not working This code snippet: class test { function test(&$test1=false) { } } gives m