php-general Digest 8 Sep 2010 16:08:03 -0000 Issue 6930

2010-09-08 Thread php-general-digest-help
php-general Digest 8 Sep 2010 16:08:03 - Issue 6930 Topics (messages 307882 through 307887): Re: logical AND assignments 307882 by: Paul M Foster Re: PHP list posting confirmation for vicki.stanfield@dfas.mil 307883 by: STANFIELD, VICKI CTR DFAS 307885 by: tedd

[PHP] RE: PHP list posting confirmation for vicki.stanfield....@dfas.mil

2010-09-08 Thread STANFIELD, VICKI CTR DFAS
I am trying to build php-5.3.3 and getting the following error: /users/0/php-5.3.3/TSRM -I/users/cin05038/php-5.3.3/Zend -I/usr/local/include -g -O2 -DZTS -c /users/0/php-5.3.3/ext/standard/filestat.c -o ext/standard/filestat.lo /users/0/php-5.3.3/ext/standard/filestat.c: In

[PHP] Recall: PHP list posting confirmation for vicki.stanfield....@dfas.mil

2010-09-08 Thread STANFIELD, VICKI CTR DFAS
STANFIELD, VICKI CTR DFAS would like to recall the message, PHP list posting confirmation for vicki.stanfield@dfas.mil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: PHP list posting confirmation for vicki.stanfield....@dfas.mil

2010-09-08 Thread tedd
At 9:03 AM -0400 9/8/10, STANFIELD, VICKI CTR DFAS wrote: I am trying to build php-5.3.3 and getting the following error: And what does the Subject line say about your problem? Absolutely nothing! Please understand that these QA's are kept in the archives for others to read, review, and

RE: [PHP] RE: PHP list posting confirmation for vicki.stanfield....@dfas.mil

2010-09-08 Thread STANFIELD, VICKI CTR DFAS
That was a mistake. My apologies. I meant to change the Subject line before hitting send. -Vicki Stanfield, RHCE, CISSP Web Management Group tso-cs-web-t...@dfas.mil Defense Finance and Accounting Service Technical Services Organization - Corporate Services vicki.stanfield@dfas.mil

[PHP] Filestat.c erorrs when building php-5.3.3 on solaris

2010-09-08 Thread STANFIELD, VICKI CTR DFAS
I am trying to build php-5.3.3 and getting the following error: /users/0/php-5.3.3/TSRM -I/users/0/php-5.3.3/Zend -I/usr/local/include -g -O2 -DZTS -c /users/0/php-5.3.3/ext/standard/filestat.c -o ext/standard/filestat.lo /users/0/php-5.3.3/ext/standard/filestat.c: In function

Re: [PHP] logical AND assignments

2010-09-08 Thread David Harkness
The reason for and to have such a low precedence is so you can use it to perform conditional processing. You can probably achieve every effect using , but you'd need more parentheses. More typically you would use or in this fashion: defined('DS') or define('DS', DIRECTORY_SEPARATOR); This

[PHP] Reformat array result.

2010-09-08 Thread Paul Halliday
I have been starting at this problem blankly for a couple hours now. Hopefully someone can help. I have a query that returns an event count grouped by hour: timestamp: Array ( [0] = 2010-09-08 03 [1] = 2010-09-08 04 [2] = 2010-09-08 05 [3] = 2010-09-08 06 [4] = 2010-09-08 07 [5] = 2010-09-08 08

RE: [PHP] Broken pipes, time outs, PHP, and mail

2010-09-08 Thread Bob McConnell
From: Dave M G I have a set of scripts that sends out emails to a list of about 150 people. Sometimes it works fine. Other times, it dies part way through the list, and in my error logs I get this output: fputs() [a href='function.fputs'function.fputs/a]: send of 22 bytes failed with

Re: [PHP] Broken pipes, time outs, PHP, and mail

2010-09-08 Thread a...@ashleysheridan.co.uk
Could it be that there are connection limits on the remote server? Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: Bob McConnell r...@cbord.com Date: Wed, Sep 8, 2010 18:24 Subject: [PHP] Broken pipes, time outs, PHP, and mail To: php-general@lists.php.net From: Dave

Re: [PHP] Broken pipes, time outs, PHP, and mail

2010-09-08 Thread Dave M G
Bob, Thank you for replying. Your code should be able to re-open the connection at this point and resend the message that triggered the error. Then resume working on the rest of your list. Unfortunately, it seems that this is not happening. The loop that sends out individual mail dies, and

Re: [PHP] Broken pipes, time outs, PHP, and mail

2010-09-08 Thread a...@ashleysheridan.co.uk
In order to help we really need to have a look at the code in question. You say the code is derived from another class you downloaded. Are you able to post the important bits of it in an email, or put it all on a pastebin? Thanks, Ash http://www.ashleysheridan.co.uk - Reply message -

Re: [PHP] Reformat array result.

2010-09-08 Thread chris h
Paul, How are you matching the records in the event count array to the ones in the timestamp array? Is it safe to say that: $timestamp[ $i ] corresponds to $eventCount[ $i ]? If so, you could just iterate through the timestamp array; on each iteration create a record in a new array that holds

RE: Re: [PHP] Broken pipes, time outs, PHP, and mail

2010-09-08 Thread Bob McConnell
From: a...@ashleysheridan.co.uk Could it be that there are connection limits on the remote server? Thanks, Ash Only if you are opening a new connection for each message. Any decent SMTP client should be able to send multiple messages over a single connection. You could capture the traffic

Re: [PHP] logical AND assignments

2010-09-08 Thread David Harkness
On Wed, Sep 8, 2010 at 9:55 AM, Peter Lind peter.e.l...@gmail.com wrote: || and would work exactly like 'or' and 'and' in the above. ==, !=, === and !=== have higher precedence than || or Ah, you're correct. The only operators between /|| and and/or and the ternary ?: and assignment

Re: [PHP] Broken pipes, time outs, PHP, and mail

2010-09-08 Thread Dave M G
Ash, Bob, Thank you for replying. There is one other possibility. According to the RFCs, the standard line ending for email is CRLF. Make sure your system is sending both characters after each line. There is a slim chance the server is cutting you off after some number of bytes if you are only

Re: [PHP] Filestat.c erorrs when building php-5.3.3 on solaris

2010-09-08 Thread Tom Rogers
Hi, Thursday, September 9, 2010, 2:07:50 AM, you wrote: SVCD I am trying to build php-5.3.3 and getting the following error: SVCD /users/0/php-5.3.3/TSRM -I/users/0/php-5.3.3/Zend SVCD -I/usr/local/include -g -O2 -DZTS -c SVCD /users/0/php-5.3.3/ext/standard/filestat.c -o SVCD

Re: [PHP] Filestat.c erorrs when building php-5.3.3 on solaris

2010-09-08 Thread Tom Rogers
Hi, Thursday, September 9, 2010, 11:31:06 AM, you wrote: TR Hi, TR Thursday, September 9, 2010, 2:07:50 AM, you wrote: SVCD I am trying to build php-5.3.3 and getting the following error: SVCD /users/0/php-5.3.3/TSRM -I/users/0/php-5.3.3/Zend SVCD -I/usr/local/include -g -O2 -DZTS -c