probleme include

Status
Not open for further replies.

jouve.antoine.9128

New Member
Messages
14
Reaction score
0
Points
0
hello

I have a problem with include

there is no problem with root but when I have include in files it don't walk

for exemple this page
http://streaming.x10.mx/series/dr_house/index.php
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
That page is located on the file system

/home/igor/public_html/series/dr_house/index.php

The first file you are including appears to be at:

/home/igor/public_html/header.php

So, you either have to use full absolute path:

include( "/home/igor/public_html/header.php" );

( replace igor with your cPanel username)

or relative path:

include( "../../header.php" );

You are using:

include('../header.php')

which only goes up one dir.
 
Last edited:
Status
Not open for further replies.
Top