Methods for administrator backstage in PHP and calling user foreground code

Source: Internet
Author: User
Add the class capacity in the background of the webmaster, add the Preview function template class can be displayed according to the site foreground template (code and templates are written), the background href how to jump


Reply to discussion (solution)

Are you worried that the data hasn't been generated yet? Can I call the foreground display page by index? You can write a page, call the foreground template, add the content directly to the foreground to get the replacement to the template to show

Background page is localhost/admin/index.php?... admin file under the index file? After the conditional invoke method and the page's
The front page is localhost/model/index.php?... Ditto
In this case, there is no way to directly call the model index file, jump out of the admin file index,


When the page is dynamic, the data should be taken according to the ID value

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