Re: [PHP] RE: Help with my first recursion menu

2009-11-01 Thread Lex Braun
Hi, On Sat, Oct 31, 2009 at 11:07 AM, MEM wrote: > > > *From:* Lex Braun [mailto:lex.br...@gmail.com] > *Sent:* sábado, 31 de Outubro de 2009 14:05 > *To:* MEM > *Cc:* php-general@lists.php.net > *Subject:* Re: [PHP] RE: Help with my first recursion menu > > > > Hi, > > On Wed, Oct 28, 2009 at 5

[PHP] shell_exec fails to compile java class?

2009-11-01 Thread דניאל דנון
Hello! I need to use shell_exec (or any other similar function) in order to compile a java class-file. I have all the needed components installed on my computer (Windows XP with Java SDK) - I can use "java c:\path" in order to compile using Start->Run. When I try to do the same with shell_ex

Re: [PHP] Classes and Functions

2009-11-01 Thread Larry Garfield
On Sunday 01 November 2009 2:50:55 pm Daniel Kolbo wrote: > Hello, > > Is there a way to see what objects and functions a script > loaded/required/used? > > I could recursively loop through the globals, but if objects were unset, > then i may miss some. > > I could make a 'tracking' object and ever

Re: [PHP] Classes and Functions

2009-11-01 Thread Mathieu Rochette
On Sun, Nov 1, 2009 at 9:50 PM, Daniel Kolbo wrote: > Hello, > > Is there a way to see what objects and functions a script > loaded/required/used? > I don't think it's possible to that in PHP code. > > I could recursively loop through the globals, but if objects were unset, > then i may miss som

[PHP] Classes and Functions

2009-11-01 Thread Daniel Kolbo
Hello, Is there a way to see what objects and functions a script loaded/required/used? I could recursively loop through the globals, but if objects were unset, then i may miss some. I could make a 'tracking' object and every time i load/include a file (which contains a class def or a function de

Re: [PHP] Re: Time zone discrepancy - America/New_York = CDT?

2009-11-01 Thread Mattias Thorslund
The output I get (after adding newlines to the output) is: America/New_York EST EST EST PHP 5.2.10. I suspect this comes from the operating system. Maybe update your tzdata package if you're on a Linux system. Cheers, Mattias Nathan Lebovic wrote: Sorry there was a typo in that output. This

[PHP] Re: Time zone discrepancy - America/New_York = CDT?

2009-11-01 Thread Nathan Lebovic
Sorry there was a typo in that output. This is what I'm getting: date_default_timezone_set("America/New_York"); echo date("e"); //output "America/New_York" echo date("T"); //output "CST" date_default_timezone_set("EST"); echo date("e"); //output "EST" echo date("T"); //output "EST" - Nathan On

[PHP] Time zone discrepancy - America/New_York = CDT?

2009-11-01 Thread Nathan Lebovic
I'm using PHP 5.2.6; I just updated timezones with PECL timezonedb to make sure that wasn't the problem. These are the results that I'm getting, which I cannot figure out: date_default_timezone_set("America/New_York"); echo date("e"); //output "America/New_York" echo date("T"); //output "CST" da