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 2011-06-

Re: [PHP] Re: Getting File Owner Name

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

[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 author

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 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' That's the CL

Re: [PHP] Uncatchable errors

2011-06-13 Thread David Harkness
On Mon, Jun 13, 2011 at 12:52 PM, Paul M Foster 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 > handled by set_error_

[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 Stuart Dallas
On Mon, Jun 13, 2011 at 8:52 PM, Paul M Foster 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 > handled by set_error_han

[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 t

[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" wrote in message news:693f2104-a45d-403f-9c1d-13ad6e4fc...@adex-intl.com... Is there a way I can get the name of a file's owner. I

[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: http://www.php.net/unsub.p

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 wrote: On Jun 12, 2011, at 4:32 PM, Peter Bowers wrote: On Sun, Jun 12, 2011 at 3:18 PM, Tamara Temple > 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 4:05 AM, Richard Quadling wrote: On 12 June 2011 22:57, Tamara Temple wrote: On Jun 12, 2011, at 4:32 PM, Peter Bowers wrote: On Sun, Jun 12, 2011 at 3:18 PM, Tamara Temple > wrote: function sms($text,$switch=0){ global $MessagesFmt; error_log(date(DATE_RF

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

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