php includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm new to php (I've been in the CF world the last few years) and have a
basic question regarding includes:

On my dev box (a fancy term for laptop) I have the following include:

 <?php include ("navTop.php"); ?>

This doesn't work on the client's site. There I have to use:

<?php include ("/home/sites/www.abc.com/web/navTop.php"); ?>

I can't use relative links.

So is there any trick that people have so that I don't have to touch each of
my files before sending them up?

gil

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux