What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-10-27 17:08:15
core php mail function without phpmailer
<?php ini_set('display_errors',1); ini_set('display_startup_errors',1); error_reporting(-1); session_start(); $to = '[email protected]'; $subject = 'Subject xxxxx xxxxxx'; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Conte... Add solution -
Other 2021-10-27 11:34:13
display wordpress error
/* provided by [email protected] */ /* add in config file */ define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', true ); define( 'SCRIPT_DEBUG', true ); define( 'SAVEQUERIES', true ); /* add in function.php fi... Add solution -
PHP 2021-10-27 01:04:14
php disable errors
error_reporting(0); @ini_set('display_errors', 0); Add solution -
PHP 2021-10-20 07:48:07
php supress errors
error_reporting(0); @ini_set('display_errors', 0); Add solution