11-30-2003
1,025,
1
Join Date: Jul 2002
Last Activity: 26 May 2006, 8:38 PM EDT
Location: new york
Posts: 1,025
Thanks Given: 0
Thanked 1 Time in 1 Post
you could do it with a SSI, but enabling SSI executables is a bad idea.. you would do it like this:
in the html page to be displayed, you put this in the body:
<!--#exec cmd="/path/to/your/script" -->
the output of your script would be displayed when you view the html page that has the SSI in it. this of course requires that apache is set up correctly to enable SSIs and all that.
you could also run your script maually, or via cron and have it dump its output to an html file which is then viewed by you.