include-paths

php relative and absolute paths

I have read that when including a php file that using a absolute paths has a faster processing time than relative paths. What would you suggest to use? include("inlcudes/myscript.php"); or include("/home/ftpuser/public_html/includes/myscript.php"); or even set_include_path("/home/ftpuser/public_html/includes"); include("myscript....

require_once file not found in php eclipse project

I have a php script that has the following requirement command: require_once 'HTTP/OAuth.php'; the file HTTP/OAuth.php is in php's include_path that is .:/usr/lib/php. Nevertheless in Eclipse the require_once line is marked with the following warning: Include filename: 'HTTP/OAuth.php' doesn't exist in project: How can I make my proje...