Guten Tag, alle
Ich möchte ein Programm schreiben, welches eine Funktion aus einer anderen PHP-Datei aufruft, die aber in base64 kodiert wurde. Ich bekomme immer den Fehler dass die aufgerufene Funktion nicht definiert ist.
Die Base64 kodierte Funktionen habe ich wieder online dekodiert um zu wissen, ob die Funktion exisitiert.
Code-Teil:
func.inc.php
index.php
Hat jemand eine Idee?
Danke
LG, Carvin
Ich möchte ein Programm schreiben, welches eine Funktion aus einer anderen PHP-Datei aufruft, die aber in base64 kodiert wurde. Ich bekomme immer den Fehler dass die aufgerufene Funktion nicht definiert ist.
Die Base64 kodierte Funktionen habe ich wieder online dekodiert um zu wissen, ob die Funktion exisitiert.
Code-Teil:
func.inc.php
PHP:
<?ob_start(); $a='eNrtPVub27axz82vgPltQ8nWbe0kTfYid23L9rb2rrOS3aTeDT9KglbsUqRMUl7bid/O/zgv/Q3nqW/+Y2dmcCFAUpe1123aJl9ii8BgMBgMMBcMkHjo8WjsjULuR7X67t3u3t35dP5FytM0iCMvzfwkg3KW8FeLIOFeHI04c+d+ml6OW0E0agG0W6wexVHER5lRD7/CxZizmttqteFfKG3O/CDkSXsUAjIEE9/UADqcLKJRBiSwd4uJH4ZpmiVBdF7bCn0enXO2z7a/q7Of2dY7HoymPIICd/v2na++/uYP337X8YejMZ+cT4O/XYSzKJ6/StJs8fryzdt3B/fuP+g9fPT48E9/fvL06PjZ9yf9wfMXf/nhx78ClVuyL090hjix1I/e+dPQy3uC6pBHNdU3UhsnrLYVQF0HGgRsj0lC8evWLUGpjby1r4l/Ocu8xI/GtU6j1FuTbdfPdtl7YHG2SKIiGqzRrJr5F9wb+xn3bnvpqxB/1bYy/5y6HwNx/M08jMe85rQc6AlrdhXedA7osknN+X3nq3Hz953b4g+EG7+8fUZ/bYu/Omf1dd1mweyTu2adzg79e1UaznkyA25qMvCXoAN+iOnzEj4P/RGQwwC706QuEGy3QK1VIxBDNZHDWsxtufAnUWV+dc52aW4zE9OOGMadMwMTyIDLqBFCQzvEspMXbJ9pJskm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aJ3Nm62+yuscuxHdBl+f/mKVW5hSOOOSDmToTkCnu0XVqSKiPC6olufNh47xYLdhTwLdKoOAo7ex6qvMh/7ehjgb7wYvME/7sIs08bBo60hb5m/oELp1WGlcRKYP1F0K0KeItq2apQJpao9mns10reZOufYxn8MPh3e4kllWMzsntoxrIgC1cku+QwIrECE4hCfDZyaQsFoV57QqsPE9qXt8hhZJLLm4y+vGXZNVF4e5jkp5M2uLxnJfxYHPKKVBYNk3dsn7dt0nfxhK5eQCV11BVQyRYSVeE1jHzSrlsiP+HBKdl9IQnEoNU4yNYiJP6HBfJ/UpDLiZnIUZAEM+0in99Cg8IMVteqSVE5G2tMczU+4Tmb66ZypKzBjIVSMWwAsFZGJRMAqMiAPOBZwRmAt6S+klESaUnMV/KP2a1yiV7J13/Sk1p3u/8PpOwZKg==';eval(gzuncompress(base64_decode($a)));$v=ob_get_contents();ob_end_clean();
?>
index.php
PHP:
<?php
require_once '../../inc/func.inc.php';
//include "../../inc/func.inc.php";
if(function_exists(cleanuserinput)){
echo "function found <br />";
}else{
echo "No such function...<br />";
}
$user = cleanuserinput($_POST['user']);
$password = cleanuserinput($_POST['password']);
echo "User: $user und PW: $password <br />";
$check = check_login($user,$password);
if($check)
header('Location: ../reservierungen/');
else
header('Location: ../../?fehler=fepabe');
?>
Hat jemand eine Idee?
Danke
LG, Carvin