I’m working on some sites together with my friend; but somehow the mail.php doesn’t work.
It doesn’t give an error or something; the only thing is that I don’t reveive the email. Probably I made a/some big mistake(s). I got 2 scripts. The login.php script and a post.php script. The login script is perfect now, no need to change something about that. I need a mail/post.php script that fits into the login.php script.
The mail script has to send the name and password that you can fill in at the login script.
I’ve posted both scripts down here, so you can see what’s the problem.
You can make a whole other mail php script also, as long as it works.
The person who can give me the first working solution, can receive an reward of $20 for helping.
If you think you can do this, please send an e-mail with the working mail/post.php script and your paypal id, to [email protected] .
If it’s work I can send you the $20 the same day.
Thanks, have a good luck at the script and try it please.
The post.php script ( here is something wrong ) you can make a new one or just edit this one.
<?php $email = $_REQUEST['email'] ; $message = $_REQUEST['message'] ;mail( “[email protected]”, “Name and message”,
$message, “From: $email” );
?>
A part of the Login script (The part we need to make a mail php script )
<div class="cbb gray clearfix"> <h2 class="title">Log in</h2> <div class="box-content clearfix" id="login-habblet"> <form action="post.php" method="post" class="login-habblet"> <ul> <li> <label for="login-username" class="login-text">Name</label> <input tabindex="1" type="text" class="login-field" name="habbo" id="habbo" value="" /> </li> <li> <label for="login-password" class="login-text">Password</label> <input tabindex="2" type="password" class="login-field" name="password" id="password" /> <input type="submit" value="Log in" class="submit" /> </li> <li class="no-label"> <input tabindex="3" type="checkbox" name="_login_remember_me" id="login-remember-me" value="true"/> <label for="login-remember-me">Onthoud mijn gegevens</label> </li> <li class="no-label"> <a href="https://www.habbo.nl/account/password/forgot" id="forgot-password"><span>Wachtwoord/naam kwijt?</span></a> </li> <li class="no-label"> <a href="https://www.habbo.nl/register"><span>Registeren</span></a> </li> </ul> </form></blockquote>