[PHP-DEV] Soundex and metaphone functions
Are there Soundex / Metaphone algorithms available for languages other than English, such as French, German, Spanish, Japanese, Chinese, Portuguese, etc? I'm particulary interest in French locution. Thanks ... -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: Sockets Extension Rework (API, etc...) VERY LONG
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 vs. while(($retval==socket_read($sock, $buf, $len)) 0) { // do something } if ($retval==-1) { print strerror(socket_last_error($sock)); } elseif ($retval==0) { $eof=1; print Eof has occured!!!; } what about while(socket_read($sock, $buf, $len)) { // do somthing } switch (socket_last_error($sock)) { case SOCKET_EOF: print eof; break; default: print strerror(socket_last_message($sock)); } harald. -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 iQA/AwUBPHeMRK1+myS9SSHxEQK7TgCcCP8Z4vdnVfFOhjhBX+y/WBQ196UAoKl1 BPYcQ7yUWFo/O0VeJwf/9lE6 =xYWI -END PGP SIGNATURE- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Apache2 and PHP CVS from today
At 08:14 AM 2/23/2002 +0100, Sebastian Bergmann wrote: August wrote: There's been a bit of traffic on the apache dev list about this as well, most of it indicating the problem lies on the PHP side of things... This is something I've been tracking for a while, waiting for the Apache beta (which is pretty close to their final) before really worrying about the php support. Now that the beta is here would be great to see php getting solid on Apache. I have encountered no problems installing Apache2 and PHP 4, both from current CVS, two days ago. are you sure you've tried compiling it as a built-in module in Apache? If so, then i guess all the troubles i've detailed in my mail have been solved. But i hardly believe it since they seemed pretty tough to deal with on such a short time. But who knows :) I'll check it out :) Later -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- Chand Joey : You didn't cry when bambi's mother died ? Chand :Yes it was very sad when the guy stopped drawing the deer. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Apache2 and PHP CVS from today
Chand wrote: are you sure you've tried compiling it as a built-in module in Apache? $ cd /usr/src/httpd-2.0 $ ./configure --enable-so --enable-mods-shared=ALL $ make $ make install $ cd /usr/src/php4 $ ./configure --with-apxs2=/usr/local/apache2/bin/apxs $ make $ make install ... works just fine here, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Session ID routine, modifying session module structure
I am working on adding a new member to the session module structure. It will create the session ID for the session module. It will default to NULL, in which case the session code will call its normal session_create_id function, however, if the modules define a custome session_id creation routine, it will be called instead. This will answer some issues about multiple cookies or the probability of duplicate session ids. I will post the diffs after this weekend when I can get to a real internet connection. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: Help - I don't know what to do!
Tobias, By default, PHP does not have the xbithack feature enabled, so I'm not sure why you're getting this behavior. Try setting it off explicitly by adding php_flag xbithack off to your Apache httpd.conf file... Zeev At 17:45 2002/02/23, Tobias Wiersch wrote: Hello Webmaster! It would be great if you can help me somehow, because I don't know what to do anymore ... thank you *very* much in advance. Please read ahead, I will try to make it as short as possible. I hope you can understand all my sentences because I'm not native english-speaking. Prestory: I ran into a severe problem with php4.1.1 (Apache's xbithack-feature causes documents to be PHP-parsed instead of SSI-parsed - on our old server-install all worked fine, but now these files are PHP-parsed and that's not correct!). I reported this problem to PHP's bug-database (because I thought and still think that this is a bug), but [EMAIL PROTECTED] answered that this is not the right place to ask support-questions! And besides that, it would be normal that xbit-files are PHP-parsed!! So I asked in the support-forums but noone seems to know anything about this special behaviour. So I asked [EMAIL PROTECTED] directly, but he does not answer me (I sent 3 friendly mails). I asked if he could at least provide me a link or something, so that I can read something about the special behaviour he wrote about. And that I read the PHP-manual from start to end and that I found nothing about his theory. But: no reply. :-( So I feel now very helpless (and ignorated, of course) because noone seems to be able to help me out of this misery. And I cannot rename all xbit-files (inclusive all links to these files) to .shtml to be sure that they are SSI-parsed because we have approx. 1000 SSI-files with xbit. Please tell me what I can do or where I can find more information about this obviously new feature/bug. Or forward this mail to the appropiate person. Again, thanks for your help and support. Greetings ... tobias wiersch from germany, webmaster of fanpro.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: PHP 5 Features
I doubt you're going to get a really good answer for this question because 1. PHP 5.0 isn't out yet and won't be out for a while. (Not until Zend Engine 2.0 is done, I'd assume.) 2. This is a PHP development group, so do you really think you're going to get an unbaised answer here? Would you ask a Microsoft representative whether or not Windows XP is better than linux? J Michael Heuberger wrote: Hi I'd like to have a look on the new features in PHP 5.0 because I need to evaluate different technologies for a new big website. I ask: PHP 5.0 or JSP, what's better? Can you give me some information, links or documents? Thank you! - Mickey from Switzerland --- Dipl. Ing. Inf. Michael Heuberger SoftCon Informatik AG Dufourstrasse 185a CH - 8008 Zürich Fax +41 1 388 71 22 www.softcon.ch mailto:[EMAIL PROTECTED] This e-mail and any attachments are confidential and contains information that may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you should not disseminate, distribute, copy or otherwise make use of this e-mail. Please notify the sender immediately by e-mail, if you have received this e-mail by mistake and delete this e-mail from your system. We undertake every effort to keep our network free from viruses. Please do nonetheless verify that this email and any attachments are free of viruses. We do not take responsibility for any computer virus which might be transferred by way of this e-mail. By sending me/us messages through e-mail, you agree to correspond by e-mail in the relevant matter. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Please Add my Patch: ext/xslt/sablot.c
Hello, Here is my Patch for a better Design: --- ext/xslt/sablot.c +++ ext/xslt/sablot.c @@ -164 +164 @@ - php_info_print_table_header(2, XSLT support, enabled); + php_info_print_table_row(2, XSLT Support, enabled); can one add it? Thanx Cu Peter Neuman -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Please Add my Patch: ext/xslt/sablot.c
Applied, thx. -- Please always Cc to me when replying to me on the lists. GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Apache2 and PHP CVS from today
At 05:52 PM 2/23/2002 +0100, Sebastian Bergmann wrote: Chand wrote: are you sure you've tried compiling it as a built-in module in Apache? $ cd /usr/src/httpd-2.0 $ ./configure --enable-so --enable-mods-shared=ALL $ make $ make install $ cd /usr/src/php4 $ ./configure --with-apxs2=/usr/local/apache2/bin/apxs $ make $ make install ... works just fine here, Sebastian ok this segfaults on my comp (linux 2.4.17), but my point was to try and build an httpd binary with php built in. What you do here is a module loaded at startup. not *Entirely* different but not quite the same anyway :) Configuring it would have to go this way : $ cd /usr/src/httpd-2.0 $ ./configure --enable-so --enable-mods-shared=ALL $ cd /usr/src/php4 $ ./configure --with-apache=../httpd-2.0 $ make $ make install $ cd /usr/src/httpd-2.0 $ ./configure [... All valid options you want] $ make $ make install If anyone got this working, I'm interested. I'll try again with the newest cvs version of both distributions. Later -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- Mark Villemade Hosting Services Technical Manager MultiMania / Lycos (int) +33 1 53 27 24 05 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: Session ID routine, modifying session module structure
[EMAIL PROTECTED] wrote: I am working on adding a new member to the session module structure. It will create the session ID for the session module. It will default to NULL, in which case the session code will call its normal session_create_id function, however, if the modules define a custome session_id creation routine, it will be called instead. This will answer some issues about multiple cookies or the probability of duplicate session ids. I will post the diffs after this weekend when I can get to a real internet connection. It's nice to have :) +1 I have relatively uncommited large patch for session module. (And it's getting larger still to address read only session, session var cannot be saved, $_SESSION undefined at start up, etc) but I think there will not be much conflicts. Sascha, do you see problem with my patch? I'll commit my patch except for $_SESSION/$HTTP_SESSION_VARS handling patch, if I get no reply :) Current session module has serious bug for $_SESSION/$HTTP_SESSION_VARS handling -- Yasuo Ohgaki -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: Help - I don't know what to do!
Looks like I had problem with yahoo mail :( I guess some of mail sent form my yahoo.com account didn't actually send -- Yasuo Ohgaki Zeev Suraski wrote: Tobias, By default, PHP does not have the xbithack feature enabled, so I'm not sure why you're getting this behavior. Try setting it off explicitly by adding php_flag xbithack off to your Apache httpd.conf file... Zeev At 17:45 2002/02/23, Tobias Wiersch wrote: Hello Webmaster! It would be great if you can help me somehow, because I don't know what to do anymore ... thank you *very* much in advance. Please read ahead, I will try to make it as short as possible. I hope you can understand all my sentences because I'm not native english-speaking. Prestory: I ran into a severe problem with php4.1.1 (Apache's xbithack-feature causes documents to be PHP-parsed instead of SSI-parsed - on our old server-install all worked fine, but now these files are PHP-parsed and that's not correct!). I reported this problem to PHP's bug-database (because I thought and still think that this is a bug), but [EMAIL PROTECTED] answered that this is not the right place to ask support-questions! And besides that, it would be normal that xbit-files are PHP-parsed!! So I asked in the support-forums but noone seems to know anything about this special behaviour. So I asked [EMAIL PROTECTED] directly, but he does not answer me (I sent 3 friendly mails). I asked if he could at least provide me a link or something, so that I can read something about the special behaviour he wrote about. And that I read the PHP-manual from start to end and that I found nothing about his theory. But: no reply. :-( So I feel now very helpless (and ignorated, of course) because noone seems to be able to help me out of this misery. And I cannot rename all xbit-files (inclusive all links to these files) to .shtml to be sure that they are SSI-parsed because we have approx. 1000 SSI-files with xbit. Please tell me what I can do or where I can find more information about this obviously new feature/bug. Or forward this mail to the appropiate person. Again, thanks for your help and support. Greetings ... tobias wiersch from germany, webmaster of fanpro.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php