Answers for "php curl test"

PHP
1

test curl php

function _isCurl(){
    return function_exists('curl_version');
}
Posted by: Guest on September-06-2021
1

php curl example

function getUrl($url){
    $ch = curl_init($url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
    $response = curl_exec($ch);
    curl_close($ch);
    return $response;
}
Posted by: Guest on June-26-2019

Browse Popular Code Answers by Language