0

If I have a function included within a page, and that function is in it's own file, in a different directory (/scripts/thefunction.php) how would I go about writing a file path to another file that is in a different directory.

In a nutshell, a file in /index.php includes a file /scripts/...php and that included calls a file /snip/....php, would I need to write ../ or do I write it as if the include has now become part of the file in which it is included.

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by CFROG
0

I would write it just as if the include has now become part of the file in which it is included because in so many words, it is.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.