[PHP] include

2011-11-19 Thread Tim Streater
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 300kbytes of source code,

Re: [PHP] Impossibility of reading php.ini

2011-11-19 Thread Alain Chautar
Yes I change the right one : /etc/php5/apache2/php.ini .It fit with "Loaded Configuration File" in phpinfo(). This the reason I get confused. Le 19/11/2011 20:26, Matijn Woudt a écrit : On Sat, Nov 19, 2011 at 7:23 PM, Alain Chautar wrote: Hello I am a newbie of this list. So if this topic as

Re: [PHP] Impossibility of reading php.ini

2011-11-19 Thread Matijn Woudt
On Sat, Nov 19, 2011 at 7:23 PM, Alain Chautar wrote: > Hello > I am a newbie of this list. So if this topic as a known answer, I apologize. > > I use a brand new Debian Squeeze with PHP5.3.3-7+Squeeze3 as a web server. > All my web sites are OK. > For my needs I have to change values in the php.i

Re: [PHP] Sniping on the List

2011-11-19 Thread Tedd Sperling
On Nov 19, 2011, at 11:59 AM, Stuart Dallas wrote: > On 19 Nov 2011, at 16:48, Tedd Sperling wrote: >> For example, if you push '-1' though strtotime(-1), you'll get Wednesday >> only one day a week -- whereas 'null' works every time. > Technically I see that as a bug. I believe strtot

Re: [PHP] Sniping on the List

2011-11-19 Thread Stuart Dallas
On 19 Nov 2011, at 16:48, Tedd Sperling wrote: > For example, if you push '-1' though strtotime(-1), you'll get Wednesday > only one day a week -- whereas 'null' works every time. Technically I see that as a bug. I believe strtotime(null) should return null, but due to the way

Re: [PHP] Parsing the From field

2011-11-19 Thread Al
On 11/19/2011 11:29 AM, Alain Williams wrote: On Sat, Nov 19, 2011 at 11:23:59AM -0500, Ron Piggott wrote: I am unsure of how to parse first name, last name and e-mail address from the 'From:' field of an e-mail. What I am struggling with is if the name has more than two words - Such as the

Re: [PHP] Sniping on the List

2011-11-19 Thread Tedd Sperling
On Nov 18, 2011, at 12:40 AM, Robert Cummings wrote: > By you're reasoning since I did not exist before 1974 then time itself could > not possibly have existed before then either since I was not in existence to > perceive it. That's as ludicrous as suggesting time did not exist before the > big

Re: [PHP] Sniping on the List

2011-11-19 Thread Tedd Sperling
On Nov 17, 2011, at 7:59 PM, Stuart Dallas wrote: > On 17 Nov 2011, at 20:17, Tedd Sperling wrote: >> On Nov 17, 2011, at 11:58 AM, Stuart Dallas wrote: >>> "defined as the number of seconds elapsed since midnight Coordinated >>> Universal Time (UTC) of Thursday, January 1, 1970 (Unix times are de

Re: [PHP] Parsing the From field

2011-11-19 Thread Ron Piggott
My web site is used by people from approximately of 90 countries. - I will use just "name" instead of first name / last name. - e-mail address Ron Piggott www.TheVerseOfTheDay.info -Original Message- From: Alain Williams Sent: Saturday, November 19, 2011 11:29 AM To: Ron Piggot

Re: [PHP] Sniping on the List

2011-11-19 Thread Robert Cummings
On 11-11-19 03:14 AM, Lester Caine wrote: Robert Cummings wrote: It's Friday... traditionally content anal-ness has been somewhat disregarded on this day. Need one go through the archives to see if you're being a tad hypocritical? Although it only seems to be this latest thread that seems to h

Re: [PHP] Parsing the From field

2011-11-19 Thread Alain Williams
On Sat, Nov 19, 2011 at 11:23:59AM -0500, Ron Piggott wrote: > > I am unsure of how to parse first name, last name and e-mail address from the > 'From:' field of an e-mail. > > What I am struggling with is if the name has more than two words > - Such as the last name being multiple words > - A

[PHP] Parsing the From field

2011-11-19 Thread Ron Piggott
I am unsure of how to parse first name, last name and e-mail address from the 'From:' field of an e-mail. What I am struggling with is if the name has more than two words - Such as the last name being multiple words - A name a business or department is given instead of a personal name - If the

Re: [PHP] PHP script won't run in the background

2011-11-19 Thread richard gray
Laruence, while that may be a helpful answer to a few people in the know, just replying back with a single line like that isn't really going to help the people who are having this problem. At least explain why you suggested that, or what it does for those on the list that don't know, especial

Re: [PHP] PHP script won't run in the background

2011-11-19 Thread richard gray
On 19/11/2011 16:09, Laruence wrote: $ stty -tostop makes no difference # stty -tostop # php -f test.php >test.log 2>&1 & # jobs # [1]+ Stopped(SIGTTOU)php -f test.php > test.log 2>&1 Any other ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP] PHP script won't run in the background

2011-11-19 Thread Ashley Sheridan
On Sat, 2011-11-19 at 23:09 +0800, Laruence wrote: > $ stty -tostop > > thanks > > On Sat, Nov 19, 2011 at 10:33 PM, richard gray wrote: > > Hi all > > > > Hope someone can help me with a weird issue I have... > > > > I am trying to run a php CLI script in the background and it just won't run >

[PHP] PHP script won't run in the background

2011-11-19 Thread richard gray
Hi all Hope someone can help me with a weird issue I have... I am trying to run a php CLI script in the background and it just won't run - it has a status of Stopped SIGTOU (Trying to write output) - Here are the details OS Mac OS X Lion 10.7.2 PHP PHP 5.3.6 with Suhosin-Patch (cli) (built:

Re: [PHP] PHP script won't run in the background

2011-11-19 Thread Laruence
$ stty -tostop thanks On Sat, Nov 19, 2011 at 10:33 PM, richard gray wrote: > Hi all > > Hope someone can help me with a weird issue I have... > > I am trying to run a php CLI script in the background and it just won't run > - it has a status of Stopped SIGTOU (Trying to write output) - Here are

Re: [PHP] Sniping on the List

2011-11-19 Thread Lester Caine
Robert Cummings wrote: It's Friday... traditionally content anal-ness has been somewhat disregarded on this day. Need one go through the archives to see if you're being a tad hypocritical? Although it only seems to be this latest thread that seems to have got totally OTT even for a Friday. And