![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
相关问题
[php]
<?
define('TXT_FILE','s.txt');
$handle1 = fopen(TXT_FILE, "r");
while (!feof($handle1)) {
$strr = fgets($handle1, 4096);
echo $strr;
}
?>
[/php]
上面是循环出来的字符串。怎样把$strr放到一个字符串里?
不能用file_get_contents函数!
提问者:nany 08-22 08:08
答复

