Example 1 of FirePHP use. what is firePHP? firePHP is a ff plug-in used to output php debugging information to the firebug console. II. what does firePHP do after it is officially released without affecting the page display? Debug php and output the
1. PHPsession: The Session file is stored on the server. by default, the SESSION file directory is saved by session. save_path is specified. the file name is prefixed with sess _ and followed by SESSIONID. for example, sess_c000065af28a8b14c0fe11afe3
There are several implementations of page statics in PHP, such as the use of output buffering (buffering), which caches data in the buffer (memory) of PHP and reads the data directly from the buffer the next time the data is fetched, thus avoiding
When you look at someone else's code, you find that people often don't use the ?> end character.In particular, the use of include is not used more frequently.So I looked it up:
The end tag of the PHP snippet at the end of the file can be
The author collects these techniques from a wide range of sources, and the completeness is not guaranteed. These optimization techniques have not been tested due to the large number. Please crossing to test yourself before use, after all, whether
PHP Ob_start and Ob_end_flush () are the buffered output functions of PHP.Ob_start ([string output_callback])-Opens the output buffer, all output information is not sent directly to the browser, but is stored in the output buffer, the optional
Ob_start () is just about its role. It doesn't mean how to use it, how to find it on your own, and it's available on the Internet. Today, it just helps people who are a bit confused. Yesterday, I saw the code from a friend company that is similar to
How to disable javascript caching for html pages and cache JavaScript For html pages
The example in this article describes how to make html pages not cache js. Share it with you for your reference. The specific implementation method is as
Basic Principle of ob: If the ob cache is enabled, the echo data is first stored in the ob cache. For header information, it is directly stored in the program cache. After the page is executed, the ob cached data is put into the program cache and
This article introduces a variety of solutions for php Cannot modify header information-headers already sent by set. If you need it, refer to it.
Set output_buffering to On in the php configuration file php. ini. Enable.
Output_buffering = On
-------
First, the database operation1. Close database connection immediately after useAccessing a database resource requires creating a connection, opening a connection, and closing the connection several operations. These processes need to exchange
How to access Sina API '; $curl = Curl_init (); curl_setopt ($curl, Curlopt_url, $url);//Set whether to display header information 0 is not displayed, 1 is display default to 0//curl_ Setopt ($curl, Curlopt_header, 0);//sets the curl parameter,
By default, the output of a string to the browser, after 3 stages of PHP buffer->tcp buffer-> Browser (some versions of IE browser also exist buffer)PHP default is to open the output buffer, in php.ini can be configured output_buffering=4096 (4KB, a
PHP Basic Syntax1. Four different start-end tagsOnly , two are always available, the remaining , need to be configured in php.ini. That is, the Short-open-tag and asp-tags in php.ini are turned on respectively, they are disabled by default, and
1 BackgroundServer Push Technology (serverpushing) is one of the hottest buzzword in recent web technologies. It is followed by "Ajax" after another highly sought after web technology. The recent popularity of "Server Push Technology" has a close
PHP Ob_start and Ob_end_flush () are the buffered output functions of PHP.Ob_start ([string output_callback])-Opens the output buffer, all output information is not sent directly to the browser, but is stored in the output buffer, the optional
firephp Usage examples + annotations
?
I. What is firephp?The firephp is a plug-in for the FF that outputs PHP debugging information to the Firebug console.Two. What's the use of firephp?After the official release, without affecting the page
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.