RSS, also called aggregated content, is a format for describing and synchronizing web site content. The following code to generate an RSS subscription:RSS XML Structure
Website name
http://www.111cn.net/
website Description!
rss tutorial
This time by doing a install.php to find that the difficulty is actually not big, or file write operation, installation in fact, the main operation is still the contents of the database, first to see how the file to write: (or the use of codeigiter,
Converting arrays into JSON in PHP
Powerful PHP already provides built-in functions: Json_encode () and Json_decode (). It's easy to understand that Json_encode () is converting a PHP array into JSON. Instead, Json_decode () converts JSON into a
Set_error_handler ()
PHP provides a functional function of custom error handling handles Set_error_handler () from 4.1.0, but very few scripting people know. Set_error_handler This function is a good way to prevent the wrong path from leaking, and
Recently looking at the backing network of PHP video, the main content is related to the production of a blog system, the feeling is still very rewarding.
A simple database processing class
Here is a simple database processing class, see source
The first step in working is to get the data out of Excel. Here I use an open source PHP processing Excel class: Phpexcel. The details of the project are http://phpexcel.codeplex.com/.
I am currently using the phpexcel1.7.3 version, after
Attention:
PHP has a pcntl_fork function to implement multiple processes, but to load pcntl expansion, and only under Linux to compile this extension
1. First in the Ubuntu compiler pcntl.so, my Ubuntu can not find a pcntl bag, so
Create a folder
The Curl component of PHP is a very common HTTP request emulator.
Usually when I send post data, I'm used to writing this:curl_setopt ($ch, Curlopt_postfields, $post _data);But when a request is sent to a server, the server returns 500. and use the
PHP5.2.17 Official Download: Http://windows.php.net/downloads/releases/php-5.2.17-Win32-VC6-x86.zip
PHP5.3.5 Official Download: Http://windows.php.net/downloads/releases/php-5.3.5-Win32-VC9-x86.zip
First install good IIS7
1th Step: Extract the php5.0 to the local, the following figure:
The 2nd step: Copy PHP This folder to C disk, the following figure:
Step 3rd: Create a new Temp
VML Drawing Board work presentation // The variable num is the total number of saved vml documents, which is simply specified here. Adjust according to the actual organization
The code is as follows:Copy code Function getAgeByID ($ id ){ // After this year's birthday, you will be 1 year old.If (empty ($ id) return '';$ Date = strtotime (substr ($ id, 6, 8 ));// Obtain the date of birth, month, and day$ Today =
Basic informationE_NOTICE indicates that it is not recorded in general cases and used only when the program has an error, for example, an attempt to access a non-existent variable or call the stat () function to view a non-existent file.E_WARNING is
1. What is PHP?2. What does PHP mean?3. What is the relationship between versions?4. Can I run different PHP versions at the same time?5. What is the difference between PHP 3 and PHP 4?6. I think I found a BUG. Who should I tell?1. What is
Recently updated a project. The download part follows the download code of the previous project. But this time there was a small problem. The downloaded word and other files will prompt garbled characters, when downloading files such as rar, the
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