cURL Result Formatting

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
RobbieL
Forum Commoner
Posts: 31
Joined: Fri Mar 23, 2007 5:57 pm

cURL Result Formatting

Post by RobbieL »

Hey guys,

Is there anyway to custom format the result returned from using cURL? For example, if I directed my cURL script to a Google search for "PHP", is it possible for me to grab the result and format/style it in a way to look visually different?

Cheers.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Sure, but cURL wouldn't be involved. You would have to manipulate the results yourself.
RobbieL
Forum Commoner
Posts: 31
Joined: Fri Mar 23, 2007 5:57 pm

Post by RobbieL »

Cool. But I'd still use cURL to grab the results, right?
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

That'd work just fine. What you do with the data after you get it is completely up to you.
Post Reply