On Feb 26, 2007, at 12:06 PM, Edward Vermillion wrote:


Or you can set a constant to the includes directory:

<?php

define('INCLUDE_DIR', '/files/include');

include INCLUDE_DIR.'foo.php';


Ooopps... should be define('INCLUDE_DIR', '/files/include/');

forgot the last '/'...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to