Php + mysql open-source XNA aggregation program released and downloaded. PHP + MYSQL (php5 + mysql4.1) is a simple open-source XNA aggregation program. The effect is as follows: xna.spvrk.com. use phpmyadmin to import cms_xna. SQL and modify config.
Conversion between Simplified and Traditional Chinese characters in the PHPUTF8 character set
Conversion between Simplified and Traditional Chinese characters in the UTF8 character set Conversion between Simplified and Traditional Chinese
Share Two classic PHP encryption and decryption functions
This article mainly introduces two classic PHP encryption and decryption functions, one is Discuz! The authcode encryption function (with detailed decomposition). one is the encrypt (
Basic usage of phpexcel class library
// Write an excel file
// Include class
Require_once ('classes/PHPExcel. php ');
Require_once ('classes/PHPExcel/Writer/excel2007.php ');
$ ObjPHPExcel
IT tutorial sharing ~! PHPLinuxhtmlJS mobile game development MySQL and other tutorials
Don't talk nonsense, go to resources:New Linux Video Tutorial: http://pan.baidu.com/s/1c01r15YHtml5 Video Tutorial: http://yun.baidu.com/s/1jGIJLumJava,
Php Chinese character transcoding Unicode encoding function
/**
* $ Str original string
* $ Encoding of the original encoding string. the default value is GBK.
* $ Prefix: the prefix after Encoding.
The phpiconv function solves the problem of UTF-8 and gb2312 encoding conversion.
$ Content = iconv ("UTF-8", "gb2312", $ content );
This is actually the opposite. it seems that UTF-8 is indeed converted to gb23
Php special character escape functions
This article describes the usage of functions related to special character escaping in php and describes how php can process special characters. For more information, see.Mysql and php come with many
Two examples of php circle drawing: Use of php plot functions imagearc () and ImagePng ()
Header ("Content-type: image/png ");
$ Im = ImageCreate (150,150 );
$ Gray = ImageColorAllocate ($ im, 230,230
In linux, "the mysqli extension is missing. Check the PHP configuration solution.
Tar-zxvf php-5.2.17.tar.gz
Cd php-5.2.17/ext/mysqli/
/Usr/bin/phpize # The configure configuration file is generated in
Php function substr intercepts Chinese characters with garbled characters solution
This article describes how to use the php string truncation function substr to intercept Chinese characters and troubleshoot garbled characters. For more
Several methods for php to obtain the file extension
Php can be used to obtain File Extensions. For more information, see.Method 1:function get_extension($file){substr(strrchr($file, '.'), 1);}Method 2:function get_extension($file){return
Php judges that the string is in pure English, pure Chinese characters, or a mix of Chinese and English formats.
$ Strarray [1] = "hello ";
$ Strarray [2] = "123456 ";
$ Strarray [3] = "123 hello ";
$
Learning how to convert timestamp and date formats in php
/*-------------------------------------------------------
*
* Copyright (c) 2011 Baidu.com, Inc. All Rights Reserved
* $ Id $
Automatic generation of static pages on VM
$ Nowtime = time ();
$ Pastsec = $ nowtime-$ _ GET ["t"];
If ($ pastsec
{
Exit; // update once every 1 minute. the time can be adjusted by
Date_diff calculation & amp; quot; Operation Time & amp; quot; interval from & amp; quot; current Time & amp; quot;
There are many similar comments in many blogs. comments: xx minutes and xx seconds show the comment for a long time. today,
Php_MySQL management client adminer-2.3.2
Adminer is a MySQL management client similar to phpMyAdmin. The entire program has only one php file, which is easy to use and install. Adminer supports multiple languages (11 translation
An example of installing the redis and phpredis modules
@ Ubuntu:/$ mkdir/usr/local/redis
@ Ubuntu:/$ cd/usr/local/redis
@ Ubuntu:/$ wget http://redis.googlecode.com/files/redis-2.4.2.tar.gz
@ Ubuntu:/$ tar
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