NeverPool Posted April 29, 2010 Share Posted April 29, 2010 Hi, I recently wrote a very basic register script, and it doesn't work. I've looked through all my code and I can't find any errors! If you can help me out I'd appreciate it! The file is attached to the post. Live demo: http://neverpool.com/register.php [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/200155-register-script-not-working/ Share on other sites More sharing options...
Ken2k7 Posted April 29, 2010 Share Posted April 29, 2010 Hello NeverPool, Just a few things. 1. Why trim passwords? Is it illegal to have trailing spaces in a password? Why is username not trimmed in the same logic? 2. $_POST['password1'] isn't set. You messed up there. 3. The fopen file path has 3 dots in front. Link to comment https://forums.phpfreaks.com/topic/200155-register-script-not-working/#findComment-1050487 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.