Skip to content

Instantly share code, notes, and snippets.

@geekdenz
Created September 13, 2021 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geekdenz/63c820a004c59100612c9bd81b7fc73c to your computer and use it in GitHub Desktop.
Save geekdenz/63c820a004c59100612c9bd81b7fc73c to your computer and use it in GitHub Desktop.
<?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