note 117986 added to features.remote-files

From: Date: Tue, 15 Sep 2015 06:50:04 +0000
Subject: note 117986 added to features.remote-files
Groups: php.notes 
Request: Send a blank email to php-notes+get-203781@lists.php.net to get a copy of this message
public function get_url($request_url) { $curl_handle = curl_init(); curl_setopt($curl_handle, CURLOPT_URL, $request_url); curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 0); curl_setopt($curl_handle, CURLOPT_TIMEOUT, 0); curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($curl_handle, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); curl_setopt($curl_handle, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, TRUE); $JsonResponse = curl_exec($curl_handle); $http_code = curl_getinfo($curl_handle); return($JsonResponse); } get_url("http://www.example.com"); ---- Server IP: 72.52.91.14 Probable Submitter: 182.65.45.180 ---- Manual Page -- http://php.net/manual/en/features.remote-files.php Edit -- https://master.php.net/note/edit/117986 Del: integrated -- https://master.php.net/note/delete/117986/integrated Del: useless -- https://master.php.net/note/delete/117986/useless Del: bad code -- https://master.php.net/note/delete/117986/bad+code Del: spam -- https://master.php.net/note/delete/117986/spam Del: non-english -- https://master.php.net/note/delete/117986/non-english Del: in docs -- https://master.php.net/note/delete/117986/in+docs Del: other reasons-- https://master.php.net/note/delete/117986 Reject -- https://master.php.net/note/reject/117986 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#203781) next »