[PHP] Re: socket multithreading problem

2010-07-29 Thread Nathan Rixham
Ümit CAN wrote: Hi All; I use PHP socket programming and I wish multithreading operation of the socket . When I have many requests on this socket , before the first one request is anwered , the second request is not aswered till the first one is finished. How can both requests work

Re: [PHP] the state of the PHP community

2010-07-29 Thread Larry Garfield
On Thursday 29 July 2010 12:36:13 am Nathan Rixham wrote: Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or off, or add more of your own - this

Re: [PHP] the state of the PHP community

2010-07-29 Thread Josh Kehn
On Jul 29, 2010, at 1:36 AM, Nathan Rixham wrote: Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or off, or add more of your own - this

Re: [PHP] the state of the PHP community

2010-07-29 Thread Adam Richardson
On Thu, Jul 29, 2010 at 1:36 AM, Nathan Rixham nrix...@gmail.com wrote: Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or off, or add more of

Re: [PHP] the state of the PHP community

2010-07-29 Thread Larry Garfield
On Thursday 29 July 2010 02:07:58 am you wrote: Hi Larry, Thanks for taking the time to reply, a solid insightful one at that - kudos +1 for your opensource drupal efforts! Good of you to mention, and indeed to see, Palinter grasping opensource with two hands, this is certainly a very

Re: [PHP] the state of the PHP community

2010-07-29 Thread Nathan Rixham
Hi Josh, Thanks for taking the time - comments in-line from here :) Josh Kehn wrote: On Jul 29, 2010, at 1:36 AM, Nathan Rixham wrote: Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free

Re: [PHP] the state of the PHP community

2010-07-29 Thread Nathan Rixham
Larry Garfield wrote: On Thursday 29 July 2010 02:07:58 am you wrote: Hi Larry, Thanks for taking the time to reply, a solid insightful one at that - kudos +1 for your opensource drupal efforts! Good of you to mention, and indeed to see, Palinter grasping opensource with two hands, this is

Re: [PHP] the state of the PHP community

2010-07-29 Thread Nathan Rixham
Larry Garfield wrote: On Thursday 29 July 2010 12:36:13 am Nathan Rixham wrote: Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or off, or add more

Re: [PHP] the state of the PHP community

2010-07-29 Thread Nathan Rixham
Adam Richardson wrote: On Thu, Jul 29, 2010 at 1:36 AM, Nathan Rixham nrix...@gmail.com wrote: Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or

RE: [PHP] the state of the PHP community

2010-07-29 Thread Mike Roberts
Hello All. I have been given advice on how to remove myself from this list, and taken it. I have tried on my own to discover how to remove myself from this list. I have even ( something I am not proud of) hinted that I might start irrelevant threads of conversation so you will ban me.

RE: [PHP] the state of the PHP community

2010-07-29 Thread Ashley Sheridan
On Thu, 2010-07-29 at 08:32 -0400, Mike Roberts wrote: Hello All. I have been given advice on how to remove myself from this list, and taken it. I have tried on my own to discover how to remove myself from this list. I have even ( something I am not proud of) hinted that I might start

RE: [PHP] the state of the PHP community

2010-07-29 Thread Jay Blanchard
[snip] So IF YOU HAVE THE CAPABILITY TO REMOVE ME Make it so number one!. [/snip] CLICK HERE - To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] the state of the PHP community

2010-07-29 Thread Nathan Rixham
have you sent an email to php-general-unsubscr...@lists.php.net ? Mike Roberts wrote: Hello All. I have been given advice on how to remove myself from this list, and taken it. I have tried on my own to discover how to remove myself from this list. I have even ( something I am not proud of)

Re: [PHP] the state of the PHP community

2010-07-29 Thread Peter Lind
On 29 July 2010 15:43, Nathan Rixham nrix...@gmail.com wrote: have you sent an email to php-general-unsubscr...@lists.php.net ? I love how you guys are torturing the poor bastard *after* he made it clear he's tried *in several ways* to unsubscribe and *really* doesn't need more advice but a list

Re: [PHP] the state of the PHP community

2010-07-29 Thread tedd
Nathan: What other languages and web techs do you currently use other than PHP? - if you include html or css please include version, if js then preferred libs, and whether client or server side. Besides php, I use mysql, javascript (jQuery, ajax, DOM scripting), css, and html. As for

[PHP] hash problem.

2010-07-29 Thread Jo�o C�ndido de Souza Neto
I´ve got the setting in my /etc/login.defs file as bellow: # Use MD5 or DES to encrypt password? Red Hat use MD5 by default. MD5_CRYPT_ENAB no ENCRYPT_METHOD SHA512 So, when I try to get this: echo hash(sha512, $_POST[password]); It does not match the password the user´s got in /etc/shadow

Re: [PHP] the state of the PHP community

2010-07-29 Thread Paul M Foster
On Thu, Jul 29, 2010 at 06:36:13AM +0100, Nathan Rixham wrote: Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or off, or add more of your own -

RE: [PHP] hash problem.

2010-07-29 Thread Bob McConnell
From: João Cândido de Souza Neto I´ve got the setting in my /etc/login.defs file as bellow: # Use MD5 or DES to encrypt password? Red Hat use MD5 by default. MD5_CRYPT_ENAB no ENCRYPT_METHOD SHA512 So, when I try to get this: echo hash(sha512, $_POST[password]); It does not match

RE: [PHP] the state of the PHP community

2010-07-29 Thread Bob McConnell
From: Nathan Rixham I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - What other languages and web techs do you currently use other than PHP? - if you include html or css please include version, if js

Re: [PHP] the state of the PHP community

2010-07-29 Thread Joshua Kehn
On Jul 29, 2010, at 3:32 AM, Nathan Rixham wrote: Hi Josh, Thanks for taking the time - comments in-line from here :) Josh Kehn wrote: Java, JS (in the form of Node and MongoDB, +raw client / jQuery stuff) and PHP get used regularly. Python / Ruby infrequently. With true confirmation

[PHP] Trapping for PDF Type and file size in a UPLOAD form...

2010-07-29 Thread Don Wieland
I am trying to create an UPLOAD form and need to figure a way to only allow PDF files to be selected. Something like: html body form enctype=multipart/form-data action=upload.php method=post input type=hidden name=MAX_FILE_SIZE value=100 accept=application/pdf /

Re: [PHP] Trapping for PDF Type and file size in a UPLOAD form...

2010-07-29 Thread Ashley Sheridan
On Thu, 2010-07-29 at 09:50 -0700, Don Wieland wrote: I am trying to create an UPLOAD form and need to figure a way to only allow PDF files to be selected. Something like: html body form enctype=multipart/form-data action=upload.php method=post input type=hidden

Re: [PHP] the state of the PHP community

2010-07-29 Thread la...@garfieldtech.com
On 7/29/10 2:32 AM, Nathan Rixham wrote: What's your previous language/tech trail? Started with QBasic and realized it was crap. Moved on to Java, realized object rock but J2EE doesn't. Moved to PHP / Java. QBasic was crap lol, that was my first language after playing with .bat files! Oh

[PHP] How to upload via SFTP with allow_url_open disabled?

2010-07-29 Thread Scott Teresi
I'm attempting to send a file over SFTP in PHP, but all the examples I find online do something like this: $stream = @fopen(ssh2.sftp://xx;, 'w'); @fwrite($stream, $data_to_send) This requires allow_url_fopen to be enabled on the server, to get a stream for the remote file.

Re: [PHP] Trapping for PDF Type and file size in a UPLOAD form...

2010-07-29 Thread Joshua Kehn
On Jul 29, 2010, at 12:50 PM, Don Wieland wrote: I am trying to create an UPLOAD form and need to figure a way to only allow PDF files to be selected. Something like: html body form enctype=multipart/form-data action=upload.php method=post input type=hidden

Re: [PHP] How to upload via SFTP with allow_url_open disabled?

2010-07-29 Thread Dmitrii Varvashenia
http://www.php.net/manual/en/function.ssh2-scp-send.php 2010/7/29 Scott Teresi scot...@teresi.us: I'm attempting to send a file over SFTP in PHP, but all the examples I find online do something like this: -- WBR, Dmitrii +375 29 60-LINUX, 25-LINUX, 40-LINUX icq: 193-74-771

Re: [PHP] Trapping for PDF Type and file size in a UPLOAD form...

2010-07-29 Thread tedd
At 9:50 AM -0700 7/29/10, Don Wieland wrote: I am trying to create an UPLOAD form and need to figure a way to only allow PDF files to be selected. The short answer is you can't -- not from php. You can create a standard form and upload it from there, but you don't have control over file

Re: [PHP] socket multithreading problem

2010-07-29 Thread Per Jessen
Ümit CAN wrote: I use PHP socket programming and I wish multithreading operation of the socket . Don't use PHP, use C - it'll save you a lot of trouble in this context. -- Per Jessen, Zürich (15.4°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] the state of the PHP community

2010-07-29 Thread Steve
On 7/28/2010 10:36 PM, Nathan Rixham wrote: Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or off, or add more of your own - this isn't for

Re: [PHP] socket multithreading problem

2010-07-29 Thread Rasmus Lerdorf
On 7/27/10 7:04 AM, Ümit CAN wrote: I use PHP socket programming and I wish multithreading operation of the socket . When I have many requests on this socket , before the first one request is anwered , the second request is not aswered till the first one is finished. How can both

Re: [PHP] the state of the PHP community

2010-07-29 Thread Rasmus Lerdorf
On 7/28/10 11:26 PM, Larry Garfield wrote: - Those driving PHP development itself (vis, writing the engine) don't seem to comprehend the idea of someone running a web site who isn't also a C developer, sysadmin, and performance specialist. If you don't have root then we don't care

Re: [PHP] the state of the PHP community

2010-07-29 Thread Bastien Koert
On Thu, Jul 29, 2010 at 1:36 AM, Nathan Rixham nrix...@gmail.com wrote: Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or off, or add more of your

Re: [PHP] the state of the PHP community

2010-07-29 Thread Peter Lind
On 29 July 2010 07:36, Nathan Rixham nrix...@gmail.com wrote: Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or off, or add more of your own -

Re: [PHP] Encoding Ampersands

2010-07-29 Thread Shawn McKenzie
On 07/28/2010 11:29 PM, Rick Dwyer wrote: So htmlentities() will work for Green, Red Blue? Will it work for htm?color=bluenumber=2letter=? --Rick For ampersands yes, for other things no. Use the correct tool for the job. To output HTML use htmlentities(). To pass in the URL use

Re: [PHP] the state of the PHP community

2010-07-29 Thread Nathan Rixham
Bastien Koert wrote: On Thu, Jul 29, 2010 at 1:36 AM, Nathan Rixham nrix...@gmail.com wrote: Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or off,

[PHP] PHP 5.3 as a requirement for a library?

2010-07-29 Thread David Harkness
I'm working on the Hamcrest matching library and have been considering the switch to using namespaces (\Hamcrest\Type\IsInteger) instead of class-names-as-namespaces (Hamcrest_Type_IsInteger). Coming from the Java world I'm used to being forced to deploy my applications on versions one or two

[PHP] [site is acting strange] - blank pages, download index.php, or works fine

2010-07-29 Thread Tristan
I have the strangest issue with my host. They can't figure it out and I'm completely perplexed. We have other sites running on the server just fine. However, this new site is acting very weird. Sometimes we get blank pages, sometimes we get a blank page and then a dialog pops up asking if we want

Re: [PHP] [site is acting strange] - blank pages, download index.php, or works fine

2010-07-29 Thread Tristan
Yeah like i said site works 95% of the time when navigating. PHP5.2, Mysql 5. The site is completely dynamic so it wouldn't work at all if that was the case of it not being installed right. so the other 5% of the time is blank pages and download index.php files. In Firefox when you get a blank

Re: [PHP] the state of the PHP community

2010-07-29 Thread Robert Cummings
On 10-07-29 01:36 AM, Nathan Rixham wrote: Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or off, or add more of your own - this isn't for anything

Re: [PHP] the state of the PHP community

2010-07-29 Thread David McGlone
On Thu, 2010-07-29 at 22:14 -0400, Robert Cummings wrote: On 10-07-29 01:36 AM, Nathan Rixham wrote: Hi All, I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them,

Re: [PHP] the state of the PHP community

2010-07-29 Thread Robert Cummings
On 10-07-29 03:35 PM, Rasmus Lerdorf wrote: On 7/28/10 11:26 PM, Larry Garfield wrote: - Those driving PHP development itself (vis, writing the engine) don't seem to comprehend the idea of someone running a web site who isn't also a C developer, sysadmin, and performance specialist. If you

Re: [PHP] the state of the PHP community

2010-07-29 Thread Robert Cummings
On 10-07-29 10:18 PM, David McGlone wrote: On Thu, 2010-07-29 at 22:14 -0400, Robert Cummings wrote: Early high school I used to program in basic on a TRS-80. Oh how I loved saving my programs to audio cassette. Later in high school I learned pascal and then later qbasic. Later still I studied

Re: [PHP] the state of the PHP community

2010-07-29 Thread Jason Pruim
On Jul 29, 2010, at 1:36 AM, Nathan Rixham wrote: Hi All, Hey Nathan! I find myself wondering about the state of the PHP community (and related community with a PHP focus), so, here's a bunch of questions - feel free to answer none to all of them, on list or off, or add more of your