lucasmontan Posted December 19, 2008 Share Posted December 19, 2008 Hello, How can I grab just a piece of a page using cURL? I dont know if its possible, but like 'from:' a point 'to:' another point of the page. Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/137704-how-to-grab-a-piece-of-page-using-curl/ Share on other sites More sharing options...
premiso Posted December 19, 2008 Share Posted December 19, 2008 You have to grab the whole page first, than parse it with either preg_match or split to pull out the data you need. Quote Link to comment https://forums.phpfreaks.com/topic/137704-how-to-grab-a-piece-of-page-using-curl/#findComment-719767 Share on other sites More sharing options...
lucasmontan Posted December 19, 2008 Author Share Posted December 19, 2008 hi premiso, thank you! im using split on this. Lucas. http://analisedeletras.com.br Quote Link to comment https://forums.phpfreaks.com/topic/137704-how-to-grab-a-piece-of-page-using-curl/#findComment-719864 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.