[PHP] More Error Reporting Problems

2011-12-30 Thread Floyd Resler
I'm still having problems with error reporting and I'm not sure why. This is the section in my php.ini file: error_reporting = E_ALL ~E_DEPRECATED display_errors = On log_errors = On error_log = /var/log/php_errors.log Errors are neither getting displayed nor recorded in my error log. I

RE: Re: [PHP] Question about date calculations

2011-12-30 Thread Eric Lommatsch
Hello Frank,   As far as I know I am not doing anything in terms of trying to write or use my own function.  What I am trying to do is use what PHP provides.    Thank you   Eric H. Lommatsch Programmer Pivotal Data Incorporated  2087 South Grant Street Denver, CO 80210 Tel 303-777-8939

RE: [PHP] Question about date calculations

2011-12-30 Thread Eric Lommatsch
When I try this method:   $interval = $dteStartDate[$intCnt]-diff($dteEndDate[$intCnt]); I get the following error when I run the page: Fatal error : Call to undefined method DateTime::diff() in /var/www/evalHomeLime.php on line 254       Thank you   Eric H. Lommatsch Programmer

[PHP] re: More Error Reporting Problems

2011-12-30 Thread Matt Graham
From: Floyd Resler fres...@adex-intl.com I'm still having problems with error reporting and I'm not sure why. php.ini section: error_reporting = E_ALL ~E_DEPRECATED display_errors = On log_errors = On error_log = /var/log/php_errors.log Errors are neither getting displayed nor recorded

Re: [PHP] re: More Error Reporting Problems

2011-12-30 Thread Floyd Resler
On Dec 30, 2011, at 11:05 AM, Matt Graham wrote: From: Floyd Resler fres...@adex-intl.com I'm still having problems with error reporting and I'm not sure why. php.ini section: error_reporting = E_ALL ~E_DEPRECATED display_errors = On log_errors = On error_log = /var/log/php_errors.log

RE: Re: [PHP] Question about date calculations

2011-12-30 Thread Eric Lommatsch
Actually for what I need this is exactly what i was looking for.  I am converting an asp page that was calculating this difference using VBA functions and I was trying to duplicate things as they were in that page.     Thank you   Eric H. Lommatsch Programmer Pivotal Data Incorporated 

Re: [PHP] Question about date calculations

2011-12-30 Thread Jim Lucas
On 12/29/2011 01:22 PM, Eric Lommatsch wrote: Hello List, I am using PHP version 5.2.6. I am using PHP V5.3.3 In my setup, the following lines give me errors stating that PHP cannot convert the DateTime object to a string. I was able to get around the error by changing your code to the

RE: Re: [PHP] Question about date calculations

2011-12-30 Thread admin
-Original Message- From: Eric Lommatsch [mailto:er...@pivotaldata.com] On Behalf Of Eric Lommatsch Sent: Friday, December 30, 2011 12:31 PM To: Fatih P.; ad...@buskirkgraphics.com Cc: 'Frank Arensmeier'; 'Eric Lommatsch'; php-general@lists.php.net Subject: RE: Re: [PHP] Question

[PHP] Error in portuguese translation of substr_compare

2011-12-30 Thread QI.VOLMAR QI
I was read substr_compare description in portuguese language, an I asked myself to test it, so after several test, I found that its wrong. The text is in Portuguese: Se length é igual ou maior que o comprimento de main_str e length é setado, substr_compare() imprime warning e retorna