The 'get_file_contents' function will return the HTML of the url given.
The 'get_file_contents' function will return the HTML of the url given. $text = file_get_contents('example.com/'); You can then use regular expressions or other string manipulation tools to find the paragraph you need. Preg_match( '/(.+)/', $text, $matches ); It depends on what content you want to extract from the source.
Nooooooooooooooooooooooooooo............. stackoverflow. Com/questions/1732348/… – Mark May 9 at 4:11 He never said he wanted to parse the HTML page and nor did I suggest that he does... – Kane Wallmann May 9 at 4:25 what about extra spaces or line breaks between p and id? Extra content after "blah"?
No quotes? Single quotes? There's so many cases you didn't cover with that regex.
Even to pull data from a single field, it's usually better to use a tool that can parse HTML and then you can easily query it. – Mark May 9 at 15:58.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.