PHP Shopping Cart Example here also provides a PHP shopping cart instance code, which is suitable for the development of the mall or shopping system reference development examples, tell you if you add merchandise to the shopping and delete, and
PHP Using template Paging program (with demo), this is a more classic PHP page code Oh, using the program template, page separation of the way to do this file paging function, it is too cow B.
PHP tutorial using template Paging Program (with demo
PHP Kanji Conversion Pinyin and pinyin conversion of Chinese character program This is a pinyin and Chinese character conversion code, you can convert Chinese characters into Pinyin can also be converted in turn.
PHP tutorial Kanji Conversion Pinyin
PHP Perfect Date Calendar Generation class we wrote a date calendar generated in PHP to generate a class program OH.
PHP Tutorial Perfect Date Calendar Generation classWe wrote a date calendar generated using PHP to generate the class program
PHP Gets the current time function article provides several PHP to get the current time of the function, Date,time and so on, but also tell me how to solve the time zone problem OH.
PHP Tutorial Get current time functionThe article provides several
PHP Filter function code for HTML tags this article provides four of PHP filtering HTML tag function code, one of the simplest use of PHP's own function strip_tags to filter all HTML tags, method two using regular expressions to filter the HTML tags,
We used to tell our friends that
PHP unpack function definition
Unzip the bit string data.
Grammar:
String Pack (string format, mixed [args] ...);
return value:
Array
PHP Unpack function types:
Data processing
PHP Unpack Function Content
Simplexml_load_file (str file); Loads an XML document into a SimpleXML object, and this method returns a handle
Simplexml_load_string (str string); Loads an XML document into a SimpleXML object that returns a handle
Simplexml_import_dom (data) This
XML processing is often encountered in the development process, PHP is also very rich support, this article is just a few of the analytical techniques to do a brief description, including: XML parser, SimpleXML, XMLReader, DOMDocument.
1. XML
Just install the PHP command-line tool.
To run the example:
PHP Supervisor.php/usr/local/nginx/bin/nginx Nobody (You can also add the parameters of the corresponding command after this, without parameters left blank on the line) &
Parameter
These four functions in PHP are often confusing, and here are some notes to take.
1, Strstr
strstr-displays the string that was found for the first time, to find, and subsequent strings. Case sensitive.
Code Listing:
[PHP]strstr function$email = '
/* Google Translate PHP interface* Official Written 2009-03-28* http://blog.csdn.net/aprin/* Note: If the translated text is UTF-8 encoded, delete the Mb_convert_encoding function*/Class Google_api_translator {Public $url =
Problem solving
1. Installing Apt-get Install Php5-mcrypt
2. Edit the PHP configuration file Vim/etc/php5/cgi/php.ini find MCrypt and add the red line below:
[MCrypt]; For more information about MCrypt settings See Http://php.net/mcrypt-module-open;
Beginners for the design pattern must have a lot of do not understand, today is just the weekend, took out a little time to write a single-piece mode combined with command chain mode to create the core of the article, may be for some people, the
As we all know, Mantis is a lightweight defect tracking system. As a free open source software, I think this is the object of choice for many small teams. Why should I introduce Mantis and not introduce bugzilla? First, Mantis relative bugzilla have
Alternative PHP cache (APC) is a free, publicly available, optimized code cache for PHP. It is used to provide free, open and robust architecture to cache and optimize PHP's intermediate code.APC official website for
Installing amp
Apt-get Install apache2 mysql-server php5 php5-mysql5
Configure Apache2 Default Site
Vi/etc/apache2/sites-enabled/000-default
Join a row
Redirectmatch ^/$/apache2-default/
Testing this step does not require
Modifying the Apache2
This article shows you how to use PHP to build an object-oriented graphics layer. Using an object-oriented system can be used to build complex graphics, which is much simpler to build than using the basic functionality provided in a standard PHP
Author: Coolfire Now there are more and more personal webmaster need to understand how to configure their own php,cgi server under Windows System, to facilitate local debugging CGI and PHP programs. We can use Apache (Windows edition) to do it once:
A good PHP code, whether put on Windows or Linux, different versions of PHP, can correctly output the results, is a good code.
Said easy things, do not very easy, often write code are functional guidance, the current environment, to catch the time
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