PHP split failed, depressed ah, bitter force is still working overtime commissioning
$s = new saestorage ();
$s->write (' weixinfile ', ' test1.txt ', $keyword));
Echo $keyword;
$s = new saestorage ();
$s->write (' weixinfile ', ' test2.txt ', Count ($keywordarry));
echo count ($keywordarry);
Keyword is a string type, the input is "ym03,3,qs16,123456789", but the write Test1.txt is only a 4
But look at the 2 in Test2.txt
Where does this come from, I don't know where the problem is? It's going crazy.
There are people who have not slept no, ask for guidance ah, beg to save Ah!
------Solution--------------------
Echo $keyword;
echo count ($keywordarry);
is the value normal for these two sentences?
If it is correct, it is Saestorage's write problem. The keyword is a problem.
------Solution--------------------
Paste the Write () method, and the content write is truncated.
------Solution--------------------
I don't know what you did with the Write method.
Stick it out and look.
------Solution--------------------
Does saestorage produce entity files?
No, I don't think so.
Otherwise, the SAE would have no need to block out the file manipulation function and construct a saestorage.
See http://apidoc.sinaapp.com/sae/SaeStorage.html for the usage of saestorage