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

2002-08-01 Thread Alan Knowles
Ok, had a slight play with it again.. I did eventually find the perl code for threading although without an lxr server it's pretty much impossible to decipher all the macros they use.. The reality is I'm waving in the dark a bit - I've got a bit of spare time to play with it, but not really

[PHP-DEV] need help!

2002-08-01 Thread Sujata Ghosh
hi to all! i want to do followings using php: 1) i have made a form in html. this form contain user details who want to download a pdf file. where javascript is handling data validation on submission of that user info. 2) after that a php file will open and it takes all user's information

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

2002-08-01 Thread Shane Caraveo
Alan Knowles wrote: Ok, had a slight play with it again.. I did eventually find the perl code for threading although without an lxr server it's pretty much impossible to decipher all the macros they use.. It's not about looking at the perl code, that will tell you nothing unless you

[PHP-DEV] segfault in recent code

2002-08-01 Thread Rasmus Lerdorf
/home/rasmus/php4/main/SAPI.c(642) : Block 0x0825B220 status: Beginning: Overrun (magic=0x0825B1A8, expected=0x7312F8DC) [Thu Aug 1 01:32:21 2002] [notice] child pid 24107 exit signal Segmentation fault (11) Poked around for it a bit, but need to get some sleep. Not sure the overrun is

Re: [PHP-DEV] Re: mbstring and html encode/const structs

2002-08-01 Thread Marcus Börger
At 04:11 01.08.2002, Yasuo Ohgaki wrote: Interesting. Marcus Boerger wrote: Anyone interested may download the patch: http://marcus.boerger.de/php/ext/mbstring/mbstring-entities-const.patch And the additional file holding translation the table:

Re: [PHP-DEV] imap quota broken

2002-08-01 Thread Jan Schneider
OK, thanks for making that clear. Zitat von Dan Kalowsky [EMAIL PROTECTED]: Yes it did. Mainly because the old compatibility was wrong. In the case when a server would respond with multiple resources like so: C: A003 GETQUOTA S: * QUOTA (STORAGE 10 512 MESSAGE 5 256) The

Re: [PHP-DEV] segfault in recent code

2002-08-01 Thread Marcus Börger
At 10:37 01.08.2002, Rasmus Lerdorf wrote: /home/rasmus/php4/main/SAPI.c(642) : Block 0x0825B220 status: Beginning: Overrun (magic=0x0825B1A8, expected=0x7312F8DC) [Thu Aug 1 01:32:21 2002] [notice] child pid 24107 exit signal Segmentation fault (11) Poked around for it a bit, but need to

Re: [PHP-DEV] Re: [PHP-QA] Congratulations.

2002-08-01 Thread Stig S. Bakken
On Thu, 1 Aug 2002, Daniel Lorch wrote: hi, Congratulations Derick. Most deserving recognition for a terrific job. I will add to that my humble thanks. No offense, but I think other developers should be mentioned as well. I very much like wez' work on innovative ideas - even though

Re: [PHP-DEV] Re: [PHP-QA] Congratulations.

2002-08-01 Thread Dan Hardiker
Come on, it's an award, they pick individuals. I think Derick and Jani deserved that award with good margin, because the type of work they do often has limited reward compared to the amount of energy they put into it. If any of us did the work we do for the money (in commerical), the

Re: [PHP-DEV] segfault in recent code

2002-08-01 Thread Rasmus Lerdorf
That fixed part of it, there is still another segfault in there somewhere. Something in the vastness of IMP is making things go weird... On Thu, 1 Aug 2002, Marcus [iso-8859-1] Börger wrote: At 10:37 01.08.2002, Rasmus Lerdorf wrote: /home/rasmus/php4/main/SAPI.c(642) : Block 0x0825B220

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

2002-08-01 Thread Alan Knowles
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, kind of like seperate processes, but in threads. From my

[PHP-DEV] oci8 extension

2002-08-01 Thread Abdul-Kareem Abo-Namous
hi everyone i'm new to this list so please be patient with me (but not too patient ;-)). i am currently a contractor for a pretty big it company that is migrating all its php sites to oracle 9i. since we ran into some large problems related to character sets and the way the oci library handles

[PHP-DEV] GMP extension

2002-08-01 Thread phpsurf
Hi, I'm looking for the GMP extension in a binary distribution for windows. This extension is documented, found in the CVS tree at php4/ext/gmp, but it is never packaged in any windows distribution ! Am I totally blind, or is there something missing ? Thanks for help :)

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

2002-08-01 Thread derick
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 sharing mechanism. Sounds like duplication some other thing :) Derick On Wed, 2002-07-31 at 03:57, Alan

Re: [PHP-DEV] imap quota broken

2002-08-01 Thread Dan Kalowsky
Jan it is possible to put a fix in to keep some backwards compatibility. I thought about this last night, and I will try to implement it today. If you would test it later today that would be nice. This solution does pollute the array, but it will make old scripts work a bit better. On Thu, 1

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 sharing mechanism. Sounds like duplication

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, kind of

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

2002-08-01 Thread Wez Furlong
Hi Alan, I've missed the start of this thread on threads because our internet connection was physically down for a couple of days, but hopefully what I've said here is useful to you. It started as a couple of comments but then grew a bit long... You might find some of the code in the

[PHP-DEV] RE: looking for GMP extension for windows

2002-08-01 Thread phpsurf
do you know why this extension is not bundled with the php distribution ? -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED]] Sent: jeudi 1 aout 2002 16:28 To: [EMAIL PROTECTED] Subject: Re: looking for GMP extension for windows Hi, There is no version

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 would

Re: [PHP-DEV] Re: [PHP-QA] Congratulations.

2002-08-01 Thread Wez Furlong
On 08/01/02, Stig S. Bakken [EMAIL PROTECTED] wrote: On Thu, 1 Aug 2002, Daniel Lorch wrote: No offense, but I think other developers should be mentioned as well. I very much like wez' work on innovative ideas - even though his results might not be suitable for the masses (such as having

[PHP-DEV] HEADS up: SSH warnings on pair1/pair2.php.net

2002-08-01 Thread Sascha Schumann
The recently upgraded ssh on these boxes sends a DSA host key instead of the RSA version. Because the DSA one is unknown, ssh will alert you about a change of the remote host identification. You can safely ignore this warning and remove the old entry from your known_hosts2

Re: [PHP-DEV] array commits broke something

2002-08-01 Thread Jani Taskinen
Have you updated to the very latest? I'm unable to reproduce this.. Can you give some simple example script? (maybe I understood you wrong..) --Jani -- On Thu, 1 Aug 2002, Jan Schneider wrote: Hi, the recent changes in the array code broke something.

Re: [PHP-DEV] array commits broke something

2002-08-01 Thread Brad LaFountain
Sorry.. i miss read your comment... you are correct I just fixed it commiting in a few min. - brad --- Brad LaFountain [EMAIL PROTECTED] wrote: That was my fault. I did apply a patch that will fix that late last nite. Just get the current CVS and it should work. PS.

[PHP-DEV] HANDLE_BLOCK_INTERRUPTIONS

2002-08-01 Thread Brad LaFountain
HANDLE_BLOCK_INTERRUPTIONS(); HANDLE_UNBLOCK_INTERRUPTIONS(); what exactly does these do? - brad __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- PHP Development Mailing List http://www.php.net/ To

Re: [PHP-DEV] Addition to the openssl ext

2002-08-01 Thread Wez Furlong
Sure! Just post it here (diff against CVS HEAD version) and Cc: to me directly. If it's a complete patch I'll apply it as soon as I see it. --Wez. On 07/31/02, Thomas Langås [EMAIL PROTECTED] wrote: Could you log your patch as a feature request using bugs.php.net so that I can find it

Re: [PHP-DEV] Re: mbstring and html encode/const structs

2002-08-01 Thread Marcus Börger
I have spent some more work and now i can decode HTML upon input, too. If you set (arg_separator.input = |) and (mbstring.internal_encoding = ISO-8859-15) in your ini file you can do something like this: testpage.php?var=#65;auml;euro; and receive $_GET['VAR'] = 'A and both auml; and euro;

[PHP-DEV] [Patch] mhash

2002-08-01 Thread Peter Neuman
Hello, This Patch adds mhash phpinfo function And the Zend modifies modules struct like it in that README.EXTENSIONS is. I tested it and go it Patch is Added as Attachment Thanks Peter Neuman Index: mhash.c === RCS file:

Re: [PHP-DEV] Re: solaris8 + php4.2.2 = memory corruption?

2002-08-01 Thread Sulka Haro
On Mac OS X, php 4.2.1 terminates without output with the given example. Running a copy of PHP 4.3.0 CLI I updated/compiled from CVS today, the output is 97Bus error. Anyone with enough info to say what's similar to both Solaris and OS X? sulka At 19:58 +0300 1.8.2002, Anti Veeranna wrote:

Re: [PHP-DEV] segfault in recent code

2002-08-01 Thread Stefan Roehrich
On 2002-08-01 02:28:26, Rasmus Lerdorf wrote: That fixed part of it, there is still another segfault in there somewhere. Maybe it has to do with the silly strncasecmp error I made (and just committed a fix to SAPI.c), but I don't know how this would cause a segfault. Stefan -- Stefan

Re: [PHP-DEV] Re: solaris8 + php4.2.2 = memory corruption?

2002-08-01 Thread Dan Kalowsky
I do not get the Bus Error (this was fixed last night by Zeev). And if you correct the $id bug in this script, it works just fine ... at least on OSX. This is from CVS HEAD. On Thu, 1 Aug 2002, Sulka Haro wrote: On Mac OS X, php 4.2.1 terminates without output with the given example.

Re: [PHP-DEV] Re: mbstring and html encode/const structs

2002-08-01 Thread Rui Hirokawa
Thanks, It's cool! On Thu, 01 Aug 2002 20:29:12 +0200 [EMAIL PROTECTED] (Marcus B¾­ŽÓrger) wrote: I have spent some more work and now i can decode HTML upon input, too. If you set (arg_separator.input = "|") and (mbstring.internal_encoding = ISO-8859-15) in your ini file you can do

Re: [PHP-DEV] Re: mbstring and html encode/const structs

2002-08-01 Thread Marcus Börger
At 00:36 02.08.2002, Rui Hirokawa wrote: Thanks, It's cool! On Thu, 01 Aug 2002 20:29:12 +0200 [EMAIL PROTECTED] (Marcus B¾­ŽÓrger) wrote: I have spent some more work and now i can decode HTML upon input, too. If you set (arg_separator.input = |) and (mbstring.internal_encoding =

Re: [PHP-DEV] array commits broke something

2002-08-01 Thread Jan Schneider
Zitat von Brad LaFountain [EMAIL PROTECTED]: Sorry.. i miss read your comment... you are correct I just fixed it commiting in a few min. Yes, everything works as expected now. Thanks! Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge

Re: [PHP-DEV] Re: mbstring and html encode/const structs

2002-08-01 Thread Marcus Börger
Spent some more work and now it works if the internal encoding is UTF-8. So maybe the work is worth a comit the next days after some further testing. And the question is with or without const modifiers? You can see what the patch does by looking at this example (UTF8):

Re: [PHP-DEV] Re: mbstring and html encode/const structs

2002-08-01 Thread Steph
is there any way I can use this stuff to change the way dir functions work on doze? (sorry C is very new to me PHP source is mad ;) - Original Message - From: Marcus Börger [EMAIL PROTECTED] To: Rui Hirokawa [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];

Re: [PHP-DEV] Re: mbstring and html encode/const structs

2002-08-01 Thread Rui Hirokawa
I think adding 'const' is good idea to clarify the code. We should check the new code before release process of PHP 4.3.0. Rui On Fri, 02 Aug 2002 03:08:12 +0200 [EMAIL PROTECTED] (Marcus B¾­ŽÓrger) wrote: Spent some more work and now it works if the internal encoding is UTF-8. So maybe the

[PHP-DEV] [php-objects] RE: [PHP] Re: [PHP-DEV] [CROSS POST] PHP Meetup Texas PHP Users

2002-08-01 Thread Martin Clifford
I'm definately interested, even though I'll most likely be in MN at the time. I've never even MET another PHP developer, so I don't know what to expect, but I'd sure love to be updated :o) Martin [EMAIL PROTECTED] 08/01/02 03:21PM Well, the predictions have come true. In San Antonio only

[PHP-DEV] RE: [PHP] Re: [PHP-DEV] [CROSS POST] PHP Meetup Texas PHP Users

2002-08-01 Thread Jay Blanchard
Well, the predictions have come true. In San Antonio only four folks signed up for the meetup, and the event was cancelled with no way to get in touch with the other local developers to make a go of it. Out of the 147 cities listed only 15 had enough people for meetup.com to do their thing. A