Let CI show PHP errors and learn CI at the beginning. sometimes the program fails and no error is reported, but a blank page is displayed, causing a headache in Debugging .? If you want it to display errors, just add this line of code to the index.
Php error level, php error level
In the php programming process, you will surely encounter more or less error reminders. These error prompts guide us to write cleaner code. Today, we will first write the error types we listed, first, you need to dig
I have never paid attention to it before. I have heard from my colleagues today and I will check it out immediately. The configuration function of php is several ini _ * functions. it is important to control the configuration file. there are
Several configuration file functions in php have never been noticed before. let's hear from my colleagues today and check out the functions.
The configuration function of php is several ini _ * functions. it is important to control the configuration
2. how does PHP record errors and send errors?
1. record the error to the specified file. the configuration process is as follows:
* 1). log_errors = on
* 2). error_log =/tmp/php_error.log
1. use the error_log () function to record error logs
Here is a summary of some excellent features of Codeigniter. Codeigniter summarizes some of the outstanding features of codeigniter. Codeigniter summarizes that it is recently ready to take over the improvement of a project written by someone else
Use the YIIFramework library for development .... yii: createWebApplication ($ config); there is no runYii: import (class1, true). When storing the class1 class file path, also include this file. Note: you can also divide the configuration file into
Php ini_get function tutorial
Get_ini(PHP 4 and PHP 5)How to get-a configuration option for getting valueDescriptionHow to obtain a string (string $ varname)The configuration option of the returned value is successful.ParametersVarnameThe name of
[It168 technical documentation]PHP configuration functions are several ini _ * functions, mainly for configuration file operations. In fact, there are four functions: ini_get, ini_set, ini_get_all, and ini_restore. The most useful ones are ini_set
Introduction: This is a detailed page for PHP basic functions. It introduces the related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 335085
To better understand CSS, especially CSS rendering in IE, haslayout is a concept that needs to be completely cleared. Most ie display errors are due to haslayout.
What is haslayout?
Haslayout is an internal component of the Windows Internet
When PHP is running, an error message is forcibly displayed and output to the text. When PHP is running, an error message is forcibly displayed, and the error information is output to a text file error_reporting (E_ALL); ini_set (display_errors, 1 );
Various PHP exception and error interception methods and alarm when a fatal error occurs, php interception. PHP intercepts various exceptions and errors and generates alarms when fatal errors occur. in daily development, most people enable the
How to Debug php programs? Gedit + Mozilla Firefox
Use the above Notepad + browser for debugging.
If a part of the php program fails, the results of the entire program may not be displayed in the browser.
In this way, it is difficult to
Set PHP debugging and debugphp to output all error messages. debug php and debug php in any environment
Enable php debugging and php debug regardless of the php. ini configuration.
Add it to the first line of the PHP file to be debugged.
Ini_
The ini_set function is introduced in the previous article. ini_get is the opposite of ini_set, which is used to retrieve php. the value of the environment variable in the INI file. syntax: the ini_set function is introduced in the previous article.
* Ini_get (): gets the option value of the configuration file.
This function is often used by many people to obtain the value of an option in the configuration file. If it is true, 1 is returned. If it is false, 0 is returned, and the string is
PHP provides four functions for PHP. ini operations: ini_get, ini_set, ini_get_all, ini_restoreThe most common ones are ini_set and ini_get.The functions of these two functions are described as follows:Ini_get ()
Obtain the option value of the
I have never paid much attention to it before. I have heard from my colleagues today and can check it out immediately. It is very powerful.Php configuration functions are several ini _ * functions, mainly for configuration file operations. In fact,
Php configuration functions are several ini _ * functions, mainly for configuration file operations. In fact, there are four functions: ini_get, ini_set, ini_get_all, and ini_restore. The most useful ones are ini_set and ini_get.
* Ini_get (): gets
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.