-   online problem solving
 
Try to find the answer here
 
 
 
 
如我需要使用CGI程式, 我應該注意甚麼地方呢?

閣下可以利用 CGI 程式 替網頁增加互動功能. 假如閣下希望在我們的伺服器上運用 cgi 程式, 請確定以下事項:

1) cgi 程式是放在 "public_html/cgi-bin/" 目錄之內.
2) cgi 程式是以 ASCII mode 上傳.
3) cgi 程式的權限是設定為 mode 755. (為了較佳安全性, 閣下亦可設定為mode 700)
4) 圖像及html 檔案 不是放在目錄 "public_html/cgi-bin/" 之內.

閣下同時需要知道以下資訊:
主目錄的絕對路徑: /home/web/ftp_account_username
perl 的絕對路徑: /usr/bin/perl
sendmail 的絕對路徑: /usr/sbin/sendmail