I think in this particular case you could be just fine using file_get_contents() instead of cURL For html parsing take a look at Simple HTML DOM If you don't want to use any 3-rd party libraries, here is an example using regex: $doc = file_get_contents("someurl.com/"); preg_match_all('/(.*)/isU', $doc, $matches); $co = count($matches1); for($i = 0; $i(.*)/isU', $matches1$i, $matches2); echo("URL: ". $matches210. " Anchor: ".
$matches220. ""); }.
I think in this particular case you could be just fine using file_get_contents() instead of cURL. For html parsing take a look at Simple HTML DOM. If you don't want to use any 3-rd party libraries, here is an example using regex: $doc = file_get_contents("someurl.com/"); preg_match_all('/(.*)/isU', $doc, $matches); $co = count($matches1); for($i = 0; $i(.*)/isU', $matches1$i, $matches2); echo("URL: ".
$matches210. " Anchor: ". $matches220.""); }.
I'm not sure I want to install and use an external library for this. – sameold Aug 2 at 9:09 file_get_contents() is not an external library, click the link that the develroot posted. It's a native PHP function.
– Chamilyan Aug 2 at 9:12 I have edited my post and added a example using only php's built-in functions. Check that – develroot Aug 2 at 9:15 also if you want to use CURL, see php. Net/manual/en/ref.curl.
Php .. you can't get better documentation. But you may have to enable, uncomment it in your PHP. Ini file if your not seeing it with phpinfo().
– Chamilyan Aug 2 at 9:16 @develroot, thank you so much man. This is exactly what I needed. – sameold Aug 2 at 9:45.
Of URLs or search engine results. Import the output in any complex database tool as desire. Accesses password-protected sites.
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.