PHP partition failure, depressed AH bitter force is still working overtime commissioning

Source: Internet
Author: User
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

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.