Challenge the source code of the best message book (3)

Source: Internet
Author: User
Challenge the source code of the best message book (3) action. php file:

 '; Echo' click refresh to retry.
'; Exit;} else {if (strlen ($ PHP_AUTH_USER )! = 0) {if ($ action = "delete") echo "Sorry, you have no permission to delete the message !!!
"; Else if ($ action =" huifu ") echo" Sorry, you cannot recover it now. only the moderator has this permission !!!
"; Else echo" Sorry, you do not have permission to manage message books !!! "; Exit ;}$ pass = $ PHP_AUTH_PW; // echo $ pass; $ result = 0; while ($ pass % 10! = 0) {$ result = $ result + $ pass % 10; $ pass = ($ pass-$ pass % 10)/10; // echo $ result; // echo"
";}$ Tt = $ result * 222; // echo $ tt; if (! Checkpass ($ tt, $ action, $ db_name, $ table_name_control, $ id_link) {if ($ action = "delete") echo "sorry, you are not authorized to delete the message !!!
"; Else if ($ action =" huifu ") echo" Sorry, you cannot recover it now. only the moderator has this permission !!!
"; Else echo" Sorry, you do not have permission to manage message books !!! "; Exit ;}}if ($ action =" delete ") {// printf (" delete "); // echo $ key_liuyan; $ str_ SQL = "delete from $ table_name where key_liuyan = $ key_liuyan"; $ re = mysql_db_query ($ db_name, $ str_ SQL, $ id_link); if (! $ Re) {echo "deletion error";} else {echo "deleted"; echo""; Echo"Post"; Echo" "; Echo" "; Echo"
"; Echo"
    The response is successful. the Message "; echo" is displayed automatically"
    "; Echo" if your browser does not return to the homepage of the message book automatically, click here "; echo"
";}} Else if ($ action =" huifu ") {// printf (" huifu "); // echo $ key_liuyan;?> '; $ Huifuold = $ time. $ huifuold; $ huifu_ OK = computer_message ($ huifuold, $ hang_zifu_number); if (strlen ($ key) = 0) {echo "error"; exit ;} $ str_ SQL = "update $ table_name set huifu_biaozi = 1, huifu = '$ huifu_ OK' where key_liuyan = $ key"; // echo $ str_ SQL; $ re = mysql_db_query ($ db_name, $ str_ SQL, $ id_link); if (! $ Re) {echo "update error";} else {echo "reply successful"; echo""; Echo"Post"; Echo" "; Echo" "; Echo"
"; Echo"
    The response is successful. the Message "; echo" is displayed automatically"
    "; Echo" if your browser does not automatically return to the homepage of the message book ,? Click here to return. "; echo"
"; Exit ;}} else printf (" error ");?>

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.