RE: [PHP] Re: Opening large file problem - fopen

From: Date: Tue, 16 Dec 2003 12:47:51 +0000
Subject: RE: [PHP] Re: Opening large file problem - fopen
Groups: php.general 
Request: Send a blank email to php-general+get-172796@lists.php.net to get a copy of this message
[snip] I found out that what the script accually does is choke on "\n\n", empty lines. I havnt found a way to solve this with the script, What I do now is use TextPad and just replace all occurencies of "\n\n" with "\n-\n" or something and it works all nice. But this is a bad way of doing it, since the script still doesnt accually work... [/snip] Are't those in each line of the file? If so it would choke right away. Is it choking when placing this in the databse? You could handle it in the script prior to the INSERT statement.

« previous php.general (#172796) next »