Re: Re: Uploading into website directory for Php files

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

 




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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux