php-general Digest 10 Aug 2012 14:22:36 -0000 Issue 7917

2012-08-10 Thread php-general-digest-help
php-general Digest 10 Aug 2012 14:22:36 - Issue 7917 Topics (messages 318660 through 318666): Re: PHP session variables 318660 by: Jim Lucas Re: XML/PHP web service 318661 by: Carlos Medina Too many open files 318662 by: Al 318663 by: Jim Lucas

Re: [PHP] Too many open files

2012-08-10 Thread Matijn Woudt
On Fri, Aug 10, 2012 at 5:36 AM, Jim Lucas li...@cmsws.com wrote: On 8/9/2012 5:01 PM, Al wrote: Getting Too many open files error when processing an email batch process. I've looked extensively and can't find more than about 100 files that could be open. All my fetching is with

Re: [PHP] Too many open files

2012-08-10 Thread Robert Cummings
On 12-08-09 08:01 PM, Al wrote: Getting Too many open files error when processing an email batch process. The batch size is actually rather small and the email text is small likewise. I've looked extensively and can't find more than about 100 files that could be open. All my fetching is with

Re: [PHP] Too many open files

2012-08-10 Thread Robert Cummings
On 12-08-10 02:49 AM, Matijn Woudt wrote: On Fri, Aug 10, 2012 at 5:36 AM, Jim Lucas li...@cmsws.com wrote: On 8/9/2012 5:01 PM, Al wrote: Getting Too many open files error when processing an email batch process. I've looked extensively and can't find more than about 100 files that could be

Re: [PHP] PHP session variables

2012-08-10 Thread Tedd Sperling
On Aug 9, 2012, at 5:16 PM, Jim Lucas li...@cmsws.com wrote: You are relying on PHP's loose typing. This is a poor check. session_id() returns a string, not boolean. You should do this instead. if ( session_id() === '' ) -- Jim Lucas Thanks Jim -- you're right. What

Re: [PHP] PHP session variables

2012-08-10 Thread Tedd Sperling
On Aug 10, 2012, at 11:45 AM, Tedd Sperling t...@sperling.com wrote: On Aug 9, 2012, at 5:16 PM, Jim Lucas li...@cmsws.com wrote: You are relying on PHP's loose typing. This is a poor check. session_id() returns a string, not boolean. You should do this instead. if ( session_id() ===

Re: [PHP] Too many open files

2012-08-10 Thread Daniel Brown
On Fri, Aug 10, 2012 at 10:22 AM, Robert Cummings rob...@interjinn.com wrote: On 12-08-09 08:01 PM, Al wrote: I can't find a way to see what files could be open or what the limit is. Site is on a shared server, cPanel. ^ THIS is probably your problem. Too many