Method 2: Display the webpage normally under any character set (continued ). Go: coolcode.cn I wrote an article about how to normally display webpages under any character set a few days ago. This article introduces the simple method, that is, to use
Common functions used to process strings in PHP mixed Chinese/English formatting. # Determine whether a position is the left or right part of a Chinese character, or not a Chinese character # Return value-1 left 0 not a Chinese character 1 right #
The collected DedeCMS has some usage experience. The following are all forwarded, but the official shortcomings are covered. In fact, its historical functions are not mentioned. haha, keep it first. 1. in the article list, some titles have been cut
PHP_MySQL tutorial-page 12th of basic functions on the third day. On the first page, you are welcome to the third and last course of this tutorial. If you have learned the first and second lessons, you have mastered the basic functions on the first
In php, how does one determine that a string contains another string .? Php?name001x.gif; $ panx; $ conexplode ($ pan, $ name); if (count ($ con) 1): echo $ name. contains. $ pan; else: echo $ name. does not contain. $ pan; endif ;?
$ Name =
Study cache_lite again. At night, I took a detailed look at cache_lite, which is more powerful than I thought. Of course, I haven't found out whether it supports directly saving PHP code for caching, but I think it should be detailed at night to see
Discuz is recommended! 5. PHP code highlighting and implementing executable code. Discuz! 5.0 forum display style php code highlight plug-in, the php code syntax coloring, like PHP comrades can easily read the code. Added the html code running
PHP +. htaccess implements full-site static HTML file GZIP compression and transmission (1 ). The power of apache has finally exceeded my imagination. it's just a bit of water that touched on php, and it's just an explosion on the basis of my
Use the apache module rewrite_module (for conversion ). Change the address format of [url] wwww.aaaaaaaaa.com... to [url] wwww.aaaaaaaaaaa.com... or [url] wwww.aaaaaaaaa.com... of course, you can change it according to your requirements. AP
[Url]
Excellent! -- ASCIIArt (generated by the target image ascii ). Let's take a look at the effect: www.healdream.comuploadhtmltest_ascii.html. this is the BIlogo effect generated by the php file. Php source file download: www.51files.com? GKG first
How to improve PHP speed by 13th pages. The simple data cache technology has been optimizing program performance for a while recently. I have an interesting idea and want to discuss it with you. Cache is a simple data Cache technology based on the
NOTNULL and NULL. NOTNULL | NULL: specifies whether the column can be empty. If neither NULL nor NOTNULL is specified, the column is considered to have NULL specified in MySQL, and a NULL value is set for a NOTNULL field. it is not null | NULL:
MySQL instructions. Two resource types are used in the MySQL module. The first is the database connection handle, and the second is the result set returned by the SQL query. The following constants of the predefined constants are the resource types
Php web pages do not expire after they are removed .? Phpob_start (); if (function_exists (session_cache_limiter) {session_cache_limiter (private, must-revalidate);} session_start ()?
Ob_start ();
If (function_exists (session_cache_limiter)
A class that uses php to obtain URL information. Use this class to obtain URL information. you can obtain the following URL information:-Host-Path-Statuscode (eg.404, 200 ,...) -HTTPVersion-Server-ContentType-Date-ThewholeheaderstringoftheU: class
SMARTY learning notes. Learning PHP cannot help but mention SMARTY. as a famous template program, SMARTY naturally has its advantages. The following is my learning experience! ================ Learning PHP cannot help but mention SMARTY. as a famous
Smarty uses Ajax to implement a new message book without refreshing messages. After reading the title, you may want to say that the message book is very basic! No one will, but still use Smarty. isn't it tiring? Don't worry. what I want to express
Use php to implement global variables such as JSP and ASP Application. Copy the code as follows :? Php *** function: implement the global variable * author: [url] www.itzg.net [url] * version: 1.0 * like JSP and ASP Application
The code is as
Several configuration file functions of PHP. 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. I personally think
Notes 1 for PHP syntax learning. 1. the PHP script code marks the PHP script as the content of a pair of special tags in the file. for example, ASP is "% .... % ", PHP can be viewed as"?...? ". However, to adapt to XML standards to embed PHP into
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service