Hi guys,
ok I have had the same problem,
what you need to do, If i correctly understood,
is go in the /etc/mail/aliases file,
then write there:
you: "| /path/to/your/script.php"
and your script will begin by:
#!/path/to/php/as/a/shell
?
etc.
?
How this works is: send an email to
Joseph,
here it is:
Number of manpages in db:
?php $sql = "SELECT count(*) FROM manpagetool.manpages";
$result= mysql_query($sql);
$number = mysql_fetch_array($result);
echo $number["count(*)"];
?
hope that's
2 matches
Mail list logo