Php path problems

Source: Internet
Author: User
The php path problem project can be used only in the root directory of the website, but in a file, the path under the level-2 directory is wrong. How can this problem be solved? there are few absolute paths in it/xx


Reply to discussion (solution)

If/xx is available in the root directory of the website
In this case, the second-level directory/xx

Is there a good solution. Should I change it one by one?

If/xx is available in the root directory of the website
In this case, the level-2 directory/level-2 directory/xx does not work. Change to./xx.

Add a directory./in front of the level-2 Directory. Otherwise, a path error occurs.

If the server is controllable, set this file to audit AUL host, and set the root directory to 301 redir.
Be honest if you are not controllable

Nothing can be set during the operation. There is no better way. You can use IDE to search.

O (∩ _ ∩) O thank you. It is not a project I wrote. It cannot be changed using IDE, and some problems may occur elsewhere. You can only change the server. this is the safest option.

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.