/usr/bin/calendar in cgi script
Charles Howse
chowse at charter.net
Sat Apr 11 19:02:47 UTC 2009
Hi,
I have a cgi script on my website that runs:
/usr/bin/calendar -f /usr/share/calendar/calendar.history
Now, when I run that script in a terminal, the output is perfectly
formatted, multiple lines (if there are multiple events on this date),
date first, event, year. Just right.
But, when I put that in an "include" statement in a webpage, the
output is a single line, regardless of whether there are multiple
events.
You can see a bad example here:
<http://bubbabbq.homeunix.net/history_cgi.shtml>
How can I make multiple events show on separate lines, like it does in
terminal?
--
Thanks,
Charles
Reasons it's great to be a guy...
You get to think about sex 90% of your waking hours.
More information about the freebsd-questions
mailing list