kmarkiv
New Member
- Messages
- 27
- Reaction score
- 0
- Points
- 0
i tried using cg-bin to run shell scripts .. they worked fine .but now ..
its causing a problem ..it does not execute
heres my script
#!/bin/bash
# get today's date
OUTPUT="$(date)"
# You must add following two lines before
# outputting data to the web browser from shell
# script
echo "Content-type: text/html"
echo ""
echo "<html><head><title>Demo</title></head><body>"
echo "Today is $OUTPUT <br>"
its causing a problem ..it does not execute
heres my script
#!/bin/bash
# get today's date
OUTPUT="$(date)"
# You must add following two lines before
# outputting data to the web browser from shell
# script
echo "Content-type: text/html"
echo ""
echo "<html><head><title>Demo</title></head><body>"
echo "Today is $OUTPUT <br>"