From: Larry G. <Li...@IS...> - 2003-09-09 11:25:00
|
Thanks Jamie! --Larry > -----Original Message----- > From: Jamie Cameron > You could use code like : > > $out = `/etc/init.d/spamassassin restart 2>&1`; > print "Output from spamassassin was:\n"; > print "<pre>$out</pre>\n"; > > - Jamie > Larry Gilson <Li...@IS...> wrote .. > > Hi Jamie, > > > > Could you point me to code I can use to display the output > > of a command to a web page. What I am looking to do is issue > > a restart of SpamAssassin and would like to display the output. > > > > [dude@host user]# /etc/init.d/spamassassin restart > > Shutting down spamd: [ OK ] > > Starting spamd: [ OK ] |