No, it’s more likely to do with the permissions on the text file. Give it 644 permissions. If that fails, give it 664 permissions. If that fails, give it 666 permissions. If even that fails, talk to your host and ask them what permissions it should have to be writable by the webserver process.
Use the smallest permissions number that actually works.
fantastic!
i got to 666 and it worked. I always thought that 755 would be bestest.
thanks for your help, all is working now and the site is much faster now I don’t have to parse a remote file.
Andy