Re: which php file is sending emails?

From: Date: Sat, 15 Jan 2011 18:51:04 +0000
Subject: Re: which php file is sending emails?
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-310787@lists.php.net to get a copy of this message
On 01/15/2011 11:13 PM, Daniel Brown wrote:
On Sat, Jan 15, 2011 at 12:21, Nilesh Govindarajan<nilesh@itech7.com> wrote:
On 01/15/2011 10:22 PM, Jim Lucas wrote:
Um, I use OpenBSD and that command gives me an error or two... $ grep -l mail $(find -name *.php) find: unknown option -- n find: unknown option -- a find: unknown option -- m find: unknown option -- e formmail.php $ grep -l mail $(find ./ -name "*.php") Output a big long list of files...
So the second one is right.
     His point was in the irony --- you sent a rather insulting message
to the OP suggesting he needs to "revise [his] sysadmin skills," whereas your own example was broken. Probably just a typo, but something worth a second thought for next time.
hahaha, that command wasn't broken. It works on Linux. But certain commands have to be changed to work on *BSD. For example, chmod u=rwx,g=rwx,o= directory -R will work on linux, but will not on FreeBSD. It has to be changed to chmod -R u=rwx,g=rwx,o= directory. -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com

« previous php.general (#310787) next »