| | |
|
|
|
Need Help setting up testing server |
| message from Bill_ on 23 Jul 2004 |
Hi Guys,
Im having a little trouble setting up my testing server.
This is what Ive got;
This is where the files are on my pc
C:\Documents and Settings\Bill\My Documents\HTML\mysite\
This is the root of my local webserver or testing server folder
C:\UniServer3_1\diskw\www\
my URL prefix is
http://localhost/
(which is C:\UniServer3_1\diskw\www\)
This is the structure of my live site
/home2/vader/public_html
Now what happens when I try and use the live data view feature sometimes I get
some problems.
If its just a html or php page on its self it works fine.
The problem is that on my website I have includes such as
/home2/vader/includes/databaselogin.inc
Any include like that gives a failed to open, not found error.
How can I set up my preferences in Dreamweaver so that the directory structure
for the includes will work in the live data view?
|
| Gary White replied to Bill_ on 23 Jul 2004 |
If it's a PHP include, try it like this:
include $_SERVER['DOCUMENT_ROOT']."/includes/databaselogin.inc";
Gary
|
|
Archived message: Need Help setting up testing server (Macromedia Dreamweaver Web Design)