PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\xampp\htdocs\catalog\includes\classes\email.php on line 522
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\catalog\includes\classes\email.php:522) in C:\Program Files\xampp\htdocs\catalog\includes\functions\general.php on line 33
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
The first error is saying you can't use the mail function because your mail server is not setup on your server or in your ini file. You can search this forum for alternative ways to send mail.
The second error message was created because the first error message outputted to the browser.