PHP

When Site Is Moved From Server To WAMP Server There Are Many Errors

Posted by on March 28, 2010 at 4:47 pm

It seems that the standard for production lynx boxes is set to no display errors. Chances are that when you started your new WAMP server you found lots of errors that exist but that have been buried. To turn error reporting off, same as production boxes, edit your php.ini file and change the error_reporting line [...]

PHP Mail Send Test

Posted by on March 28, 2010 at 4:44 pm

Here is a basic php mail send test just in case you are havhing problems, to troubleshoot the issue and make sure the problem isn’t something basic. <?php $headers = ‘MIME-Version: 1.0′ . “\n”; $headers .= “Content-Type: text/html; charset=utf-8\n”;Â $headers .= “From: test@test.com\r\n“; $headers .=”Bcc: myemail@mydomain.com\r\n“; /* End testing Edits */ $to .= myemail@mydomain.com; $subject [...]