iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > PHP

Reply
 
LinkBack Thread Tools
Old April 25th, 2008, 01:57 PM   #1
Reputable Member
SuperMember
 
bonnit's Avatar
 

Join Date: Apr 2008
Location: uk
Age: 24
Posts: 188
Blog Entries: 1
Thanks: 7
Thanked 19 Times in 19 Posts
Rep Altering Power: 0 bonnit is on a distinguished road
php login page was working but is not anymore?

im using a script from zubrag.com called page password protect 2.13, ive only modified the parts relevant to what i need such as the password itself etc as im not too literate in php.

the code was working and was also set to save a cookie on the users computer to allow movement throughout the members section of the site, this was also working for a short while but then for some reason the code is no longer working properly. it allows login but for every page which requires a password it either does not recognise the cookie saved or isnt saving one because it requests a password everytime. once the password has been entered it allows access to the page so the password script itself seems to be working. i havent made any changes to the page at all???

there is a pretty sizeable code for the navigation menu which is due to be replaced so please ignore that.

as i said im not too literate at these things so i will post the code with the alterations, any suggestions will be much appreciated. ive taken out the password and replaced it with stars.

thankyou.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<?php
###############################################################
# Page Password Protect 2.13
###############################################################
# Visit http://www.zubrag.com/scripts/ for updates
############################################################### 
#
# Usage:
# Set usernames / passwords below between SETTINGS START and SETTINGS END.
# Open it in browser with "help" parameter to get the code
# to add to all files being protected. 
# Example: password_protect.php?help
# Include protection string which it gave you into every file that needs to be protected
#
# Add following HTML code to your page where you want to have logout link
# <a href="http://www.example.com/path/to/protected/page.php?logout=1">Logout</a>
#
###############################################################
/*
-------------------------------------------------------------------
SAMPLE if you only want to request login and password on login form.
Each row represents different user.
$LOGIN_INFORMATION = array(
'zubrag' => 'root',
'test' => 'testpass',
'admin' => 'passwd'
);
--------------------------------------------------------------------
SAMPLE if you only want to request only password on login form.
Note: only passwords are listed
$LOGIN_INFORMATION = array(
'root',
'testpass',
'passwd'
);
--------------------------------------------------------------------
*/
##################################################################
# SETTINGS START
##################################################################
// Add login/password pairs below, like described above
// NOTE: all rows except last must have comma "," at the end of line
$LOGIN_INFORMATION = array(
'*********',
);
// request login? true - show login and password boxes, false - password box only
define('USE_USERNAME'false);
// User will be redirected to this page after logout
define('LOGOUT_URL''http://www.lighterdawn.co.uk/');
// time out after NN minutes of inactivity. Set to 0 to not timeout
define('TIMEOUT_MINUTES'0);
// This parameter is only useful when TIMEOUT_MINUTES is not zero
// true - timeout time from last activity, false - timeout time from login
define('TIMEOUT_CHECK_ACTIVITY'true);
##################################################################
# SETTINGS END
##################################################################
 
///////////////////////////////////////////////////////
// do not change code below
///////////////////////////////////////////////////////
// show usage example
if(isset($_GET['help'])) {
die(
'Include following code into every page you would like to protect, at the very beginning (first line):<br>&lt;?php include("' str_replace('\\','\\\\',__FILE__) . '"); ?&gt;');
}
// timeout in seconds
$timeout = (TIMEOUT_MINUTES == time() + TIMEOUT_MINUTES 60);
// logout?
if(isset($_GET['logout'])) {
setcookie("verify"''$timeout'/'); // clear password;
header('Location: ' LOGOUT_URL);
exit();
}
if(!
function_exists('showLoginPasswordProtect')) {
// show login form
function showLoginPasswordProtect($error_msg) {
?>
<html>
<head>
<script language="JavaScript1.2" type="text/javascript" src="/menu/membersmenu/mm_css_menu.js"></script>
<script language="JavaScript1.2" type="text/javascript" src="/menu/mainmenu/mm_css_menu.js"></script>
<link href="/menu/membersmenu/membersmenu.css" rel="stylesheet" type="text/css">
<link href="/menu/mainmenu/mainmenu.css" rel="stylesheet" type="text/css">
<link href="/css/stylesheet.css" rel="stylesheet" type="text/css">
<title>Please enter password to access this page</title>
<META http-equiv="CACHE-CONTROL" content="NO-CACHE">
<META http-equiv="PRAGMA" content="NO-CACHE">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body>
<div id="container">
<div id="header"></div>
 
<div id="FWTableContainer1060149683">
<table border="0" cellpadding="0" cellspacing="0" width="800">
<!-- fwtable fwsrc="mainmenu.png" fwbase="mainmenu.jpg" fwstyle="Dreamweaver" fwdocid = "1060149683" fwnested="0" -->
<tr>
<td><img src="/menu/mainmenu/spacer.gif" width="79" height="1" border="0" alt=""></td>
<td><img src="/menu/mainmenu/spacer.gif" width="94" height="1" border="0" alt=""></td>
<td><img src="/menu/mainmenu/spacer.gif" width="154" height="1" border="0" alt=""></td>
<td><img src="/menu/mainmenu/spacer.gif" width="124" height="1" border="0" alt=""></td>
<td><img src="/menu/mainmenu/spacer.gif" width="136" height="1" border="0" alt=""></td>
<td><img src="/menu/mainmenu/spacer.gif" width="115" height="1" border="0" alt=""></td>
<td><img src="/menu/mainmenu/spacer.gif" width="98" height="1" border="0" alt=""></td>
<td><img src="/menu/mainmenu/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td><a href="http://www.lighterdawn.co.uk/index.html"><img name="mainmenu_r1_c1" src="/menu/mainmenu/mainmenu_r1_c1.jpg" width="79" height="30" border="0" id="mainmenu_r1_c1" alt=""></a></td>
<td><a href="javascript:;" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuShowMenu('MMMenuContainer0306134739_0', 'MMMenu0306134739_0',0,30,'mainmenu_r1_c2');"><img name="mainmenu_r1_c2" src="/menu/mainmenu/mainmenu_r1_c2.jpg" width="94" height="30" border="0" id="mainmenu_r1_c2" alt=""></a></td>
<td><a href="http://www.lighterdawn.co.uk/areas_of_treatment.html"><img name="mainmenu_r1_c3" src="/menu/mainmenu/mainmenu_r1_c3.jpg" width="154" height="30" border="0" id="mainmenu_r1_c3" alt=""></a></td>
<td><a href="http://www.lighterdawn.co.uk/members_home.php"><img name="mainmenu_r1_c4" src="/menu/mainmenu/mainmenu_r1_c4.jpg" width="124" height="30" border="0" id="mainmenu_r1_c4" alt=""></a></td>
<td><a href="http://www.lighterdawn.co.uk/members_home.php"><img name="mainmenu_r1_c5" src="/menu/mainmenu/mainmenu_r1_c5.jpg" width="136" height="30" border="0" id="mainmenu_r1_c5" alt=""></a></td>
<td><a href="http://www.lighterdawn.co.uk/members_testimonials.php"><img name="mainmenu_r1_c6" src="/menu/mainmenu/mainmenu_r1_c6.jpg" width="115" height="30" border="0" id="mainmenu_r1_c6" alt=""></a></td>
<td><a href="javascript:;" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuShowMenu('MMMenuContainer0306142459_1', 'MMMenu0306142459_1',0,30,'mainmenu_r1_c7');"><img name="mainmenu_r1_c7" src="/menu/mainmenu/mainmenu_r1_c7.jpg" width="98" height="30" border="0" id="mainmenu_r1_c7" alt=""></a></td>
<td><img src="/menu/mainmenu/spacer.gif" width="1" height="30" border="0" alt=""></td>
</tr>
</table>
<div id="MMMenuContainer0306134739_0">
<div id="MMMenu0306134739_0" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
<a href="http://www.lighterdawn.co.uk/how_can_hypnotherapy_help_me.html" id="MMMenu0306134739_0_Item_0" class="MMMIFVStyleMMMenu0306134739_0" onMouseOver="MM_menuOverMenuItem('MMMenu0306134739_0');">
How &nbsp;can &nbsp;it &nbsp;help &nbsp;me? </a>
<a href="http://www.lighterdawn.co.uk/history_of_hypnosis.html" id="MMMenu0306134739_0_Item_1" class="MMMIVStyleMMMenu0306134739_0" onMouseOver="MM_menuOverMenuItem('MMMenu0306134739_0');">
The &nbsp;history &nbsp;of &nbsp;hypnosis </a>
<a href="http://www.lighterdawn.co.uk/definition_of_brief_solution_focused_hypnotherapy.html" id="MMMenu0306134739_0_Item_2" class="MMMIVStyleMMMenu0306134739_0" onMouseOver="MM_menuOverMenuItem('MMMenu0306134739_0');">
Definition &nbsp;of &nbsp;hypnosis </a>
<a href="http://www.lighterdawn.co.uk/code_of_ethics.html" id="MMMenu0306134739_0_Item_3" class="MMMIVStyleMMMenu0306134739_0" onMouseOver="MM_menuOverMenuItem('MMMenu0306134739_0');">
Code &nbsp;of &nbsp;ethics </a> </div>
</div>
<div id="MMMenuContainer0306142459_1">
<div id="MMMenu0306142459_1" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
<a href="http://www.lighterdawn.co.uk/contact_us.php" id="MMMenu0306142459_1_Item_0" class="MMMIFVStyleMMMenu0306142459_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306142459_1');">
Online &nbsp;Form </a>
<a href="http://www.lighterdawn.co.uk/register.php" id="MMMenu0306142459_1_Item_1" class="MMMIVStyleMMMenu0306142459_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306142459_1');">
Registration &nbsp;form </a>
<a href="http://www.lighterdawn.co.uk/members_address_details.php" id="MMMenu0306142459_1_Item_2" class="MMMIVStyleMMMenu0306142459_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306142459_1');">
Address &nbsp;Details </a> </div>
</div>
</div>
<span id="workshop"><br><a href="http://www.lighterdawn.co.uk/workshops.php">Read more information and book your place at our latest workshops available now</a></span><br><br>
<div id="content"><div class="memberstext"><div id="FWTableContainer1266815688">
<table border="0" cellpadding="0" cellspacing="0" width="190">
<!-- fwtable fwsrc="membersmenu.png" fwbase="membersmenu.jpg" fwstyle="Dreamweaver" fwdocid = "1266815688" fwnested="0" -->
<tr>
<td><img src="/menu/membersmenu/spacer.gif" width="190" height="1" border="0" alt=""></td>
<td><img src="/menu/membersmenu/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td><img name="membersmenu_r1_c1" src="/menu/membersmenu/membersmenu_r1_c1.jpg" width="190" height="39" border="0" id="membersmenu_r1_c1" alt=""></td>
<td><img src="/menu/membersmenu/spacer.gif" width="1" height="39" border="0" alt=""></td>
</tr>
<tr>
<td><a href="http://www.lighterdawn.co.uk/members_home.php"><img name="membersmenu_r2_c1" src="/menu/membersmenu/membersmenu_r2_c1.jpg" width="190" height="21" border="0" id="membersmenu_r2_c1" alt=""></a></td>
<td><img src="/menu/membersmenu/spacer.gif" width="1" height="21" border="0" alt=""></td>
</tr>
<tr>
<td><a href="http://www.lighterdawn.co.uk/members_shop.html"><img name="membersmenu_r3_c1" src="/menu/membersmenu/membersmenu_r3_c1.jpg" width="190" height="24" border="0" id="membersmenu_r3_c1" alt=""></a></td>
<td><img src="/menu/membersmenu/spacer.gif" width="1" height="24" border="0" alt=""></td>
</tr>
<tr>
<td><a href="javascript:;" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuShowMenu('MMMenuContainer0314135538_0', 'MMMenu0314135538_0',190,0,'membersmenu_r4_c1');"><img name="membersmenu_r4_c1" src="/menu/membersmenu/membersmenu_r4_c1.jpg" width="190" height="26" border="0" id="membersmenu_r4_c1" alt=""></a></td>
<td><img src="/menu/membersmenu/spacer.gif" width="1" height="26" border="0" alt=""></td>
</tr>
<tr>
<td><a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php"><img name="membersmenu_r5_c1" src="/menu/membersmenu/membersmenu_r5_c1.jpg" width="190" height="26" border="0" id="membersmenu_r5_c1" alt=""></a></td>
<td><img src="/menu/membersmenu/spacer.gif" width="1" height="26" border="0" alt=""></td>
</tr>
<tr>
<td><a href="javascript:;" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuShowMenu('MMMenuContainer0306154627_0', 'MMMenu0306154627_0',190,-60,'membersmenu_r6_c1');"><img name="membersmenu_r6_c1" src="/menu/membersmenu/membersmenu_r6_c1.jpg" width="190" height="24" border="0" id="membersmenu_r6_c1" alt=""></a></td>
<td><img src="/menu/membersmenu/spacer.gif" width="1" height="24" border="0" alt=""></td>
</tr>
<tr>
<td><a href="http://www.lighterdawn.co.uk/guestbook/members_comments.php"><img name="membersmenu_r7_c1" src="/menu/membersmenu/membersmenu_r7_c1.jpg" width="190" height="25" border="0" id="membersmenu_r7_c1" alt=""></a></td>
<td><img src="/menu/membersmenu/spacer.gif" width="1" height="25" border="0" alt=""></td>
</tr>
<tr>
<td><a href="http://www.lighterdawn.co.uk/members_library.php"><img name="membersmenu_r8_c1" src="/menu/membersmenu/membersmenu_r8_c1.jpg" width="190" height="26" border="0" id="membersmenu_r8_c1" alt=""></a></td>
<td><img src="/menu/membersmenu/spacer.gif" width="1" height="26" border="0" alt=""></td>
</tr>
<tr>
<td><a href="http://www.lighterdawn.co.uk/members_quizzes_comps.php"><img name="membersmenu_r9_c1" src="/menu/membersmenu/membersmenu_r9_c1.jpg" width="190" height="27" border="0" id="membersmenu_r9_c1" alt=""></a></td>
<td><img src="/menu/membersmenu/spacer.gif" width="1" height="27" border="0" alt=""></td>
</tr>
<tr>
<td><a href="http://www.lighterdawn.co.uk/gallery.php"><img name="membersmenu_r10_c1" src="/menu/membersmenu/membersmenu_r10_c1.jpg" width="190" height="24" border="0" id="membersmenu_r10_c1" alt=""></a></td>
<td><img src="/menu/membersmenu/spacer.gif" width="1" height="24" border="0" alt=""></td>
</tr>
<tr>
<td><a href="http://www.lighterdawn.co.uk/members_testimonials.php"><img name="membersmenu_r11_c1" src="/menu/membersmenu/membersmenu_r11_c1.jpg" width="190" height="25" border="0" id="membersmenu_r11_c1" alt=""></a></td>
<td><img src="/menu/membersmenu/spacer.gif" width="1" height="25" border="0" alt=""></td>
</tr>
<tr>
<td><a href="javascript:;" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuShowMenu('MMMenuContainer0314140646_1', 'MMMenu0314140646_1',190,0,'membersmenu_r12_c1');"><img name="membersmenu_r12_c1" src="/menu/membersmenu/membersmenu_r12_c1.jpg" width="190" height="33" border="0" id="membersmenu_r12_c1" alt=""></a></td>
<td><img src="/menu/membersmenu/spacer.gif" width="1" height="33" border="0" alt=""></td>
</tr>
</table>
<div id="MMMenuContainer0314135538_0">
<div id="MMMenu0314135538_0" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
<a href="http://www.lighterdawn.co.uk/workshops_calendar.php" target="_self" id="MMMenu0314135538_0_Item_0" class="MMMIFVStyleMMMenu0314135538_0" onMouseOver="MM_menuOverMenuItem('MMMenu0314135538_0');">
Calendar
</a>
<a href="http://www.lighterdawn.co.uk/workshops_information.html" target="_self" id="MMMenu0314135538_0_Item_1" class="MMMIVStyleMMMenu0314135538_0" onMouseOver="MM_menuOverMenuItem('MMMenu0314135538_0');">
Information
</a>
<a href="http://www.lighterdawn.co.uk/workshops_notify_a_friend.html" target="_self" id="MMMenu0314135538_0_Item_2" class="MMMIVStyleMMMenu0314135538_0" onMouseOver="MM_menuOverMenuItem('MMMenu0314135538_0');">
Notify &nbsp;a &nbsp;Friend
</a>
<a href="http://www.lighterdawn.co.uk/workshops_reserve.html" target="_self" id="MMMenu0314135538_0_Item_3" class="MMMIVStyleMMMenu0314135538_0" onMouseOver="MM_menuOverMenuItem('MMMenu0314135538_0');">
Reserve &nbsp;your &nbsp;place
</a>
</div>
</div>
<div id="MMMenuContainer0306154627_0">
<div id="MMMenu0306154627_0" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
<a href="javascript:;" id="MMMenu0306154627_0_Item_0" class="MMMIFVStyleMMMenu0306154627_0" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0','1');">
<span class="MMMenuItemSpanMMMenu0306154627_0">Areas &nbsp;A, &nbsp;B, &nbsp;C</span>
<img src="/menu/membersmenu/arrows.gif" alt="" class="MMArrowStyleMMMenu0306154627_0">
</a>
<a href="javascript:;" id="MMMenu0306154627_0_Item_1" class="MMMIVStyleMMMenu0306154627_0" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0','2');">
<span class="MMMenuItemSpanMMMenu0306154627_0">Areas &nbsp;D, &nbsp;E, &nbsp;F</span>
<img src="/menu/membersmenu/arrows.gif" alt="" class="MMArrowStyleMMMenu0306154627_0">
</a>
<a href="javascript:;" id="MMMenu0306154627_0_Item_2" class="MMMIVStyleMMMenu0306154627_0" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0','3');">
<span class="MMMenuItemSpanMMMenu0306154627_0">Areas &nbsp;G, &nbsp;H, &nbsp;I</span>
<img src="/menu/membersmenu/arrows.gif" alt="" class="MMArrowStyleMMMenu0306154627_0">
</a>
<a href="javascript:;" id="MMMenu0306154627_0_Item_3" class="MMMIVStyleMMMenu0306154627_0" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0','4');">
<span class="MMMenuItemSpanMMMenu0306154627_0">Areas &nbsp;J, &nbsp;K, &nbsp;L</span>
<img src="/menu/membersmenu/arrows.gif" alt="" class="MMArrowStyleMMMenu0306154627_0">
</a>
<a href="javascript:;" id="MMMenu0306154627_0_Item_4" class="MMMIVStyleMMMenu0306154627_0" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0','5');">
<span class="MMMenuItemSpanMMMenu0306154627_0">Areas &nbsp;M, &nbsp;N, &nbsp;O</span>
<img src="/menu/membersmenu/arrows.gif" alt="" class="MMArrowStyleMMMenu0306154627_0">
</a>
<a href="javascript:;" id="MMMenu0306154627_0_Item_5" class="MMMIVStyleMMMenu0306154627_0" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0','6');">
<span class="MMMenuItemSpanMMMenu0306154627_0">Areas &nbsp;P, &nbsp;Q, &nbsp;R</span>
<img src="/menu/membersmenu/arrows.gif" alt="" class="MMArrowStyleMMMenu0306154627_0">
</a>
<a href="javascript:;" id="MMMenu0306154627_0_Item_6" class="MMMIVStyleMMMenu0306154627_0" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0','7');">
<span class="MMMenuItemSpanMMMenu0306154627_0">Areas &nbsp;S, &nbsp;T, &nbsp;U, &nbsp;V</span>
<img src="/menu/membersmenu/arrows.gif" alt="" class="MMArrowStyleMMMenu0306154627_0">
</a>
<a href="javascript:;" id="MMMenu0306154627_0_Item_7" class="MMMIVStyleMMMenu0306154627_0" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0','8');">
<span class="MMMenuItemSpanMMMenu0306154627_0">Areas &nbsp;W, &nbsp;X, &nbsp;Y, &nbsp;Z</span>
<img src="/menu/membersmenu/arrows.gif" alt="" class="MMArrowStyleMMMenu0306154627_0">
</a>
</div>
<div id="MMMenu0306154627_0_1" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#academic" target="_self" id="MMMenu0306154627_0_1_Item_0" class="MMMIFVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Academic &nbsp;Problems
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#accept" target="_self" id="MMMenu0306154627_0_1_Item_1" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Accept &nbsp;Yourself
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#achieve" target="_self" id="MMMenu0306154627_0_1_Item_2" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Achieve &nbsp;Your &nbsp;Goals
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#acne" target="_self" id="MMMenu0306154627_0_1_Item_3" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Acne
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#addictions" target="_self" id="MMMenu0306154627_0_1_Item_4" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Addictions
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#adhd" target="_self" id="MMMenu0306154627_0_1_Item_5" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
ADHD
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#agoraphobia" target="_self" id="MMMenu0306154627_0_1_Item_6" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Agoraphobia
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#alcohol" target="_self" id="MMMenu0306154627_0_1_Item_7" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Alcohol &nbsp;Problems
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#allergies" target="_self" id="MMMenu0306154627_0_1_Item_8" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Allergies
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#anger" target="_self" id="MMMenu0306154627_0_1_Item_9" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Anger
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#anxiety" target="_self" id="MMMenu0306154627_0_1_Item_10" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Anxiety
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#arachnophobia" target="_self" id="MMMenu0306154627_0_1_Item_11" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Arachnophobia
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#arthritis" target="_self" id="MMMenu0306154627_0_1_Item_12" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Arthritis
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#assertiveness" target="_self" id="MMMenu0306154627_0_1_Item_13" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Assertiveness
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#asthma" target="_self" id="MMMenu0306154627_0_1_Item_14" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Asthma
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#bedwettinga" target="_self" id="MMMenu0306154627_0_1_Item_15" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Bedwetting &nbsp;- &nbsp;Adults
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#bedwettingc" target="_self" id="MMMenu0306154627_0_1_Item_16" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Bedwetting &nbsp;- &nbsp;Children
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#binge" target="_self" id="MMMenu0306154627_0_1_Item_17" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Binge &nbsp;Drinking
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#blushing" target="_self" id="MMMenu0306154627_0_1_Item_18" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Blushing
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#carsickness" target="_self" id="MMMenu0306154627_0_1_Item_19" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Car &nbsp;Sickness
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#charisma" target="_self" id="MMMenu0306154627_0_1_Item_20" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Charisma
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#childabuse" target="_self" id="MMMenu0306154627_0_1_Item_21" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Child &nbsp;Abuse
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#claustrophobia" target="_self" id="MMMenu0306154627_0_1_Item_22" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Claustrophobia
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#compulsive" target="_self" id="MMMenu0306154627_0_1_Item_23" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Compulsive &nbsp;Behaviour
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#confidence" target="_self" id="MMMenu0306154627_0_1_Item_24" class="MMMIVStyleMMMenu0306154627_0_1" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_1');">
Confidence
</a>
</div>
<div id="MMMenu0306154627_0_2" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#depression" target="_self" id="MMMenu0306154627_0_2_Item_0" class="MMMIFVStyleMMMenu0306154627_0_2" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_2');">
Depression
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#drivingexam" target="_self" id="MMMenu0306154627_0_2_Item_1" class="MMMIVStyleMMMenu0306154627_0_2" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_2');">
Driving &nbsp;Test &nbsp;Exam &nbsp;Nerves
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#eating" target="_self" id="MMMenu0306154627_0_2_Item_2" class="MMMIVStyleMMMenu0306154627_0_2" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_2');">
Eating &nbsp;Disorders
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#eczema" target="_self" id="MMMenu0306154627_0_2_Item_3" class="MMMIVStyleMMMenu0306154627_0_2" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_2');">
Eczema
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#feardentist" target="_self" id="MMMenu0306154627_0_2_Item_4" class="MMMIVStyleMMMenu0306154627_0_2" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_2');">
Fear &nbsp;of &nbsp;Dentists
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#fearflying" target="_self" id="MMMenu0306154627_0_2_Item_5" class="MMMIVStyleMMMenu0306154627_0_2" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_2');">
Fear &nbsp;of &nbsp;Flying
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#frigidity" target="_self" id="MMMenu0306154627_0_2_Item_6" class="MMMIVStyleMMMenu0306154627_0_2" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_2');">
Frigidity
</a>
</div>
<div id="MMMenu0306154627_0_3" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#grief" target="_self" id="MMMenu0306154627_0_3_Item_0" class="MMMIFVStyleMMMenu0306154627_0_3" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_3');">
Grief
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#gambling" target="_self" id="MMMenu0306154627_0_3_Item_1" class="MMMIVStyleMMMenu0306154627_0_3" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_3');">
Gambling
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#habitual" target="_self" id="MMMenu0306154627_0_3_Item_2" class="MMMIVStyleMMMenu0306154627_0_3" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_3');">
Habitual &nbsp;Behaviour
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#hayfever" target="_self" id="MMMenu0306154627_0_3_Item_3" class="MMMIVStyleMMMenu0306154627_0_3" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_3');">
Hay &nbsp;Fever
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#ibs" target="_self" id="MMMenu0306154627_0_3_Item_4" class="MMMIVStyleMMMenu0306154627_0_3" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_3');">
Irritable &nbsp;Bowel &nbsp;Syndrome
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#impatience" target="_self" id="MMMenu0306154627_0_3_Item_5" class="MMMIVStyleMMMenu0306154627_0_3" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_3');">
Impatience
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#impotence" target="_self" id="MMMenu0306154627_0_3_Item_6" class="MMMIVStyleMMMenu0306154627_0_3" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_3');">
Impotence
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#indegestion" target="_self" id="MMMenu0306154627_0_3_Item_7" class="MMMIVStyleMMMenu0306154627_0_3" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_3');">
Indigestion
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#insomnia" target="_self" id="MMMenu0306154627_0_3_Item_8" class="MMMIVStyleMMMenu0306154627_0_3" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_3');">
Insomnia
</a>
</div>
<div id="MMMenu0306154627_0_4" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#learn" target="_self" id="MMMenu0306154627_0_4_Item_0" class="MMMIFVStyleMMMenu0306154627_0_4" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_4');">
Learn &nbsp;Detachment
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#learningdifficulties" target="_self" id="MMMenu0306154627_0_4_Item_1" class="MMMIVStyleMMMenu0306154627_0_4" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_4');">
Learning &nbsp;Difficulties
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#letgo" target="_self" id="MMMenu0306154627_0_4_Item_2" class="MMMIVStyleMMMenu0306154627_0_4" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_4');">
Let &nbsp;Go &nbsp;Of &nbsp;Your &nbsp;Past
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#loveyourself" target="_self" id="MMMenu0306154627_0_4_Item_3" class="MMMIVStyleMMMenu0306154627_0_4" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_4');">
Love &nbsp;Yourself
</a>
</div>
<div id="MMMenu0306154627_0_5" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#menstrual" target="_self" id="MMMenu0306154627_0_5_Item_0" class="MMMIFVStyleMMMenu0306154627_0_5" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_5');">
Menstrual &nbsp;Problems
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#migraines" target="_self" id="MMMenu0306154627_0_5_Item_1" class="MMMIVStyleMMMenu0306154627_0_5" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_5');">
Migraines
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#motivation" target="_self" id="MMMenu0306154627_0_5_Item_2" class="MMMIVStyleMMMenu0306154627_0_5" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_5');">
Motivation
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#nailbiting" target="_self" id="MMMenu0306154627_0_5_Item_3" class="MMMIVStyleMMMenu0306154627_0_5" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_5');">
Nail &nbsp;Biting
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#nervousness" target="_self" id="MMMenu0306154627_0_5_Item_4" class="MMMIVStyleMMMenu0306154627_0_5" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_5');">
Nervousness
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#nightmares" target="_self" id="MMMenu0306154627_0_5_Item_5" class="MMMIVStyleMMMenu0306154627_0_5" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_5');">
Nightmares
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#obsessions" target="_self" id="MMMenu0306154627_0_5_Item_6" class="MMMIVStyleMMMenu0306154627_0_5" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_5');">
Obsessions
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#ocd" target="_self" id="MMMenu0306154627_0_5_Item_7" class="MMMIVStyleMMMenu0306154627_0_5" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_5');">
Obsessive &nbsp;Compulsive &nbsp;Disorder
</a>
</div>
<div id="MMMenu0306154627_0_6" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#painfree" target="_self" id="MMMenu0306154627_0_6_Item_0" class="MMMIFVStyleMMMenu0306154627_0_6" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_6');">
Pain &nbsp;Free &nbsp;Childbirth
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#pain" target="_self" id="MMMenu0306154627_0_6_Item_1" class="MMMIVStyleMMMenu0306154627_0_6" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_6');">
Pain &nbsp;Management
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#panic" target="_self" id="MMMenu0306154627_0_6_Item_2" class="MMMIVStyleMMMenu0306154627_0_6" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_6');">
Panic &nbsp;Attacks
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#pastlife" target="_self" id="MMMenu0306154627_0_6_Item_3" class="MMMIVStyleMMMenu0306154627_0_6" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_6');">
Past &nbsp;Life &nbsp;Regression
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#personal" target="_self" id="MMMenu0306154627_0_6_Item_4" class="MMMIVStyleMMMenu0306154627_0_6" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_6');">
Personal &nbsp;Relationships
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#positive" target="_self" id="MMMenu0306154627_0_6_Item_5" class="MMMIVStyleMMMenu0306154627_0_6" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_6');">
Positive &nbsp;Thinking
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#procrastination" target="_self" id="MMMenu0306154627_0_6_Item_6" class="MMMIVStyleMMMenu0306154627_0_6" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_6');">
Procrastination
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#ptsd" target="_self" id="MMMenu0306154627_0_6_Item_7" class="MMMIVStyleMMMenu0306154627_0_6" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_6');">
Post &nbsp;Traumatic &nbsp;Stress &nbsp;Disorder
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#public" target="_self" id="MMMenu0306154627_0_6_Item_8" class="MMMIVStyleMMMenu0306154627_0_6" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_6');">
Public &nbsp;Speaking
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#reinvent" target="_self" id="MMMenu0306154627_0_6_Item_9" class="MMMIVStyleMMMenu0306154627_0_6" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_6');">
Reinvent &nbsp;Yourself
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#relaxation" target="_self" id="MMMenu0306154627_0_6_Item_10" class="MMMIVStyleMMMenu0306154627_0_6" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_6');">
Relaxation
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#release" target="_self" id="MMMenu0306154627_0_6_Item_11" class="MMMIVStyleMMMenu0306154627_0_6" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_6');">
Release &nbsp;Your &nbsp;Fears
</a>
</div>
<div id="MMMenu0306154627_0_7" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#sales" target="_self" id="MMMenu0306154627_0_7_Item_0" class="MMMIFVStyleMMMenu0306154627_0_7" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_7');">
Sales &nbsp;Success
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#selfdiscipline" target="_self" id="MMMenu0306154627_0_7_Item_1" class="MMMIVStyleMMMenu0306154627_0_7" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_7');">
Self &nbsp;Discipline
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#selfesteem" target="_self" id="MMMenu0306154627_0_7_Item_2" class="MMMIVStyleMMMenu0306154627_0_7" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_7');">
Self &nbsp;Esteem
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#sexual" target="_self" id="MMMenu0306154627_0_7_Item_3" class="MMMIVStyleMMMenu0306154627_0_7" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_7');">
Sexual &nbsp;Problems
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#shyness" target="_self" id="MMMenu0306154627_0_7_Item_4" class="MMMIVStyleMMMenu0306154627_0_7" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_7');">
Shyness
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#smoking" target="_self" id="MMMenu0306154627_0_7_Item_5" class="MMMIVStyleMMMenu0306154627_0_7" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_7');">
Smoking
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#spontaneity" target="_self" id="MMMenu0306154627_0_7_Item_6" class="MMMIVStyleMMMenu0306154627_0_7" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_7');">
Spontaneity
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#sports" target="_self" id="MMMenu0306154627_0_7_Item_7" class="MMMIVStyleMMMenu0306154627_0_7" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_7');">
Sports &nbsp;Performance
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#stage" target="_self" id="MMMenu0306154627_0_7_Item_8" class="MMMIVStyleMMMenu0306154627_0_7" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_7');">
Stage &nbsp;Fright
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#stammering" target="_self" id="MMMenu0306154627_0_7_Item_9" class="MMMIVStyleMMMenu0306154627_0_7" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_7');">
Stammering
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#stress" target="_self" id="MMMenu0306154627_0_7_Item_10" class="MMMIVStyleMMMenu0306154627_0_7" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_7');">
Stress
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#sweating" target="_self" id="MMMenu0306154627_0_7_Item_11" class="MMMIVStyleMMMenu0306154627_0_7" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_7');">
Sweating
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#talking" target="_self" id="MMMenu0306154627_0_7_Item_12" class="MMMIVStyleMMMenu0306154627_0_7" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_7');">
Talking &nbsp;in &nbsp;Public
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#tension" target="_self" id="MMMenu0306154627_0_7_Item_13" class="MMMIVStyleMMMenu0306154627_0_7" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_7');">
Tension
</a>
</div>
<div id="MMMenu0306154627_0_8" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#wedding" target="_self" id="MMMenu0306154627_0_8_Item_0" class="MMMIFVStyleMMMenu0306154627_0_8" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_8');">
Wedding &nbsp;Nerves
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#weight" target="_self" id="MMMenu0306154627_0_8_Item_1" class="MMMIVStyleMMMenu0306154627_0_8" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_8');">
Weight &nbsp;Problems
</a>
<a href="http://www.lighterdawn.co.uk/members_treatment_areas_all.php#worrying" target="_self" id="MMMenu0306154627_0_8_Item_2" class="MMMIVStyleMMMenu0306154627_0_8" onMouseOver="MM_menuOverMenuItem('MMMenu0306154627_0_8');">
Worrying
</a>
</div>
</div>
<div id="MMMenuContainer0314140646_1">
<div id="MMMenu0314140646_1" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
<a href="http://www.lighterdawn.co.uk/contact_us.php" id="MMMenu0314140646_1_Item_0" class="MMMIFVStyleMMMenu0314140646_1" onMouseOver="MM_menuOverMenuItem('MMMenu0314140646_1');">
Online &nbsp;Form
</a>
<a href="http://www.lighterdawn.co.uk/members_address_details.php" id="MMMenu0314140646_1_Item_1" class="MMMIVStyleMMMenu0314140646_1" onMouseOver="MM_menuOverMenuItem('MMMenu0314140646_1');">
Address &nbsp;Details
</a>
</div>
</div>
</div>
</div>
<div class="memberscontentlarge">
 
<div>
<h1>You need to log in to do that...</h1>
<p>In order to access the resources and information available to download and view <a href="http://www.lighterdawn.co.uk/register.php" target="_self">please take a moment to register</a>, you will require a valid email address in order to recieve instructions of how to log in</p>
<p>
If you have already registered for lighter dawn please click on the link below to log in. If you are experiencing troubles logging in please contact us. Cookies must be enable on your browser in order to log in successfully.</p>
<form method="post" action="">
<?php echo $error_msg?><br>
<?php if (USE_USERNAME) echo 'Login:<br /><input type="input" name="access_login" /><br />Password:<br />'?>
<input type="password" name="access_password">
<input type="submit" name="Submit" value="Submit">
</form>
<p><a href="http://www.lighterdawn.co.uk/register.php" target="_self">Register as a new user</a> - If you have forgotten your password simply use the link above to fill out the short registration form and you will see the password on the confirmation page </p></div>
</div>
 
 
</div> 
<div id="footer">
<p><a href="http://www.lighterdawn.co.uk/index.html"> Home</a> | 
<a href="http://www.lighterdawn.co.uk/areas_of_treatment.html">Areas of Treatment</a> | 
<a href="http://www.lighterdawn.co.uk/members_testimonials.php">Client Testimonials</a> | 
<a href="http://www.lighterdawn.co.uk/members_home.php" >Free Resources</a> | 
<a href="http://www.lighterdawn.co.uk/frequently_asked_questions.html" >FAQ's</a> | 
<a href="mailto:enquiries@lighterdawn.co.uk" >Email</a><br>
Copyright &copy; 2008 Lighter Dawn. All Rights Reserved</p>
<p align="left">Jacqueline Bell DHypPsych(UK) GQHP is a registered member of the GHR, and as such is recognised by the General Hypnotherapy Standards Council as a qualified practitioner of Hypnotherapy.</p>
</div>
</div>
</body>
</html>
<?php
// stop at this point
die();
}
}
// user provided password
if (isset($_POST['access_password'])) {
$login = isset($_POST['access_login']) ? $_POST['access_login'] : '';
$pass $_POST['access_password'];
if (!
USE_USERNAME && !in_array($pass$LOGIN_INFORMATION)
|| (
USE_USERNAME && ( !array_key_exists($login$LOGIN_INFORMATION) || $LOGIN_INFORMATION[$login] != $pass ) ) 
) {
showLoginPasswordProtect("Incorrect password.");
}
else {
// set cookie if password was validated
setcookie("verify"md5($login.'%'.$pass), $timeout'/');
 
// Some programs (like Form1 Bilder) check $_POST array to see if parameters passed
// So need to clear password protector variables
unset($_POST['access_login']);
unset(
$_POST['access_password']);
unset(
$_POST['Submit']);
}
}
else {
// check if password cookie is set
if (!isset($_COOKIE['verify'])) {
showLoginPasswordProtect("");
}
// check if cookie is good
$found false;
foreach(
$LOGIN_INFORMATION as $key=>$val) {
$lp = (USE_USERNAME $key '') .'%'.$val;
if (
$_COOKIE['verify'] == md5($lp)) {
$found true;
// prolong timeout
if (TIMEOUT_CHECK_ACTIVITY) {
setcookie("verify"md5($lp), $timeout'/');
}
break;
}
}
if (!
$found) {
showLoginPasswordProtect("");
}
}
?>

Last edited by Aso; April 26th, 2008 at 06:54 AM.. Reason: Use [php] tags
bonnit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old April 25th, 2008, 03:01 PM   #2
Reputable Member
 

Join Date: Jun 2007
Location: uk
Posts: 461
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 dab42pat is on a distinguished road
Re: php login page was working but is not anymore?

I have run this script on my pc and its not generating any errors. All I can suggest is download the script again just incase you have changed it in some way.

Sorry I cant be anymore help

Pat
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old April 25th, 2008, 04:12 PM   #3
Reputable Member
SuperMember
 
bonnit's Avatar
 

Join Date: Apr 2008
Location: uk
Age: 24
Posts: 188
Blog Entries: 1
Thanks: 7
Thanked 19 Times in 19 Posts
Rep Altering Power: 0 bonnit is on a distinguished road
Re: php login page was working but is not anymore?

i didnt think of that ill try it and post back, thanks
bonnit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 21st, 2008, 05:45 PM   #4
Reputable Member
 

Join Date: Oct 2007
Location: Liverpool UK
Age: 30
Posts: 247
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 longstand is on a distinguished road
Re: php login page was working but is not anymore?

Its easyier writing your own login script than simply trying to download ready made scripts... There always buggy & error driven!

Here is all you need to write your own:



Creat some connection variables:

Code:
$host "localhost";
   
$username "jemma jamerson";
   
$password "password";
   
$db_name "users";
   
$tbl_name "data"
Connect to server & select database:

Code:
mysql_connect("$host","$username","$password") OR die ("Could not connect");
   
mysql_select_db("$db_name") OR die ("could not select database" 
Define post variables for user & password:

Code:
$login_name $_POST['Username'];
   
$login_pass $_POST['Password']; 
Protect agianst mysql injection:

Code:
$login_name stripslashes($login_name);
   
$login_pass stripslashes($login_pass);
   
$login_name mysql_real_escape_string($login_name);
   
$login_pass mysql_real_escape_string($login_pass); 
Run query:

Code:
 $sql "SELECT * FROM data WHERE Username = '$login_name' && Password = '$login_pass'";
   
$result mysql_query($sql); 
Use mysqls handle fetch array function to look up rows:

Code:
$row mysql_fetch_array($result);
   
$count mysql_num_rows($result); 
Code:
if ($count==1)
   {
  
       
Header ('Location:' where ever you want to go from here);
   }
   else
   {
       echo 
"Input the right username or password yoo bozzo";
   } 

you can add sessions & all sorts from successfull login!!

Hope this helps....

Cheers
longstand is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 22nd, 2008, 09:27 AM   #5
Most Reputable Member
 

Join Date: Feb 2004
Location: Borneo
Age: 28
Posts: 1,629
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Rep Altering Power: 0 Monie is a jewel in the rough Monie is a jewel in the rough Monie is a jewel in the rough Monie is a jewel in the rough
Re: php login page was working but is not anymore?

I have had this problem before, where the browser does not recognise the cookies!
The problem is from my antivirus (Internet Security+Firewall)
Do you install any internet security antivirus lately? Try play with the setting or try uninstall it and see if that works!

Cheers...
Monie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 24th, 2008, 05:48 PM   #6
Reputable Member
 

Join Date: Oct 2007
Location: Liverpool UK
Age: 30
Posts: 247
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 longstand is on a distinguished road
Re: php login page was working but is not anymore?

Anti Virus is a good point Monie but i would recommend Avast anti-virus due to the problems norton & trend micro cause! Infact i hate norton its reminds me of terminators 'SKYNET' as it trys to take over yer computer..
longstand is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 26th, 2008, 02:16 AM   #7
Most Reputable Member
 

Join Date: Feb 2004
Location: Borneo
Age: 28
Posts: 1,629
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Rep Altering Power: 0 Monie is a jewel in the rough Monie is a jewel in the rough Monie is a jewel in the rough Monie is a jewel in the rough
Re: php login page was working but is not anymore?

Especially when you have an anti-virus with the "Internet Security" title
Monie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a login page (beginner)?? sing2trees Databases 13 October 15th, 2009 05:49 AM
[SOLVED] php Login page dhossai PHP 26 October 17th, 2007 02:53 PM
Login page HELP!!!!! biggy1985 PHP 1 April 25th, 2007 11:38 AM
Returing to original page after login smokeythebear JavaScript 3 December 28th, 2006 07:16 AM
Flash/ASP login (Working FINE except for parse first+last name) mitcho Classic ASP 4 December 21st, 2005 06:18 PM


Search Engine Optimization by vBSEO 3.2.0 RC8