Re: Where to put class files?

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

 



John Hughes wrote:
I want to use PHP for command line scripting on Windows. Where would
be the best place to put a class file so that it does not have to be
in the same directory as every file that uses it?

Check your php.ini for its include_path directive. You can create a new directory on the machine and add it to the include_path in php.ini or put your calss files in one of the listed directories.

Cheers,
James


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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux