Re: Re: [PHP] include

2011-11-20 Thread Tommy Pham
On Sun, Nov 20, 2011 at 4:44 PM, Tommy Pham wrote: > On Sun, Nov 20, 2011 at 1:34 PM, Tim Streater wrote: >> On 20 Nov 2011 at 10:36, Tommy Pham wrote: >> >> And here's another question. Can a child forked by pcntl_fork() use a socket >> that the parent obtained? Reading the socket stuff in the

Re: Re: [PHP] include

2011-11-20 Thread Tommy Pham
On Sun, Nov 20, 2011 at 1:34 PM, Tim Streater wrote: > On 20 Nov 2011 at 10:36, Tommy Pham wrote: > >> I think you're approaching this the wrong way. >> 1) have a clear understanding of PHP - syntax, capabilities, etc. > > That's what I'm doing - gathering information about bits of PHP that I've

Re: [PHP] include

2011-11-20 Thread Tamara Temple
Tim Streater wrote: > At the moment I'm using an instance of apache to run PHP scripts, as > and when required via AJAX. Having got some understanding of web > sockets, I'm minded to look at having a small server to execute these > functions as required. The scripts, some 50 or so, are only about

Re: Re: [PHP] include

2011-11-20 Thread shiplu
On Mon, Nov 21, 2011 at 3:34 AM, Tim Streater wrote: > On 20 Nov 2011 at 10:36, Tommy Pham wrote: > > > I think you're approaching this the wrong way. > > 1) have a clear understanding of PHP - syntax, capabilities, etc. > > That's what I'm doing - gathering information about bits of PHP that I'

Re: [PHP] Sniping on the List

2011-11-20 Thread Geoff Shang
On Sun, 20 Nov 2011, Tedd Sperling wrote: I appreciate your time and comments. However, you missed the point I was trying to make, which does not have anything to do with timezones. If you copy my code and place it on any server in the world, you'll observe the same results as I did. NO I wo

Re: Re: [PHP] include

2011-11-20 Thread Tim Streater
On 20 Nov 2011 at 10:36, Tommy Pham wrote: > I think you're approaching this the wrong way. > 1) have a clear understanding of PHP - syntax, capabilities, etc. That's what I'm doing - gathering information about bits of PHP that I've not used (or not used very much) before to see how my new se

Re: [PHP] Sniping on the List

2011-11-20 Thread Tedd Sperling
On Nov 20, 2011, at 4:00 PM, Geoff Shang wrote: > On Sat, 19 Nov 2011, Tedd Sperling wrote: > >> Now, where are my observations wrong? The code is shown in the demo. > > To summarise, your observations are wrong because they do not take timezone > into account and do not show the time, only the

Re: [PHP] Parsing the From field

2011-11-20 Thread Geoff Shang
On Sat, 19 Nov 2011, Ron Piggott wrote: Also the formatting of the from field changes in various e-mail programs: From: Ron Piggott From: "Ron Piggott" From: ron.pigg...@actsministries.org From: I've also seen: Piggott, Ron And that's before you get to people who only use their first na

Re: [PHP] Sniping on the List

2011-11-20 Thread Geoff Shang
On Sat, 19 Nov 2011, Tedd Sperling wrote: My observations are demonstrated here: http://www.webbytedd.com//strtotime/index.php this code would IMHO be more useful if it also displayed time, not just date. It's also not clear what timezone you're using, as it's not set as far as I can s

Re: [PHP] include

2011-11-20 Thread Tommy Pham
On Sat, Nov 19, 2011 at 2:16 PM, Tim Streater wrote: > At the moment I'm using an instance of apache to run PHP scripts, as and when > required via AJAX. Having got some understanding of web sockets, I'm minded > to look at having a small server to execute these functions as required. The > scr

Re: [PHP] Impossibility of reading php.ini

2011-11-20 Thread Alain Chautar
A look at the Apache log would have avoid opening this thread. - a syntax error in php.ini : an uncommented comment line !! - an older version of the ZendDebugger Now everything is fine. It's work !! Le 19/11/2011 20:55, Alain Chautar a écrit : Yes I change the right one : /etc/php5/apache2/php.i