just after i get flippin the l.a.m.p sorted it does this.
why is it that if i include a plain file with plain html that it works fine but if i include the db connection script i have made it dosent want to know.
i get this error, yes. the file is uploaded. is there a place to change were the default like include goes to?
im stumped on this one.
heres the error, yes the file db.php is uploaded to my server...
Warning: Failed opening 'shop/db.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/index2.php on line 1
thanks .
btw the index2.php code
have tried changing the path in the index2.php to "./shop/db.php" and "/shop/db.php" as advised but without any luck.Code:<?php include("shop/db.php"); ?>
Thanks.