Quantcast
Channel: Active questions tagged require - Stack Overflow
Viewing all articles
Browse latest Browse all 144

How does this "require" statement with a dynamic filepath work?

$
0
0
require dirname(__FILE__).'/yahooPHP/lib/Yahoo.inc';

This line is in one file in one directory and I am having trouble determining how to reference a file in another directory.

What does this expression mean and does it imply references must only be within the same directory?


Viewing all articles
Browse latest Browse all 144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>