php - File is readable but fails to be included -


i have file include files listed. i'm facing unknown error. there's class file in /class/class.user.php , there's include file in /includes/_inc_include.php

now, when run :-

var_dump(is_readable('../class/class.user.php')); 

it returns true when try include using :-

include '../class/class.user.php'; 

it gives error :- include(../class/class.user.php): failed open stream: no such file or directory

why happening ?

you've mentioned trying include file, error you're getting require

is may have required file 1 of other files including /includes/_inc_include.php ?

the error message got, contain file path , line number of resulting error, should trace error causing require


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -