Another question which probably has a straightforward answer, once I know what I'm doing ! - I have written a nice little library of file I/O functions which all work flawlessly, so I thought I'd keep them in a separate file (diskiolib.php) and just use the include() directive to bring them into my scripts. - This does not appear to have the desired effect, as no script with my include("diskiolib.php"); statement in it ever passes parsing, let alone executes ! The library file is in the same directory as all my scripts. - Now, I just KNOW this is going to have an easy answer from the experts, so I am prepared to be humbled. I keep thinking in terms of C's #include, for .h files, and it's hard to find the answer in the manual. - Chris
Should be straight forward, its in the same directory as the calling script? Does it give the usual error message? Usual problem is directories. You could always use the ./ before the file to clarify.
Many thanks, my friend. - I said it would be obvious ! UNIX paths floor me, every time, even after years of messing. - Chris