請教關於XAMPP配置的問題
大家好:
請教大家一個問題,我在linux下配置了xampp伺服器,伺服器運行正常,我在在/opt/lamp/htdocs下分別建了兩個文件
一個是upload.html,一個是upload.php代碼分別是
<html>
<head><title> the first one </title></head>
<body>
<form enctype="multipart/form-data" action="upload.php" method="post">
<input type="hidden" name="max_file_size" value="100000">
<center>the file
<input name="userfile" type="file">
<input type="submit" value="OK">
</center>
</form>
</body>
</html>
<html>
<head>
<title>the process</title>
</head>
<body>
<?php
echo $userfile."<br>";
if(!copy($userfile,"/tmp/".$userfile_name))
{
print("copy failed<br>\n");
}
echo $userfile_name."<br>";
echo $userfile_size."the mount<br>";
echo $userfile_type;
?>
</body>
</html>
來實現文件傳輸功能,但是我發現只能傳輸小於100k的文件,大一點的文件就傳送不了了,我的php.ini配置:
post_max_size = 10M
upload_max_filesize = 8M
請問xampp默認配置中還有哪些需要改動?多謝了
[火星人
]
請教關於XAMPP配置的問題已經有326次圍觀
http://coctec.com/docs/service/show-post-33506.html