Jump to content

RitchieGunz

Members
  • Posts

    57
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

RitchieGunz's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. 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; } } ?>
  2. I can finally do the dishes, they've been sitting there since yesterday, lmao
  3. 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
  4. 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
  5. Goes to check.php and stays. Its blank and nothing added to db
  6. OMG! lol Parse error: syntax error, unexpected T_ECHO in C:\xampplite\htdocs\xampp\site\check.php on line 148
  7. 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
  8. Parse error: syntax error, unexpected T_EXIT, expecting ',' or ';' in C:\xampplite\htdocs\xampp\site\check.php on line 149
  9. 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
  10. Its for this line: //Connect to the database $connect = mysql_connect ('localhost',$username,$password) or die(mysql_error());
  11. 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)
  12. 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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.