Type: Posts; User: Norm
Thanks for sharing the solution.
I don't know why that code would work differently depending on where it was executed. Is the file in the same folder for both cases?