php-general Digest 13 Jun 2011 21:17:57 -0000 Issue 7356

2011-06-13 Thread php-general-digest-help
php-general Digest 13 Jun 2011 21:17:57 - Issue 7356 Topics (messages 313498 through 313506): Re: [pmwiki-users] debugging using error_log stuff 313498 by: Tamara Temple 313499 by: Tamara Temple Getting File Owner Name 313500 by: Floyd Resler 313501 by: Jim

Re: [PHP] Re: [pmwiki-users] debugging using error_log stuff

2011-06-13 Thread Richard Quadling
On 12 June 2011 22:57, Tamara Temple tamouse.li...@gmail.com wrote: On Jun 12, 2011, at 4:32 PM, Peter Bowers wrote: On Sun, Jun 12, 2011 at 3:18 PM, Tamara Temple tamouse.li...@gmail.com wrote: function sms($text,$switch=0){       global $MessagesFmt;       error_log(date(DATE_RFC822).

Re: [PHP] Re: [pmwiki-users] debugging using error_log stuff

2011-06-13 Thread Tamara Temple
On Jun 13, 2011, at 4:05 AM, Richard Quadling wrote: On 12 June 2011 22:57, Tamara Temple tamouse.li...@gmail.com wrote: On Jun 12, 2011, at 4:32 PM, Peter Bowers wrote: On Sun, Jun 12, 2011 at 3:18 PM, Tamara Temple tamouse.li...@gmail.com wrote: function sms($text,$switch=0){

Re: [PHP] Re: [pmwiki-users] debugging using error_log stuff

2011-06-13 Thread Tamara Temple
On Jun 13, 2011, at 11:59 AM, Tamara Temple wrote: On Jun 13, 2011, at 4:05 AM, Richard Quadling wrote: On 12 June 2011 22:57, Tamara Temple tamouse.li...@gmail.com wrote: On Jun 12, 2011, at 4:32 PM, Peter Bowers wrote: On Sun, Jun 12, 2011 at 3:18 PM, Tamara Temple

[PHP] Getting File Owner Name

2011-06-13 Thread Floyd Resler
Is there a way I can get the name of a file's owner. I know I can get the username by doing this: posix_getpwuid(fileowner($filename)); How can I get the actual name of the owner? Thanks! Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Getting File Owner Name

2011-06-13 Thread Jim Giner
fileowner returns the username OF the file's OWNER. Isn't that what you want? You don't think you're going to get their first and last name do you? Floyd Resler fres...@adex-intl.com wrote in message news:693f2104-a45d-403f-9c1d-13ad6e4fc...@adex-intl.com... Is there a way I can get the name

[PHP] Uncatchable errors

2011-06-13 Thread Paul M Foster
There's certain class of errors which happen before any error-handler (set_error_handler) can catch them, like parse errors and such. Is there a way to have these generate the same type of response as the errors handled by set_error_handler()? In my case, the error handler emails me a summary and

Re: [PHP] Uncatchable errors

2011-06-13 Thread Stuart Dallas
On Mon, Jun 13, 2011 at 8:52 PM, Paul M Foster pa...@quillandmouse.comwrote: There's certain class of errors which happen before any error-handler (set_error_handler) can catch them, like parse errors and such. Is there a way to have these generate the same type of response as the errors

[PHP] date.timezone set and still getting strict warnings.

2011-06-13 Thread Tamara Temple
I have date.timezone set, as shown in the phpinfo() output: portfolio:Downloads tamara$ php -r 'phpinfo();' | grep 'timezone' Default timezone = America/Chicago date.timezone = 'America/Chicago' = 'America/Chicago' Yet, when I call a function like strtotime(), i still get the Strict warning

Re: [PHP] Uncatchable errors

2011-06-13 Thread David Harkness
On Mon, Jun 13, 2011 at 12:52 PM, Paul M Foster pa...@quillandmouse.com wrote: There's certain class of errors which happen before any error-handler (set_error_handler) can catch them, like parse errors and such. Is there a way to have these generate the same type of response as the errors

Re: [PHP] date.timezone set and still getting strict warnings.

2011-06-13 Thread Daniel Brown
On Mon, Jun 13, 2011 at 16:25, Tamara Temple tamouse.li...@gmail.com wrote: I have date.timezone set, as shown in the phpinfo() output: portfolio:Downloads tamara$ php -r 'phpinfo();' | grep 'timezone' Default timezone = America/Chicago date.timezone = 'America/Chicago' = 'America/Chicago'

[PHP] Suggestion needed: Internet store script

2011-06-13 Thread Andre Polykanine
Hi everyone, I'm making a website for a small company. The site itself is quite easy to accomplish, but there are two problems: i18n and the store. So I would like to have your suggestions about the store. Here are the requirements: 1. Basic functionality (possibility to purchase without

Re: [PHP] Re: Getting File Owner Name

2011-06-13 Thread Kranthi Krishna
this might be of use http://php.net/posix-getpwnam http://php.net/manual/en/function.posix-getpwnam.php Kranthi. http://goo.gl/e6t3

Re: [PHP] Class not used as an object (Scope Resolution Operator)

2011-06-13 Thread George Langley
Thanks all. Assuming is best then to add the static in this case. But it isn't required if I birthed an object first and referenced the object, correct? Am wanting to add some variables to the class so not calling the same query so many times... Thanks again. George On