Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

Issues with file_get_contents #28

Open
@bet0x

Description

@bet0x

You are using file_get_contents and i don't have such function enable due security reasons. Can this part be implemented with curl?

Maybe with something like:

$ch = curl_init("url");

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Accept: application/json',
    'Auth: code',
));

$data = curl_exec($ch);

curl_close($ch);

print_r($data);

To replace the stream_context_create

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions