會員 | 【求助】有些CGI可執行,有些卻跑出500? 我自己的網頁.. http://hpo14.myftp.org/cgi-bin/updown_w/updown.cgi 這個可以執行 下面這個卻不能? http://hpo14.myftp.org/cgi-bin/BR/br2_reg.cgi 架站包:AppServ 2.4.0 這是他2.4.0版的內容 語法: AppServ reduce file size from 24MB to 8MB but everything not cut it off. AppServ 2.4.0 Apache 1.3.29 PHP 4.3.6 MySQL 4.0.18 Zend Optimizer 2.5.1 phpMyAdmin 2.5.6 Perl 5.8.0 知道我問題出在哪的人,可以幫個忙嗎? |
回覆 |
會員 | 加入此行 print "Content-type: text/html\n\n"; |
回覆 |
會員 | 可是他的程式碼已經有了ㄝ --------------------- print "HTTP/1.0 200 OK\n" if($no_parse_header == 1); print "Content-type: text/html; charset=shift_jis\n\n"; print "<html><head><title>CGI Error</title></head>\n"; print "<body><h1>CGI Error</h1>\n"; print "<p>This program encountered an internal error.</p>"; print "<p><b>Error:</b> $_[0]</p>\n"; print "</body></html>"; |
回覆 |
|
XML | RSS 2.0 | RSS |
本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。