fgets
(PHP 3, PHP 4 )fgets -- Gets line from file pointer
Description
string fgets ( int fp [, int length])chop
(PHP 3, PHP 4 )chop -- Alias of rtrim()
Description
This function is an alias of rtrim().
rtrim
(PHP 3, PHP 4 )rtrim -- Strip whitespace from the end of a string
Description
string rtrim ( string str [, string charlist])$data应该是一个打开文件的句柄。
就是从中取出长度为15的字符串然后去掉起始的空白字符。
$num++;自增加一。
文件里都是数字?
(PHP 3, PHP 4 )fgets -- Gets line from file pointer
Description
string fgets ( int fp [, int length])chop
(PHP 3, PHP 4 )chop -- Alias of rtrim()
Description
This function is an alias of rtrim().
rtrim
(PHP 3, PHP 4 )rtrim -- Strip whitespace from the end of a string
Description
string rtrim ( string str [, string charlist])$data应该是一个打开文件的句柄。
就是从中取出长度为15的字符串然后去掉起始的空白字符。
$num++;自增加一。
文件里都是数字?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货