Re: Using aliases to have an email trigger a php script

From: Date: Wed, 18 Jan 2006 02:02:58 +0000
Subject: Re: Using aliases to have an email trigger a php script
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-228741@lists.php.net to get a copy of this message
Hey Everyone, Thanks for your help. It was the absolute path I needed for the toronto.txt file. Sean
On 1/14/06, Sean Lerner <sean@yip.org> wrote:
Hello, I'd like an email received to toronto@washroomquest.com to trigger a php script. I've configured the following: in /var/www/wq/email_toronto.php #!/usr/bin/php -q <? $var_toronto_file = fopen("toronto.txt", "a"); fwrite($var_toronto_file, "Email Received!\n"); fclose($var_toronto_file); ?>


« previous php.general (#228741) next »