I want PHP read my article text file like this.
sample text file :
OMG! Where is my right hand.
I try to find my right hand but I can't see it.
please tell me how to find it.
Now I have this function code
function getContent($file_path,$path=''){
        $file_path = $file_path;
        if(file_exists('./'.$file_path)){
            $f_read = fopen($path.$file_path,'r');
            $rs = "";
            while (!feof($f_read)) {
                $rs .= fread($f_read, 8192);
            }
            fclose($f_read);
        }
        else{
            echo $rs = "Not Connect File !";
        }
        return($rs);
    }
after use that code :
OMG! Where is my right hand. I try to find my right hand but I can't see it. please tell me how to find it.
I want to use PHP function read first line to string1 and after first line is string2 like this
$string1 = "OMG! Where is my right hand."
$string2 = "I try to find my right hand but I can't see it.
    please tell me how to find it."
Help me please :)