PHP Classes

Big problem with no solution

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  Big problem with no solution  
Subject:Big problem with no solution
Summary:i have a hole in my script but i can't fix it
Messages:3
Author:Mohammed Cherkaoui
Date:2010-04-02 18:40:01
Update:2010-04-19 09:55:43
 

  1. Big problem with no solution   Reply   Report abuse  
Picture of Mohammed Cherkaoui Mohammed Cherkaoui - 2010-04-02 18:40:01
Hi,

I did a admin cp for a script

but the problem is in global.php:

if(!eregi('login', $_SERVER['PHP_SELF']))
{
// Start Checking
}

in login.php:

require('global.php');



and when i go to

localhost/am4ss/admincp/misc.php/lo ...

and you can controll in every thing in cp without checking

i know the problem but i can't find the solution


Please download the script to understand

am4ss.com/am4ss.zip

(Sorry about the english erors :))

There are 2 replies in this thread, which are not being displayed.
Browsing this forum thread replies is available only to premium subscribers.


Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum.