Re: Invoking functions stored in a separate directory?

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

 



Clancy wrote:

> $ok = include (HOST_PATH.'/Halla.php');

Because you are assigning the result of the include to a variable. Try 

include (HOST_PATH.'/Halla.php');

and it will work as you expect. And similarly for 

define ('HOST_PATH','../Engine');


Cheers
-- 
David Robley

Dynamic linking error: Your mistake is now everywhere.
Today is Prickle-Prickle, the 15th day of Bureaucracy in the YOLD 3175. 


-- 
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