#!/usr/bin/haserl -u -U /var/tmp if [ "$FORM_display_mode" = "binary" ]; then [ -z $FORM_download_name ] && FORM_download_name=rudi_download echo 'Content-Type: application/octet-stream' echo -n "Content-Disposition: attachment; filename=\"$FORM_download_name" if [ "$FORM_tar" = "true" ]; then echo -n '.tar'; fi if [ "$FORM_gz" = "true" ]; then echo -n '.gz'; fi echo -e '"\n' echo "$FORM_script" | sed "s/$(echo -ne '\r')//g" | sh else echo -e 'Content-Type: text/html; charset=ISO-8859-1\n' echo '
' echo -n '' echo "$FORM_script" | sed "s/$(echo -ne '\r')//g" | sh | sed -e 's/&/\&/g ; s/\</g ; s/>/\>/g' | head -c 64000 echo '' echo '' echo '' fi ?>