scripts.
Eg php my-phpfile.php which has <?php include "file.php"; will look for file.php in the same folder.
If you call the same file from another location, eg. php ./path/to/my-phpfile.php, then it will look for file.php in the same location you run the command from, and not ./path/to/file.php
ty dude.
Обсуждают сегодня