Em Andamento

Fixing Authentication problem

I have a marketing and lead generation program that I want to start using again. The program was developed about 4 years ago from specs I gave to a programmer who was working for me at the time. I don't know how much of the program is still intact because I am having problems logging into the admin section. I believe the following script is the cause of me not being able to log into my admin area. This code used to work but now it no longer is. I think because this was written several years back it is no incompatible to shared servers on Cpanel. My hosting company support said one possible reason is PHPSUEXEC is running and the code won't work on shared servers running security software PHPSUEXEC. I have a [url removed, login to view] file that I've uploaded as well.

<?php

if (!isset($PHP_AUTH_USER)) {

// If empty, send header causing dialog box to appear

header('WWW-Authenticate: Basic realm="phpMyAdmin"');

header('HTTP/1.0 401 Unauthorized');

echo 'Authorization Required.';

exit;

} else if (isset($PHP_AUTH_USER)) {

if (($PHP_AUTH_USER != "david") || ($PHP_AUTH_PW != "YES")) {

header('WWW-Authenticate: Basic realm="My Private Stuff"');

header('HTTP/1.0 401 Unauthorized');

echo 'Authorization Required.';

exit;

}

}

?>

There are several files in the admin section that all start with this code. Some files additionally have the code

require("lib.inc.php"); immediately following. I want to find someone who knows of this problem and can fix it to help me log into my admin area again. Whenever I enter my username and password in the log in screen, the log in screen returns with a blank text box replacing the password I entered after clickin submit.

Habilidades: PHP

Ver mais: problem fixing, password problems, lt security, log used on company, i want a company log, how to start working as a programmer, how to find programmer, how to find problems, how to find lead, how can i find a programmer, help me find my password, fixing problems, fixing problem, fixing my, find the password, find programmer code, find problems, find me a programmer, find fix programmer, at&t help support, 1. problem, 1 problem, fixing authentication required, www authenticate fixing, phpadmin basic authentication problem

Acerca do Empregador:
( 0 comentários ) Davie, United States

ID do Projeto: #146873