RitchieGunz
Members-
Posts
57 -
Joined
-
Last visited
Never
Everything posted by RitchieGunz
-
Thanks.
-
I keep getting this error and I've tried both making a custom header and changing the php.ini file Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampplite\htdocs\xampp\flexcusten\flexcusten\forgetpass.php on line 24 <?php require("./CustomSql.inc.php"); $db = new CustomSQL($DBName); $showtable = true; $errortag = false; if (!empty($sendpass)) { if (empty($email)){ $errortag = true; $errormsg = $error_emailempty; } $password = $db->emailcheck($email); if ($password=='0') { $errortag = true; $errormsg = $error_notamember; } if (!$errortag){ $headers = 'From: ritchiegunz@hotmail.com' . "\r\n" . $message = "Hi Fellow Member"; $message .= "Your password is \n"; $message .= $password; mail("$headers","$email","$front_password","$message"); $showtable = false; } } ?>
-
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
I can finally do the dishes, they've been sitting there since yesterday, lmao -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
I don't think we did cause that just worked. LADIES AND GENTLEMEN, we can finally mark this damn thread solved! You're both getting friendly donations when the site is up and running! Thank you guys so much especially you Bob for sticking wit me, lol -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
errrrrrrrrr!!! You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''username', 'password', 'email') VALUES ('ritchie', '64423c6f5ffd6a3205e0ad788ed' at line 1 -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
Nothing changed -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
Goes to check.php and stays. Its blank and nothing added to db -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
OMG! lol Parse error: syntax error, unexpected T_ECHO in C:\xampplite\htdocs\xampp\site\check.php on line 148 -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
Lol, this is a headache .. Gimme this error again .. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''username', 'password', 'email') VALUES ('ritchie', '64423c6f5ffd6a3205e0ad788ed' at line 1 -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
Parse error: syntax error, unexpected T_EXIT, expecting ',' or ';' in C:\xampplite\htdocs\xampp\site\check.php on line 149 -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
Error after error after error lol ..... You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''username', 'password', 'email') VALUES ('ritchie', '64423c6f5ffd6a3205e0ad788ed' at line 1 -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
Its for this line: //Connect to the database $connect = mysql_connect ('localhost',$username,$password) or die(mysql_error()); -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
You being dumb has happened alot in this thread, huh lol Now I get this: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: YES) in C:\xampplite\htdocs\xampp\site\check.php on line 137 Access denied for user 'ODBC'@'localhost' (using password: YES) -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
Yup .. This is that chunk of lines //Tell the script that something went wrong $pass = FALSE; } //If something went wrong, send them back to fix their mistakes if ($pass == FALSE) { die(); //They failed the exam //For some reason they have failed or check system //You will need to send the back to fix the problem before we continue echo "<meta http-equiv=\"refresh\" content=\"1;url=signup.php\">"; //I like to kill the script at this point. die(); } else { //They have entered all the required information //Their username, password, and email are acceptable -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
Stays at check.php -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
Same thing. No info entered. -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
It went to check.php and stayed. But I checked the db, and no info has been entered. -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
It goes to check.php then redirects me back to signup.php (w/o errors) -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
Username: ri password: george varpassword: george email: ritchie@george.net What error did you get? (Username too short) Then try: Username: ritchie$% password: george varpassword: george email: ritchie@george.net What error did you get? (Usernames may only contain alphanumeric characters, dashes (-) and underscores (_)) Now to try the passwords Then try: Username: ritchie password: ge varpassword: ge email: ritchie@george.net What error did you get? (Your password was too short!) Then try: Username: ritchie password: george$ varpassword: george$ email: ritchie@george.net What error did you get? (Passwords may only contain alphanumeric characters.) Then try: Username: ritchie password: george varpassword: ritchie email: ritchie@george.net What error did you get? (Your passwords did not match!) Now for the email... Then try: Username: ritchie password: george varpassword: george email: r2 What error did you get? (You have entered an invalid E-mail address.) Then try: Username: ritchie password: george$ varpassword: george$ email: ritchie@ge#&(!ge.net What error did you get? (Passwords may only contain alphanumeric characters. and You have entered an invalid E-mail address.) -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
But then I just would of had the script without any knowledge of it. Atleast this way, Im learning hands-on whats wrong -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
Alright, got it! (its obviously empty right now). Now, whats causing this info not to get entered when I signup on signup.php? -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
And how will I know if they're info has been added to the database. I've been looking over the phpmyadmin, and Im trying to guess where the info would pop up, but dont see a logical place. -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
Already fixed that cause I got an error. Now when I do !$ in the fields it comes back and says username and all that was too short. YAY! But .. when I enter actual information, it redirects back to signup.php (w/o it saying username was short and such) -
[SOLVED] Registration/Adding members to database
RitchieGunz replied to RitchieGunz's topic in PHP Coding Help
LMAO .. trying now. -
$check = $db_object->query("SELECT username, password FROM student WHERE username = '".$_POST Thats line 35. Could it be the -> before the query? Sorry for intruding, but Im trying to learn myself