Get support from Xavier Media
It is currently Sun Dec 08, 2013 12:16 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Can't find settings.php?
PostPosted: Mon Sep 07, 2009 3:55 pm 
Offline
Rookie (I'm probably spamming)
Rookie (I'm probably spamming)

Joined: Tue Sep 01, 2009 1:01 pm
Posts: 6
Points: 0
I have place Cookie Password protect in a subdirectory called ac. When I add the following line to the php files I would like to protect I get the following message:

Can't find settings.php!

The line that I am adding in the files is:

<? include("ac/protection.php"); ?>

My web directory the ISP stores my files is webdocs. I have tried various adding webdocs to the include line but then I don't get anything. What am I missing?


Report this post
Top
 Profile Send private message E-mail  
Reply with quote  
 Post subject: Re: Can't find settings.php?
PostPosted: Mon Sep 07, 2009 4:53 pm 
Offline
XavierForum.com Admin
XavierForum.com Admin
Super VIP Member
Super VIP Member
User avatar

Joined: Tue Mar 15, 2005 4:37 pm
Posts: 1082
Location: Sweden
Points: 1500
If you have settings.php in the same directory as protection.php it should be able to find the script. Otherwise try to more settings.php down one level.

/Bylla

_________________
Xavier Media®
Join me at LinkedIn | Get your latest blog post in your signature you too


Report this post
Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Registered users: No registered users


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Portal » Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[
SEO MOD © 2007 StarTrekGuide ]