note 90804 added to curl.examples-basic

From: Date: Mon, 11 May 2009 08:17:04 +0000
Subject: note 90804 added to curl.examples-basic
Groups: php.notes 
Request: Send a blank email to php-notes+get-154434@lists.php.net to get a copy of this message
// This is also useful, using cURL to save a webpage to a file $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://magebridge.jira.nl/about-magebridge'); $fp = fopen('data.html', 'w'); // create a new file curl_setopt($ch, CURLOPT_FILE, $fp); // write the content to file curl_exec($ch); curl_close($ch); // close cURL session fclose($fp); // close file ---- Server IP: 208.69.120.35 Probable Submitter: 70.120.174.186 ---- Manual Page -- http://www.php.net/manual/en/curl.examples-basic.php Edit -- https://master.php.net/note/edit/90804 Del: integrated -- https://master.php.net/note/delete/90804/integrated Del: useless -- https://master.php.net/note/delete/90804/useless Del: bad code -- https://master.php.net/note/delete/90804/bad+code Del: spam -- https://master.php.net/note/delete/90804/spam Del: non-english -- https://master.php.net/note/delete/90804/non-english Del: in docs -- https://master.php.net/note/delete/90804/in+docs Del: other reasons-- https://master.php.net/note/delete/90804 Reject -- https://master.php.net/note/reject/90804 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#154434) next »