Hi, I have saved an email as text-file, and want to get header and body out of the file! (header and body are seperated by the first empty line!) so I do: list($header,$body)=split("\n\n",join('',file($FILE)),2);
then I need the body's lines as array: $body=split("\n",$body); but this line gives me a timeout for large files!!! (I also tried $x=split("\n",$body);$body=$x;) But I don't understand why!!! because file($FILE) doesn't return an error, although there are more array-elements created as with the split of $body! any ideas??? thanks -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]