jignasa
Filed under - Ajax
No Comments so far. Add yours now

If you are having problem in reading .txt file using PHP file function because end of lines is being detected by PHP, set auto_detect_line_endings to on.

ini_set(“auto_detect_line_endings”, true);

You can also set it using php.ini or .htaccess file.

Using php.ini: auto_detect_line_endings = Off
Using .htaccess: php_value auto_detect_line_endings “1″

Leave your comment

You must be logged in to post a comment.

Share IT © 2018. All rights reserved.