There is no. php solution in the PHP browser address
Source: Internet
Author: User
Php browser address does not exist. I am a beginner in PHP and want to ask a question. for example, if I want to modify a php website, every page should start. php ends. for example, the browser address of php does not exist. PHP
I am a newbie and want to ask a question. for example, if I want to modify a php website, every page should end with. php, such as www.aaaa.com/man/index.php.
In this way, I can find the man folder from the website's and directory, and then find the index. php page to modify it. but now the address in the address bar is www.aaaa.com/index.php/man/ddd, so there is no final. php. In this case, I cannot find the page to modify. I would like to ask you what is going on. how can I find the page to be modified? thank you.
------ Solution --------------------
This is implemented based on The path_info of the web server.
The usual practice is probably the man-class ddd method, or vice versa.
If you want to modify the program, we recommend that you take a look at how to forward routes first ,,,,
------ Solution --------------------
This is generally a single entry, only through one index. php implements full-site resolution. In fact, this form is more conducive to finding other. php file, you only need to open index. php file to see which others it includes or require. the PHP file also finds all. php file.
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