file_get_contents not working with non english filenames in DRUPAL

Posted by Novarg on Stack Overflow See other posts from Stack Overflow or by Novarg
Published on 2010-05-06T14:57:56Z Indexed on 2010/05/06 15:08 UTC
Read the original article Hit count: 202

Filed under:
|

Hello. I have a problem. file_get_contents and other file functions (like file, fopen, glob etc) not working when i try to get file with non english symbols. I getting error that file not exist. It is going when i using any of that functions from my simple drupal module. But same time when i try to use file_get_contents outside drupal's code (just created separated php file) this function work as it should.

Can you advice something?? What drupal doing so i can't use file functions on file with non english name from my module?

Thanks.

© Stack Overflow or respective owner

Related posts about php

Related posts about drupal