Is there a specific way to refer the include files in custom php pages? (physical path Vs relative path?)
1) JS File reference
Both php and js files are present in .\include\custom_php_files.
It worked only after adding .\include\custom_php_files\xxxxx.js and not just xxxxx.js while refering in php page.
2) PHP File reference which is in other project (proj1).
Added include_path = "c:\........\htdocs\proj1" in php.ini
Folder structure being refered -
c:\........\htdocs\proj1\class
c:\........\htdocs\proj1\fonts
In php page, include("class\class1.php") - Is referring to the page and working fine.
But Func1("fonts\arial.ttf", "6") is not able to fetch the fonts.
1) JS File reference
Both php and js files are present in .\include\custom_php_files.
It worked only after adding .\include\custom_php_files\xxxxx.js and not just xxxxx.js while refering in php page.
2) PHP File reference which is in other project (proj1).
Added include_path = "c:\........\htdocs\proj1" in php.ini
Folder structure being refered -
c:\........\htdocs\proj1\class
c:\........\htdocs\proj1\fonts
In php page, include("class\class1.php") - Is referring to the page and working fine.
But Func1("fonts\arial.ttf", "6") is not able to fetch the fonts.