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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx> wrote:
Hello,

I'd like an email received to toronto@xxxxxxxxxxxxxxxxx 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);
?>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux