Re: magical file writing truncation
| From: | skate | Date: | Fri, 08 Aug 2003 11:56:07 +0000 |
| Subject: | Re: magical file writing truncation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158808@lists.php.net to get a copy of this message | ||
Let's work backwards then. Instead of
$text = urlencode(stripslashes(nl2br($text)));
try
$text = urlencode(nl2br($text));
echo "$text";
Can you post the first couple of raw lines of text and then the echo'd
output?
--------------
okay, the first few lines of raw text are as follows... it's a chat log
btw...
Session Start (Yahoo! - fatcubanskate:the_lady_in_waiting1982): Thu Jul 10
21:23:42 2003 [21:23] the_lady_in_waiting1982: hey sexy!!! [21:24]
fatcubanskate: hey sugar [21:24] fatcubanskate: how\'s thing? [21:25]
the_lady_in_waiting1982: you know we could do a whole roll playing thing,
that would be a big as turn on [21:25] fatcubanskate: oh really? like... i
pretend to be a pirate? [21:25] fatcubanskate: raaar!!!
and then the first few lines of the echo'd output...
Session+Start+%28Yahoo%21+-+fatcubanskate%3Athe_lady_in_waiting1982%29%3A+Th
u+Jul+10+21%3A23%3A42+2003+%3Cbr+%2F%3E%0D%0A%5B21%3A23%5D+the_lady_in_waiti
ng1982%3A+hey+sexy%21%21%21+%3Cbr+%2F%3E%0D%0A%5B21%3A24%5D+fatcubanskate%3A
+hey+sugar+%3Cbr+%2F%3E%0D%0A%5B21%3A24%5D+fatcubanskate%3A+how%5C%27s+thing
%3F+%3Cbr+%2F%3E%0D%0A%5B21%3A25%5D+the_lady_in_waiting1982%3A+you+know+we+c
ould+do+a+whole+roll+playing+thing%2C+that+would+be+a+big+as+turn+on+%3Cbr+%
2F%3E%0D%0A%5B21%3A25%5D+fatcubanskate%3A+oh+really%3F+like...+i+pretend+to+
be+a+pirate%3F+%3Cbr+%2F%3E%0D%0A%5B21%3A25%5D+fatcubanskate%3A+raaar%21%21%
21
seems about right?