?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?PHP includes
Author:??(64.90.68.---)
Date:???07-11-03 07:00

I'd like to revise my use of PHP includes...but I've run into a problem. I run a Windows server at home as a test server...and my "live" server is linux...so the paths will be different for each server. Is there anyway to have a text file or something that I can use to tell the absolute path...and then just change the one file once I go "live"?

For instance, on the test server, the path would be:

c:/program files/apache group/apache/htdocs/somefile.htm


and on the live server it would be:

home/username/directory/somefile.htm


Thanks!

?Topics Author? Date
?PHP includes??new
Brian Schultz 07-11-03 07:00?
?Re: PHP includes??new
bastien 07-12-03 11:39?
?Re: PHP includes??new
Brian Schultz 07-14-03 08:30?
?Re: PHP includes??new
bastien 07-14-03 13:21?
?Re: PHP includes??new
Brian 07-14-03 19:43?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
??wrote: > > I'd like to revise my use of PHP includes...but I've run into > a problem. I run a Windows server at home as a test > server...and my "live" server is linux...so the paths will be > different for each server. Is there anyway to have a text > file or something that I can use to tell the absolute > path...and then just change the one file once I go "live"? > > For instance, on the test server, the path would be: > > c:/program files/apache group/apache/htdocs/somefile.htm > > > and on the live server it would be: > > home/username/directory/somefile.htm > > > Thanks! ">??

Provided By
Phorum