Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support
Author Message
MiZ
New Member
New Member



Joined: Sep 10, 2003
Posts: 1

PostPosted: Wed Sep 10, 2003 2:16 am Reply with quote

I don't get any login for the adminpage and it can be reached only by typing /kisgb/admin.php the errorlines that I get is:

Notice: Undefined index: cgi_id in d:\customers\isbiten.se\scripts\kisgb\admin.php on line 12

Notice: Undefined index: cgi_pw in d:\customers\isbiten.se\scripts\kisgb\admin.php on line 13

I can get rid of those lines by using - error_reporting(E_ALL &~ E_NOTICE); ... but everybody can reach the page.

What do i need to do???

Thx in advance and for a great GB Smile

MiZ
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Sep 10, 2003 6:10 am Reply with quote

Is this the nuke version or stand-alone? Generally speaking, these settings should be:

$admin_from_web = true;
$show_admin_menu = true; //This will allow the admin menu link

You should be using E_ALL &~ E_NOTICE in a production site. There is no way to avoid the users reaching the page. Just like in Nuke, you can directly address the page, but it does you no good if you don't know the username and password.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©