Browsing articles tagged with "error reporting Archives - PHP Dev Tips"
Jun
24
2014
24
2014
PHP Error Reporting and Why You Should Care
If you’re a PHP developer, and you prefix questionable function calls with the “@” symbol, you should be aware that I’m onto you! If the first line of code you write after <?php is “error_reporting(0);”, then we shouldn’t be friends anymore. Error reporting in PHP is really really really important, and you should probably also stop reading, because this article will just fill your soul with rage. Keep in mind, this article isn’t about whether or […]
Recent Snippets
- htaccess : Only allow access to specific wordpress upload types if logged in
- MySQL : Query WordPress Database for Invalid Media Filenames
- PHP : Get Actual IP Address with PHP
- JavaScript : Allow Tab in Textarea
- PHP : Clean sanitized database contents on output
- htaccess : Force www. prefix in URIs
- PHP : Force File Download with Correct Content Type
- Wordpress : Disable upgrade notification