Skip to content

Instantly share code, notes, and snippets.

<?php
ini_set('default_charset', 'UTF-8');
$debug = 1;
$mode = NULL;
function fetchsite($url = NULL, $matrikel = NULL, $password = NULL) {
global $debug, $mode;
<?php
$debug = 1;
function fetchsite($url = NULL, $matrikel = NULL, $password = NULL) {
global $debug;
if ($debug) {
$matrikel = $_GET['matrikel'];
$password = $_GET['password'];