Hi,
I have an "include_once" statement on top of my php file but when I run it I get the error message:
Warning: main(../db_fns.php): failed to open stream: No such file or directory in
/home2/www/domainname/demo/shopping/rules/gen_rules.php on line 2
Warning: main(): Failed opening '../db_fns.php' for inclusion (include_path='.:/usr/local/lib/php') in /home2/www/domainname/demo/shopping/rules/gen_rules.php on line 2
In "gen_rules.php" I have:
<?php
include_once('../db_fns.php');
session_start();
ob_start();
....
?>
The file "db_fns.php" is the "shopping" folder.
TIA