Read file contents the WP way

Have you had a look at the Filesystem API?.

The method of your choice would probably be get_contents() or get_contents_array()

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)