What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-09-21 00:46:01
error reporting all php
/* Answer to: "php error reporting" */ ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); /* What do these lines of code do exactly? The ini_set function will try to override the configuration foun... Add solution -
PHP 2021-09-19 07:57:02
error display 0 php
// Turn off all error reporting error_reporting(0); // Report simple running errors error_reporting(E_ERROR | E_WARNING | E_PARSE); // Reporting E_NOTICE can be good too (to report uninitialized // variables or catch variable name misspellings ...) err... Add solution -
PHP 2021-09-06 21:47:02
create database backup programmatically php
<?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); $database = 'db'; $user = 'user'; $pass = 'pass'; $host = 'localhost'; $dir = dirname(__FILE__) . '/dump.sql'; echo "<h3>Backing up database... Add solution