PHP include: failed to open stream: no such file in "/literally/the/exact/location/of/the/file"? -


so while trying include file in php, using include(/users/leonaves/sites/mysite/admin/inc/pages/dashboard.php) (i'm running locally), php tells me:

failed open stream: no such file or directory in /users/leonaves/sites/mysite/admin/inc/page_request.php on line 86.

i have tried including relative path, absolute path, declaring root in variable etc. etc. have no idea how make file include other. php refuses find @ exact location is. amazing, thank you.

php executes scripts found in directories specified in open_basedir. path not allowed.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -