byllan Posted April 27, 2012 Share Posted April 27, 2012 Hey my name is Byllan i search someone who can done my script? I have start a bit but im not the best one in .php im noob. That i want with the script is the script check if username and that is true if yes it show up the password under the button. If no there will be a message. Something is wrong here please check it. http://apelsinen.com/?p=lostpassword If you enter http://apelsinen.com/?p=register I think you will understand the whole thing with my idea! lostpassword.php <b>Forgot Password</b> <?php ?> <html> <body> <br> <tr> <td>Your Username:</td> <td><input type="text" name="user" value=""></td> </tr> <br> <tr> <td>Your Mail:</td> <td><input type="text" name="user" value=""></td> </tr> <br> <tr> <td>Your Name:</td> <td><input type="text" name="user" value=""></td> </tr> <br> <tr> <td>Your Secret Code:</td> <td><input type="text" name="user" value=""></td> </tr> <br> <tr> <td colspan="2"> <tr> <td colspan="2" align="center"> <input type="submit" name="submit" value="Get Password"> </td> </tr> </table> </form> <br> <br> </html> </body> Quote Link to comment https://forums.phpfreaks.com/topic/261688-lostpassword-secret-code-need-some-help/ Share on other sites More sharing options...
El Chupacodra Posted April 27, 2012 Share Posted April 27, 2012 Usually people on this site want to see you try it yourself and then come for advice when it fails. Writing a function for you from scratch is more than some help. What you need is php or a mix of php and JavaScript. Basically you just run a check against the user name table to see if there is a post with the name. Quote Link to comment https://forums.phpfreaks.com/topic/261688-lostpassword-secret-code-need-some-help/#findComment-1341179 Share on other sites More sharing options...
xyph Posted April 27, 2012 Share Posted April 27, 2012 If this is your first attempt at PHP, I'd suggest trying something more simple. Quote Link to comment https://forums.phpfreaks.com/topic/261688-lostpassword-secret-code-need-some-help/#findComment-1341181 Share on other sites More sharing options...
plznty Posted April 27, 2012 Share Posted April 27, 2012 I would recommend looking over some tutorials for PHP etc some more. Then when you figure out the logic behind it try and do it. If you then fail then you come back here for help on adapting the code itself. Quote Link to comment https://forums.phpfreaks.com/topic/261688-lostpassword-secret-code-need-some-help/#findComment-1341263 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.