/home/someuser/public_html/somedir/mailstats.html For mailstats: Hi I'd like the above to be execute..."/>

how to execute shell script and then display resulting webpage from initial webpage?

/usr/sbin/eximstats -html -charts -pattern "Number of Virus killed:" /virus/ /var/log/exim_mainlog >/home/someuser/public_html/somedir/mailstats.html

For mailstats:
Hi I'd like the above to be executed via a webpage and then for the mailstats.html webpage to be shown....

I tried shell_exec in php but it fails if I try to direct output to file and will only display the text version of the report without charts

can this done via cgi or perl webpage?

Regards,
d

 

 

 

 

Top