I am a complete newbie to php curl. Can anyone tell me where to start? I need to import some information from another web page and store it in my database after some modifications.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Start: http://php.net/manual/en/curl.examples-basic.php
If you need to retrieve the output and manipulate it, just use the
curl_setoptfunction, ascurl_setopt(CURLOPT_RETURNTRANSFER,TRUE);.Example where we retrieve the output from
http://www.google.comand output it on the screen: