Thanx its now working but one more problem its not resetting the password where it must send the new generated password to user via email.
this is the error i'm getting.
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for r042394a@cs.uz. ac.zw in C:\project\test \user_auth_fns. php on line 157
Your password could not be mailed to you. Try pressing refresh.Login...
User Profile
Collapse
-
can someone help to upload content into the system
I'm developing an online learning system and I want to be assisted how to edit content into the system. -
I have developed a web forum and I need help
My script is not running, can someone help me.This is the code.
[PHP]<?
//display_tree() Function from output_funs.php
function display_tree($e xpanded, $row = 0, $start = 0)
{
// display the tree view of conversations
global $table_width;
echo "<table width = $table_width>";
// see if we are displaying the whole list or a sublist
if($start>0)... -
My bro help to get out this problem.My system cannot change or reset password.
Here are the codes.
[PHP]<?
require_once("s ystem_fns.php") ;
session_start() ;
do_html_header( "Changing password");
check_valid_use r();
$new_passwd=($H TTP_POST_VARS['new_passwd']);
$new_passwd2=($ HTTP_POST_VARS['new_passwd2']);
if (!filled_out($H TTP_POST_VARS))
{
...Leave a comment:
-
Maybe I did not get your question right but the way I understand this code.
[PHP]
do_html_header( "Logging Out");
[/PHP]
It only outputs the statement Logging Out.I don't think it should have the extensions you are talking about....Leave a comment:
-
I'm using PHP 4.4.4 version.Well I'm going to replace $HTTP_POST_VARS by
$_POST.
Thanks I hope its gonna work....Leave a comment:
-
Here is the html code
[HTML]
<form method='post' action='change_ passwd.php'>
<table bgcolor=''>
<tr>
<td>Username: </td>
<td><input type='text' name='username' size=16 maxlength=16></td></tr>
<tr>
<td>Old Password:</td>
<td><input type='password' name='passwd'
size=16 maxlength=16></td></tr>...Leave a comment:
-
changing password script not running, help me?
I have developed a login system but its failing to allow the user to change password.
Here is my code.
[PHP]
<?
require_once("s ystem_fns.php") ;
session_start() ;
do_html_header( "Changing password");
check_valid_use r();
$new_passwd=($H TTP_POST_VARS['new_passwd']);
$new_passwd2=($ HTTP_POST_VARS['new_passwd2']);
if (!filled_out($H TTP_POST_VARS))
... -
logout script not functioning
I have created a log in system and logging in is functioning but logging out is not working its showing error warnings.
logout.php
[PHP]
<?
//include function files for this application
require_once("s ystem_fns.php") ;
session_start() ;
$old_user = $valid_user; //store to test if *were* logged in
$result_unreg = session_unregis ter("valid_user ");
$result_dest... -
Its true that there is need to check the path but however it seems as if that Windows does not support the dictionary so I'm trying to down it but seems not to be working.I would appreciate if you can help me alternatively to come up with a function that generates a new password....Leave a comment:
-
Its true that I didn't understand your question when I replied but however I have managed to figure out where I was missing it.
My system is now logging in and registering a new user but its failing to reset a forgotten password and changing password.
Thanks!!!...Leave a comment:
-
It was a stupid error I was doing coz I was validating the entered username and password using the wrong table name.
However its not done yet though I can register a new user and log in, I'm now working on resetting a forgotten password as well as changing the password.
Guys you are wonderful I thank you for your support keep it up....Leave a comment:
-
These are values the user inputs when he logs in
[HTML]
<a href='register_ form.php'>Not a member?</a>
<form method='post' action='member. php'>
<table bgcolor=''>
<tr>
<td colspan=2>Membe rs log in here:</td>
<tr>
<td>Username: </td>
<td><input type='text' name='username' ></td></tr>
<tr>
...Leave a comment:
-
i'm confused and don't know what to do, i need your help
i have developed a log in system which is a starting point for my online learning system i'm developing.
i'm failing to log in possibly the system is not able to register a user as a valid user.The system is not reflecting error warnings.
Here is a code section where i'm suspecting a fault.
[PHP]
function login($username , $passwd)
// check username and password with db
// if yes, return true
... -
my script not running and i need help
i have two scripts that are not running to reset a password that has been forgotten and the other to change old password.
here are the scripts.
change_passwd.p hp
[PHP]
session_start() ;
do_html_header( "Changing password");
//check_valid_use r();
$new_passwd=($_ POST['new_passwd']);
$new_passwd2=($ _POST['new_passwd2']);
if (!filled_out($H TTP_POST_VARS))
{... -
my script not running
i have two scripts that are not running to reset a password that has been forgotten and the other to change old password.
here are the scripts.
change_passwd.p hp
<?
require_once("s ystem_fns.php") ;
session_start() ;
do_html_header( "Changing password");
//check_valid_use r();
$new_passwd=($_ POST['new_passwd']);
$new_passwd2=($ _POST['new_passwd2']);... -
i'm confused and don't know what to do
i have developed a log in system which is a starting point for my online learning system i'm developing.
i'm failing to log in possibly the system is not able to register a user as a valid user.The system is not reflecting error warnings.
Here is a code section where i'm suspecting a fault.
function login($username , $passwd)
// check username and password with db
// if yes, return true
//... -
login system not working
i have built a login system but its not allowing users to be logged in i don't know why , it doesn't show any errors and i'm suspecting that its becoz of session_start() which initially had problems and i made some configuratoins. please help to get out of this problem.
i thank you in advance. -
facing difficulty in building a login system
i' trying to build a login system and have the following error, which i'm finding difficult to fix.
Fatal error: session_start() [<a href='function. session-start'>function .session-start</a>]: Failed to initialize storage module: user (path: c:/WINNT/Temp/) in C:\project\test \register_new.p hp on line 6
any help is greatly appreciated.
No activity results to display
Show More
Leave a comment: