php-general Digest 12 Jun 2010 09:23:52 -0000 Issue 6794

2010-06-12 Thread php-general-digest-help
php-general Digest 12 Jun 2010 09:23:52 - Issue 6794 Topics (messages 306055 through 306071): Re: is ?= good? 306055 by: tedd 306056 by: tedd 306057 by: David Harkness 306058 by: Daevid Vincent 306059 by: Daevid Vincent 306060 by: tedd

php-general Digest 12 Jun 2010 21:31:42 -0000 Issue 6795

2010-06-12 Thread php-general-digest-help
php-general Digest 12 Jun 2010 21:31:42 - Issue 6795 Topics (messages 306072 through 306075): Re: Why is there HTML in the error_log output? Please make it stop. 306072 by: Peter Lind Re: is ?= good? 306073 by: tedd How to change the first line of a text file

Re: [PHP] Why is there HTML in the error_log output? Please make it stop.

2010-06-12 Thread Peter Lind
On 12 June 2010 01:17, Daevid Vincent dae...@daevid.com wrote: I'm trying to clean up some code and have been looking at error_log output and they all look like this: [11-Jun-2010 23:04:54] font color='red'bIn /var/www/my_notifications.php, line 40:  WARNING/b Invalid argument supplied for

Re: [PHP] Why is there HTML in the error_log output? Please make it stop.

2010-06-12 Thread Peter Lind
On 12 June 2010 11:23, Peter Lind peter.e.l...@gmail.com wrote: On 12 June 2010 01:17, Daevid Vincent dae...@daevid.com wrote: I'm trying to clean up some code and have been looking at error_log output and they all look like this: [11-Jun-2010 23:04:54] font color='red'bIn

RE: [PHP] is ?= good?

2010-06-12 Thread tedd
At 5:28 PM -0700 6/11/10, Daevid Vincent wrote: -Original Message- From: Ahmed Mohsen [mailto:mre...@gmail.com] Hey Daevid, does this form ?php echo 'The answer is '.$answer; ? improve anything in processing time or it's just for the sake of readability? Technically it does

[PHP] How to change the first line of a text file

2010-06-12 Thread Richard Kurth
I have around 6000 text files and I need to change the first line on every one of them. The first line is the title of the article and I need it look like this titlethe name of the article/title every file has the first line and the it starts the article on the second line The files are

[PHP] how to run pecl install pam

2010-06-12 Thread fakessh
hi list php hi network php hi all the guru of php how to run pecl pam I own a system centos 5.5 with deposits remi for php what are the specific changes to /etc/pam.d/ and php.ini and can you give me an example that works with all the details -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] How to change the first line of a text file

2010-06-12 Thread Ashley Sheridan
On Sat, 2010-06-12 at 14:10 -0700, Richard Kurth wrote: I have around 6000 text files and I need to change the first line on every one of them. The first line is the title of the article and I need it look like this titlethe name of the article/title every file has the first line and

Re: [PHP] How to change the first line of a text file

2010-06-12 Thread Steve
On 6/12/2010 2:10 PM, Richard Kurth wrote: I have around 6000 text files and I need to change the first line on every one of them. The first line is the title of the article and I need it look like this titlethe name of the article/title every file has the first line and the it starts the

Re: [PHP] How to change the first line of a text file

2010-06-12 Thread mcgiddin
If you're running on a *nix system you may want to look at using find, xargs, and sed. Sorry I can't give you the syntax at the moment but you can google for the three of them and find several good examples. Matt Sent via BlackBerry by ATT -Original Message- From: Steve

Re: [PHP] How to change the first line of a text file

2010-06-12 Thread mcgiddin
The command would be something like this: find /wwwdir -name \*.txt -print | xargs sed -i s/oldtext/newtext/gi Matt Sent via BlackBerry by ATT -Original Message- From: Steve ad...@ultramegatech.com Date: Sat, 12 Jun 2010 15:24:39 To: php-general@lists.php.net Subject: Re: [PHP] How

Re: [PHP] is ?= good?

2010-06-12 Thread Paul M Foster
On Fri, Jun 11, 2010 at 05:29:50PM -0400, tedd wrote: snip As for the Python print problem, I don't do Python -- so, it can win the lottery, or die, I don't care. The issue, as I recall, is that for Python 3, they are changing print (without parentheses) to require parentheses. This change