When HTML is called by the Smarty display, it is all chaotic,

Source: Internet
Author: User
When HTML is called by the Smarty display, it is all chaotic,
And HTML is turned on individually,
Admin.php calls HTML. Both are not in the same directory,
When the HTML post is found that its own directory becomes the directory of admin.php, which shows that the file that accepts post does not exist,


Reply to discussion (solution)

Because your admin_login.html is encoded, so there is garbled.

As for the submission, 404 of the action that should be your form is not written to the path.

Because your admin_login.html is GBK code, so there is garbled.

You need to check and modify the action of a form, post your code to see

1, you did not tell what kind of garbled
2, #2 in the URL is obviously more than the first level of admin
3, do not see the smarty requirements of the working directory settings
4. Why is the template file not in the working directory required by Smarty?

  • Related Article

    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.