Debugging Articles
Wondering if your PHP scripts are sending email? Here's a quick test.
Debugging Email Generated with a Script
When you suspect that email isn't received because the document being generated in the script is defective somehow, have the email printed to a file where it can be inspected.
The reason for a bounced email can be hard to understand because mail server administrators may compose their own messages to explain bounce codes, or provide no message at all. It's the bounce code that counts.
Friendly File Names for Log Files
A friendly log file name provides information without even opening the file.
Stripping Invalid Characters From Currency Numbers
Currency symbols, commas, spaces, and other characters can wreak havoc with currency calculations. Here a way to strip invalid characters from string values for 3 different programming languages, Perl, PHP, and JavaScript.
When new software is being employed, some aspects of the software may be logged for a record in case a bug needs to be found.