html - PHP include directory error cache -


error on remote server:

"warning: include_once(../_includes/check_login_status.php) [function.include-once]: failed open stream: no such file or directory in /home/content/60/10824160/html/index.php on line 1" 

hey guys, i'm trying these directory errors fixed. basically, moved entire website folder different computer, , php include functions trying find "/home/content/60/10824160/html/index.php" doesn't exist on computer.

my index.php in desktop/www/ , check_login_status in desktop/www/_includes/

i tried using php cache function not understand. need do?

try this

include_once($_server["document_root"]."/_includes/check_login_status.php"); 

also make sure file/directory names correct.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -