【求助】Linux架站,HTML POST傳值卻出現問題 不知道要貼到哪個版,因為Server是用Linux架的,就貼到這吧 我在在網站寫了一個form,需要傳大量的資料到php 範例如下: [url]http://220.132.176.53/test1.htm[/url] 可是傳到 test2.php , content 值列出來卻不正常! 不正常的畫面如下: [url]http://220.132.176.53/result.jpg[/url] [url]http://220.132.176.53/result2.jpg[/url] 附上 php_info.php 給大家參考: [url]http://220.132.176.53/php_info.php[/url] 我的Server是RedHat 9 , httpd-2.0.40-21 , php-4.2.2-17 test2.php: ------------------------------------------------------------- <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=big5"> <title>無標題文件</title> </head> <body> <? echo str_replace(chr(13),'<br>',$content); ?> </body> </html> ------------------------------------------------------------- 另外發現 在Linux Server用Mozilla測出來結果是多一倍'\' 還有另一台Server跑Windows 2000 Professional,Apache,PHP 相同程式碼,測試完全沒問題.'\'也沒有多一倍 Linux Server用Mozilla連到這台也是完全正常 也順便附上 httpd.conf php.ini 可否請版上高手幫忙看看哪裡出了問題? [url]http://220.132.176.53/config.zip[/url] 謝謝大家...... |
php.ini的post_max_size ?? http 2.x 當中有一些設定LimitRequestxxxx 的設定,用來保護apache 的 檢查看看那些數值 試看看 |
所有時間均為 +8。現在的時間是 11:54 AM。 |
XML | RSS 2.0 | RSS |
本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。