[solved]cURL help

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
giarkcom
Forum Newbie
Posts: 24
Joined: Thu Nov 09, 2006 8:22 pm

[solved]cURL help

Post by giarkcom »

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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Set the proper RETURN option.
giarkcom
Forum Newbie
Posts: 24
Joined: Thu Nov 09, 2006 8:22 pm

Post by giarkcom »

thank you it works now
Post Reply