Results 1 to 3 of 3
  1. #1

    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

  2. #2
    Join Date
    Jan 2005
    Location
    Chicago
    Posts
    226
    If you're getting the HTML fine, the problem is the urls in it for the images is probably wrong. Can you modify the report or put the images in the correct place to be diplayed?
    Ken

    CROWHOST hosting+colocation services | 877-CROWHOST | support at crowhost.com
    Independent remote-hands serving all Chicago data centers

  3. #3
    hmm wierd I think I have it working... not sure what changed

    d

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •