Hi,
I'm trying to include I file that is in the directory above my script but I'm getting this error:
Warning: main(/junglejar/db.php): failed to open stream: No such file or directory in /home/junglej/public_html/junglejar/admin/index.php on line 2
Warning: main(): Failed opening '/junglejar/db.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/junglej/public_html/junglejar/admin/index.php on line 2
My script:
<?
include ("/junglejar/db.php");
$page_title = "my page"; //Page Title
$page_keywords = "my page"; //Page Keywords
$page_description = "my page"; //Page Keywords
include ("/junglejar/header.php");
?>
The script above is here:
mydomain.com/junglejar/admin/index.php
The files I'm trying to include are:
mydomain.com/junglejar/db.php
mydomain.com/junglejar/header.php
Thanks