-1
I have this example with "file_get_contents"
How it would be done using Curl?
<?php
$url = 'http://www.exemplo.com/exemplo.php';
$dadosSite = file_get_contents($url);
$var1 = explode('Da linha 1 até',$dadosSite);
$var2 = explode("Linha 25",$var1[1]);
print $var2[0];
?>
You’re not picking up a chunk of the url in your code, you’re picking up a chunk of the site’s content using the explode, your question should be: how do I pick up the chunk from a site using Curl, not?
– JassRiver
Yes exactly, I’ll change the title
– Gladiston leal