Skip to content

Instantly share code, notes, and snippets.

@geekdenz
Created Sep 13, 2021
Embed
What would you like to do?
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://REPLACE_WITHYOUR_DOMAIN.com/config/config.ini.php");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
echo $output;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment