SyntaxFix
Write A Post
Hire A Developer
Questions
Try using an absolute path for the filename. And if you are using Windows, use getlasterror() to see the actual error message.