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
giarkcom
Forum Newbie
Posts: 24 Joined: Thu Nov 09, 2006 8:22 pm
Post
by giarkcom » Mon Mar 05, 2007 5:44 pm
i am using cURL and need some help
how do i get the response from my url to a string?
code
Code: Select all
<?php
$ch = curl_init("no see url for you!");
$data = curl_exec($ch);
curl_close($ch);
?>
please help
-ty, kraig
Last edited by
giarkcom on Tue Mar 06, 2007 8:27 am, edited 1 time in total.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Mon Mar 05, 2007 9:16 pm
Set the proper RETURN option.
giarkcom
Forum Newbie
Posts: 24 Joined: Thu Nov 09, 2006 8:22 pm
Post
by giarkcom » Tue Mar 06, 2007 8:26 am
thank you it works now