You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if((!ereg('index.php', $_SERVER['SCRIPT_FILENAME'])) && (!ereg('admin.php', $_SERVER['SCRIPT_FILENAME'])) && (!ereg('install.php', $_SERVER['SCRIPT_FILENAME'])) && (!ereg('login.php', $_SERVER['SCRIPT_FILENAME'])) && (!ereg('update.php', $_SERVER['SCRIPT_FILENAME']))){ //Give out an "access denied" error. echo 'access denied'; //Block all other code. exit();
Hello,
I use this type of function quite often. Since my website provider updated to PHP 7.2 the website doesn't work anymore. The output is "access denied".
Thanks you in advance!
The text was updated successfully, but these errors were encountered:
On Sat, Dec 15, 2018, 5:15 AM Manuel2195 ***@***.*** wrote:
if((!ereg('index.php', $_SERVER['SCRIPT_FILENAME'])) &&
(!ereg('admin.php', $_SERVER['SCRIPT_FILENAME'])) && (!ereg('install.php',
$_SERVER['SCRIPT_FILENAME'])) && (!ereg('login.php',
$_SERVER['SCRIPT_FILENAME'])) && (!ereg('update.php',
$_SERVER['SCRIPT_FILENAME']))){ //Give out an "access denied" error. echo
'access denied'; //Block all other code. exit();
Hello,
I use this type of function quite often. Since my website provider updated
to PHP 7.2 the website doesn't work anymore. The output is "access denied".
Thanks you in advance!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#68>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABfAPhYTLKEDNFZqfSaiQk1EDQ1ATz0hks5u5MvGgaJpZM4ZUq1B>
.
if((!ereg('index.php', $_SERVER['SCRIPT_FILENAME'])) && (!ereg('admin.php', $_SERVER['SCRIPT_FILENAME'])) && (!ereg('install.php', $_SERVER['SCRIPT_FILENAME'])) && (!ereg('login.php', $_SERVER['SCRIPT_FILENAME'])) && (!ereg('update.php', $_SERVER['SCRIPT_FILENAME']))){ //Give out an "access denied" error. echo 'access denied'; //Block all other code. exit();
Hello,
I use this type of function quite often. Since my website provider updated to PHP 7.2 the website doesn't work anymore. The output is "access denied".
Thanks you in advance!
The text was updated successfully, but these errors were encountered: