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
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
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 by descalzo; 09-06-2011 at 11:14 AM.
Nothing is always absolutely so.