Re: Problems with includes

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

 



On Fri, May 16, 2008 at 3:31 PM, Tyson Vanover <tvanover@xxxxxxx> wrote:
> Dan Joseph wrote:
>
>> I'm pretty sure you're gonna need to include the entire path:
>>
>> require( "/srv/www/html/Tools/tool2/tool2.php" );
>>
>> for both of your tools.
>>
>
> So when php runs it's paths are drawn from the OS's structure and not
> apache's?  hun.  thanks!
>

No, RTM.

"Files for including are first looked for in each include_path entry
relative to the current working directory, and then in the directory
of current script."

http://www.php.net/manual/en/function.include.php


Andrew

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