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.