Jump to content

Curl open url


Danny620

Recommended Posts

if i got you right you can use this

 

$curl = curl_init();

    curl_setopt ($curl, CURLOPT_URL, "$URL");
    $ANSWER=curl_exec ($curl);
    curl_close ($curl);

where $url is the link you want .

please notice the curl is an extension you have to add . It has many available options to use .

Link to comment
https://forums.phpfreaks.com/topic/262245-curl-open-url/#findComment-1343920
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.