[PHP] Re: [SOLVED] Beginner Q How to load externally defined function

2004-01-25 Thread Paul Furman
I recieved this advice off-list: --- You need to include() the file containing the scandir() function. include '/path/to/file'; or if the file is in one of the dirs you've defined above you could use the constant instead. You can also define your include dir in php.ini or if running as

Re: [PHP] Re: [SOLVED] Beginner Q How to load externally defined function

2004-01-25 Thread John W. Holmes
Paul Furman wrote: You can also define your include dir in php.ini or if running as an apache mod in an .htaccess file. I had luck with the include approach: include 'c:/_Paul/web/phplib/utilities/dirfile.php'; echo scandir(); I guess it'd be more wise to put in my php.ini to