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

2002-07-31 Thread Alan Knowles
Im looking at adding threading to php, (for the cgi/cli stuff).. The story so far: I've created an extension which diverts all zend_execute calls into the extension - phpthreads_execute. this function is a copy of zend_execute with a few modifications - to copy restore things like

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

2002-07-31 Thread Sterling Hughes
Im looking at adding threading to php, (for the cgi/cli stuff).. The story so far: I've created an extension which diverts all zend_execute calls into the extension - phpthreads_execute. this function is a copy of zend_execute with a few modifications - to copy restore things

[PHP-DEV] Moving away from ASP to PHP

2002-07-31 Thread Anthony Kauffmann
Hi all, I've recently joined a new company and we're doing all of our web development (server-side) in ASP at the moment. We have to create a rather large scale application that will run on as many platforms as possible, so you can see how IIS can be restrictive to us at this point. The one

Re: [PHP-DEV] Moving away from ASP to PHP

2002-07-31 Thread Andrey Hristov
AFAIK, you can look at Zend Encoder, or ionCube Encoder (coupled with PHPA). Regard,s Andrey - Original Message - From: Anthony Kauffmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 31, 2002 12:26 PM Subject: [PHP-DEV] Moving away from ASP to PHP Hi all, I've

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

2002-07-31 Thread Wez Furlong
Hi Thomas, Just so you know who I am, I'm the openssl extension maintainer :-) I'd like to see your patch integrated into a more generic encryption function call, where the cipher is passed as a parameter. So, I don't think we will integrate your patch as-is, but do think we can implement the

Re: [PHP-DEV] Moving away from ASP to PHP

2002-07-31 Thread John Wards
If you don't know http://www.zend.com also get the optimiser it rocks! or server is loving it! John Wards Sportnetwork.net - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: Anthony Kauffmann [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 31, 2002 11:11

[PHP-DEV] Re: Moving away from ASP to PHP

2002-07-31 Thread Brian McGarvie
to make 'modules' you could look into PHP Pear... Anthony Kauffmann [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I've recently joined a new company and we're doing all of our web development (server-side) in ASP at the moment. We have to create a

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

2002-07-31 Thread Thomas LangÄs
Wez Furlong: Just so you know who I am, I'm the openssl extension maintainer :-) :) So, I don't think we will integrate your patch as-is, but do think we can implement the same functionality using a function something like this: mixed openssl_cipher_encrypt(int cipher, string key, string

[PHP-DEV] Scripts running on two different browsers crashes the server

2002-07-31 Thread Ananth Kesari
Hi All, I am porting PHP for NetWare. I have run into a problem during unit testing and I seek inputs from you on this. I am using two scripts: 1. In one, I am using a simple while loop: ?php for ($i=0; $i10; $i++) { echo Loop no = $i.br; } ? 2. In the

RE: [PHP-DEV] Scripts running on two different browsers crashes the server

2002-07-31 Thread James Cox
Please note that I am using the PHP development version 4.0.8. Ananth, Can I ask why you guys are using such an old version of PHP? Thanks, James -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Weird?!?!

2002-07-31 Thread Stefan Esser
Hi, Could someone tell me why the Zend Engine calculates every multiplication 2 times??? zend_operators.c: ZEND_API int mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) { ... if (op1-type == IS_LONG op2-type == IS_LONG) { double dval = (double) op1-value.lval

[PHP-DEV] CVS Account Request: dexter

2002-07-31 Thread Piotr Roszatycki
pear/DB_ldap as the co-maintainer (with the consent of Ludovico Magnocavallo [EMAIL PROTECTED]) -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] gc impossible if session.save_path depth 2 ?

2002-07-31 Thread Giancarlo Pinerolo
Many hosted sites would like to keep their session.save_path separate, within their home dir, but are somehow prevented by the fact that gc wouldn't take place if the path depth is 2. Because they obviously see a problem in implementing their own garbage collection, as most hosting sites do

[PHP-DEV] CVS Account Request: sebastian.picklum

2002-07-31 Thread Sebastian-Hendrik Picklum
phpdoc phpdoc-de phpdoc-fr phpdoc-es phpdoc-nl Translating/Maintaining Documentation (German,English,French,Spanish,Dutch) /phpweb /portal Maintain php.net, if help is needed there... =:-) -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

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

2002-07-31 Thread Brad LaFountain
This is interesting Shane and I started talking about php threads at OSCON. But baiscally your soulition won't work. I can't remember the specfic reason. I think i tried the same thing along time ago. If it were that simple it probally would have been done already :). For threading php you will

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).. The

Re: [PHP-DEV] Bus error on CVS Head

2002-07-31 Thread Zeev Suraski
Fixed (it had nothing to do with the script). Zeev At 04:14 31/07/2002, Dan Kalowsky wrote: Hi, Building PHP and running a test script with the CGI or CLI on my MacOSX machine results in a a Bus Error upon script completion. I have made a fresh checkout, built clean (with a cvsclean and

[PHP-DEV] Bus Error again

2002-07-31 Thread Dan Kalowsky
Zeev, It's still there... same bt, same spot. That crazy Bus Error... on debug. --- Dan KalowskyA little less conversation, http://www.deadmime.org/~danka little more action. [EMAIL PROTECTED]- A Little

[PHP-DEV] Session variables

2002-07-31 Thread Diana Castillo
Hi, with ASP I use session variables to keep a variable alive between one page and another. What is the comparable way to do it with php? Thank you, Diana -- http://www.nvtechnologies.com/hgh -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] Session variables

2002-07-31 Thread Daniel Lorch
hi, Hi, with ASP I use session variables to keep a variable alive between one page and another. What is the comparable way to do it with php? Thank you, Diana believe it or not - using session variables: http://php.net/session -daniel -- PHP Development Mailing List

Re: [PHP-DEV] Session variables

2002-07-31 Thread Pierre-Alain Joye
On Wed, 31 Jul 2002 16:53:59 +0200 Diana Castillo [EMAIL PROTECTED] wrote: Hi, with ASP I use session variables to keep a variable alive between one page and another. What is the comparable way to do it with php? Take a look at http://www.vl-srm.net/ hth pa -- PHP Development Mailing

[PHP-DEV] Re: Bus Error again

2002-07-31 Thread Zeev Suraski
It's gone for me. At 18:05 31/07/2002, Dan Kalowsky wrote: Zeev, It's still there... same bt, same spot. That crazy Bus Error... on debug. --- Dan KalowskyA little less conversation, http://www.deadmime.org/~dank

Re: [PHP-DEV] Session variables

2002-07-31 Thread Brad LaFountain
--- Pierre-Alain Joye [EMAIL PROTECTED] wrote: On Wed, 31 Jul 2002 16:53:59 +0200 Diana Castillo [EMAIL PROTECTED] wrote: Hi, with ASP I use session variables to keep a variable alive between one page and another. What is the comparable way to do it with php? Take a look at

Re: [PHP-DEV] Session variables

2002-07-31 Thread Pierre-Alain Joye
On Wed, 31 Jul 2002 08:57:36 -0700 (PDT) Brad LaFountain [EMAIL PROTECTED] wrote: You are suggesting using srm for session handling? Thats a little mis-guided. php's built in session handling would do the job. Yes, mis-reading, I read the usual application data request :), sorry :) pa --

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

2002-07-31 Thread Andrey Hristov
http://php.net - Original Message - From: Sebastian Nohn [EMAIL PROTECTED] To: Xavier Spriet [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, July 31, 2002 7:22 PM Subject: RE: [PHP-QA] Congratulations. Hi, Well this may not be the appropriate place for this but

RE: [PHP-DEV] Moving away from ASP to PHP

2002-07-31 Thread Preston L. Bannister
By as many platforms as possible do you mean different web servers on Windows (in which case using ActiveX components is viable), or different operating systems (Linux? Apple's OS? Sun? z/OS?)? Which specific platforms do you have in mind? I would not ordinarily recommend writing code in C

Re: [PHP-DEV] Weird?!?!

2002-07-31 Thread derick
On Wed, 31 Jul 2002, Stefan Esser wrote: should that be replaced with: result-value.lval = (long)dval; instead of calculating the multiplication again??? I think this is because of precision and the circumvention of rounding errors. Derick

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

2002-07-31 Thread Robinson, Mike
Title: RE: [PHP-DEV] Re: [PHP-QA] Congratulations. Congratulations Derick. Most deserving recognition for a terrific job. I will add to that my humble thanks. Mike Robinson IT/Developer - Torstar Media Group Television Phone: 416.945.8786 Fax: 416.869.4566 Email: [EMAIL PROTECTED] To

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

2002-07-31 Thread Shane Caraveo
Alan Knowles wrote: Im looking at adding threading to php, (for the cgi/cli stuff).. The story so far: I've created an extension which diverts all zend_execute calls into the extension - phpthreads_execute. this function is a copy of zend_execute with a few modifications - to copy

[PHP-DEV] Re: [PHP] mcrypt

2002-07-31 Thread J Smith
If all you need is some generic encryption that doesn't require mcrypt, you might want to take a look at a crypto extension I wrote called cryptopp-php. It does everything that the mcrypt extension does and might be a touch easier to use as far as syntax and such goes. (Plus, it works on

Re: [PHP-DEV] Weird?!?!

2002-07-31 Thread Stefan Esser
On Wed, Jul 31, 2002 at 07:24:05PM +0200, [EMAIL PROTECTED] wrote: On Wed, 31 Jul 2002, Stefan Esser wrote: should that be replaced with: result-value.lval = (long)dval; instead of calculating the multiplication again??? I think this is because of precision and the circumvention

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

2002-07-31 Thread Brad LaFountain
Shane, I was in the Parrot session at OSCON and parrot is going to implement threads in the exact same way. One interp per thread with sharing memory. - brad --- Shane Caraveo [EMAIL PROTECTED] wrote: Alan Knowles wrote: Im looking at adding threading to php, (for the cgi/cli stuff)..

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

2002-07-31 Thread Marcus Boerger
Hi, i have changed two things in ext/mbstring: 1) i changed all structs to be const to prevent compiler warnings and programming errors. 2) i implemented a html encoding. at this time i have input decoding simply as a pass by and output encoding that produces named or numeric entities for

[PHP-DEV] imap quota broken

2002-07-31 Thread Jan Schneider
One of the lasts commits to the imap quota functions broke backward compatibility with the old imap_get_quota() behaviour. It used to return an array like: array ( 'usage' = 83090, 'limit' = 10, ) but now returns an array like: array ( 'STORAGE' = array ( 'usage' = 83090, 'limit' = 10,

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

2002-07-31 Thread Daniel Lorch
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 his results might not be suitable for the masses

Re: [PHP-DEV] imap quota broken

2002-07-31 Thread Dan Kalowsky
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 imap_get_quota() function would set the usage and limit values to that of the last resource.

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

2002-07-31 Thread Alan Knowles
Shane Caraveo wrote: Alan Knowles wrote: Im looking at adding threading to php, (for the cgi/cli stuff).. The story so far: I've created an extension which diverts all zend_execute calls into the extension - phpthreads_execute. this function is a copy of zend_execute with a few

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

2002-07-31 Thread Yasuo Ohgaki
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: http://marcus.boerger.de/php/ext/mbstring/html_entities.c but I cannot access to your

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

2002-07-31 Thread Jay Blanchard
[snip] First of all, sorry for the additional cross post. MeetUp.com lacks the ability to let you contact other folks who have signed up. In my general area, Massachusetts, there are a bunch of tiny groups scattered about, and I'd like a chance to get all of them to converge in one place to make