When we are using the include the current file and Including file should have same path? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

When we are using the include the current file and Including file should have same path?

the both the files should be saved in same folder or it an be any where

31st May 2017, 8:55 AM
Champs
1 Answer
+ 3
could be anywhere. just give the relative path (starting from the including script) and make sure that the included file can be accessed by the user (commonly wwwrun or www; it's the user of your server service)
31st May 2017, 9:03 AM
Mario L.
Mario L. - avatar