PHP native deve...LOGIN

PHP native development news station backend login preparation (2)

before There will be a lot of garbled characters, so we must modify the paths of css, js, pictures, etc.!

First create a folder in our root directory, which is our project name "news", and create two more folders in our "news" directory, namely the backend and the frontend (admin , home), the name can be arbitrary, but for the sake of standardization, it is recommended to be admin and home!

1499652292(1).jpg

After we successfully create the folder, import our login.php page in the admin file. When we import the login page and access it, you will find that There will be garbled formatting. Here we need to import the js, css, pictures, etc. in the template into the admin folder!

1735.png

Then in the login.php page, you need to modify all the js, css and other addresses to the correct addresses to display the login page!

1736.png

#After we successfully set the address, we can access the login page and it will be fully opened!

1737.png

#In this way, the preparation work before our login function has been completed. In the next section, we will start to do the login function!

Next Section

<?php echo "登录页面"; ?>
submitReset Code
ChapterCourseware