Php file call problems

Source: Internet
Author: User
The same class of files are used in different directories for PHP file calling. The idea is to establish a shortcut. there is a link in Linux, which cannot be solved in windows. Anyone with experience told me that I checked it online and there was no progress in this regard. The second approach is to load data through include. I have tried two methods at present. one is to directly load the entire file content, but when calling the class, the message 'Your requested method does not exist' is reported. if you write a class, directly write the include and I php file in it.
The same class of files are used in different directories,
The first idea is to establish a shortcut. there is a link in Linux, which cannot be solved in windows. Anyone with experience told me that I checked it online and there was no progress in this regard.
The second approach is to load data through include. I have tried two methods at present. one is to directly load the entire file content, but when calling the class, the message 'Your requested method does not exist' is reported. if you write a class, directly write include and include in the file to report an error (only written outside the class or in the function). how can this problem be solved?

------ Solution --------------------
It is unreasonable to add your class file to the include Directory of the php System.

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.