Thanks for the reply. Yeah, I have tried this, but I'm just not sure how dreamhost is set up...when I ftp in to my site, the lowest directory I can access is called "/", in which resides my domain directory (domain.com) and a bunch of other dirs (mail, misc, streaming, etc). What is this main directory called an dhow do i reference it in my pages? My problem is that I can't seem to reference it correctly. I have a hunch that dreamhost is set up differently from most other webhosts, becasue all the advice I have gotten so far seems not to be applicable to my site. Say I put my "db_connect.php" file in a directory ("includes") residing in this "main" directory (one level back from domain.com), and I have index.php in domain.com including the file. What path do I use? I have tried "/includes/db_connect.php", "/home/includes/db_connect.php", "/home/user/includes/db_connect.php" and none seem to work. I get this php error:
Warning: open_basedir restriction in effect. File is in wrong directory in /home/.eggo/dhaworth/danielhaworth.net/music/baddudes/index.phpon line 3
Fatal error: Failed opening required '/home/dhaworth/includes/db_connect.inc' (include_path='.:/usr/local/lib/php') in/home/.eggo/dhaworth/danielhaworth.net/music/baddudes/index.php on line 3.
Any more help would be much appreciated. Thanks!