I made a password script, but I am having trouble with the fopen, because it won't open up the website (ngemu.com is just the example site). Why won't it work? here is my code:
<?php
include 'conq.php';
if ($passfield == $conq){
$fp = fopen ("http://www.ngemu.com/", "r");
}
elseif ($passfield == "") {
}
else {
echo "Incorrect password";
}
echo '
<html><body>
<form method="post" action="login.php">
Enter clan Password
<input type="text" name="passfield"></input><br>
<input type="submit" name="submit" value="click"></input>
</form>
</body></html>
';
?>