PHP + MySQL problem
Community Forums/General Help/PHP + MySQL problem
| ||
If there is any PHP + Mysql users around, tell me what i am doing wrong. :D Code: http://paste.servut.us/plain/axsr So problem is that mysql database is not receiving email address and PHP isn't sending mail to email address. What i am doing wrong. :D I am new with mysql and PHP... :P Last edited 2011 |
| ||
$email and $password aren't defined. This code only works when globals are enabled, which by default isn't out of safety purposes. Also, don't use sleep() unless you've got a good reason for it. In the current context, using header() won't work since you've already sent output to the browser. Last edited 2011 |
| ||
Umm... i don't understand still what is wrong. Few weeks ago i programmed paypal registeration system with this tut: http://net.tutsplus.com/tutorials/php/using-paypals-instant-payment-notification-with-php/ And this code is based to that. Paypal thing works just fine. |
| ||
Ok case closed. Thanks for Difference for helping me at IRC. :D Just added these lines and it's working: $email = $_POST['email']; $password = $_POST['password']; |