hi guys I just could not find the answer on forum. I have a url like this http://www.example.com/deal.php?id=367 and my question is : how can i use curl function to get the html and the id value which is 367
thanks
curl dynamic url
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: curl dynamic url
You need to set the CURLOPT_RETURNTRANSFER option. Read about the return value of curl_exec():
http://us2.php.net/manual/en/function.curl-exec.php
http://us2.php.net/manual/en/function.curl-exec.php
(#10850)