3 # processes cgi request and passes it on to the real script.
5 movie_name="$(echo $QUERY_STRING | sed -e "s/^[^=][^=]*=\(.*\)$/\1/" | sed -e "s/\+/ /g")"
6 vids="$DOCUMENT_ROOT/Info/Quartz/video/video_tapes.csv"
8 randof="$(mktemp "$TMP/zz_randocgi.XXXXXX")"
10 sh movie_seeker.sh "$vids" "$movie_name" &>"$randof"
12 if [ -s "$randof" ]; then
14 echo "Content-type: text/plain"
21 echo "Content-type: text/html"
24 cat /var/www/yeti/pictures/no_matches.html