PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am trying to separate the header from the content in an emlx message. After the header is always a blank line, so I am trying to search for this within the message:
i dont understand if you want to find the empty line or to deal with empty lines...
but if the problem is dealing with empty lines in files... try a good combination with explode(); put every line in diferent arrays using explode("\n",$content); then will be possible and easy to find empty arrays...
ex: array[0] = "string"; array[1] = "";
anyway this examplo help you in both ways... find and deal with empty lines...