Request-URI Too Large怎么解决
nbsp;HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
414 Request-URI Too Large
Request-URI Too Large
The requested URL's length exceeds the capacity
limit for this server.
request failed: URI too long
Apache/1.3.29 Server at localhost Port 80
在把数据内容上传到mysql里时出现了问题。
$Sql="INSERT INTO ". $tTableName ." set ".
//"tTitle='标题" . date("H:i:s") . "',".
//"tText='内容" . date("H:i:s") . "',".
"tTitle='".$tTitle."'," .
"tText='".$tText."'," .
"tUser='".$_SESSION["ZhangHu"]."'," .
"tBKId='".$BKId."'," .
"tDateTime ='". date("Y-m-d H:i:s") ."'";
mysql_query($Sql);//执行添加操作
在未传值时用代码 alert(tText.length) 知道tText有三万多的长度
因为$tText太大了,
要怎么修改服务器设置才可以存大内容到mysql里呢?
网上说和这个有关
这是在php.ini里的内容
; Valid range 0 - 2147483647. Default = 4096.
;mssql.textlimit = 4096
; Valid range 0 - 2147483647. Default = 4096.
;mssql.textsize = 4096
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn