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
Content.txt
This file contains content, if you are combined with the MySQL database, as long as you replace this sentence with the content of your database.
index.php file
Include (' page.class.php ');A custom long article string that can
Include,require is often used in PHP to refer to other files, using relative paths or absolute paths, if the Set_include_path function or Ini_set (' include_path ', XXX) is set Include_ Path configuration option, the Require file can also be
PHP programs often make mistakes summary
1. Does not turn to the Italian HTML entitiesA basic common sense: all untrusted inputs (especially the data submitted by the user from form) should be transferred before the output.echo $_get[' Usename
Recently in the study of chat room technology, because I am doing PHP, definitely want to start from PHP, even a chat room, download the address:
Http://pan.baidu.com/s/1dDWsbip
Password: I2QZ
is in practice, ready to do a PHP chat room system
PHP programmers are most likely to make 10 errors (turn)PHP is a great web development language, flexible language, but see the PHP programmer repeatedly made some mistakes. I did the following list, listing the 10 bugs that PHP programmers often
CodeIgniter is a set of application development frameworks and toolkits for use by developers of PHP Web sites. She provides a rich set of standard libraries and simple interfaces and logical structures designed to enable developers to develop
PHP has built a Web server in the CLI SAPI since 5.4, which is convenient for developers.Just execute in the project directory
Php-s localhost:8001
Access link, the terminal will produce access log
E:\php\test\web_server>php-s localhost:8001PHP 5.
Many sites have exported data for Excel, the first to use JS export but online articles are almost the same and browser compatibility problems, in short, it is not very useful, that had to use PHP exported server-side processing does not exist
Date () function
This function is more familiar.
The code is as follows
Copy Code
Echo ("Result with date (): ");Echo (Date ("L"). "");Echo (Date ("L DS of F Y h:i:s A"). "");Echo ("Oct 3,1975 is on a". Date ("L",
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
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
PHP + shell multithreadingFirst, write a simple php code. Here, to make it easier to execute the script for a longer time, you can sleep it! Let's take a look at the code of test. php: ls.PHP code:For ($ I = 0; $ I Echo $ I;Sleep (10 );}?>The shell
As we all know, php is a server-side embedded html-based scripting language. However, for a website based on embedded html, the code will soon become huge and uncontrollable. How can we separate php code from html and make a lib (Template) similar
InheritanceThese classes are usually required. These classes have the same variables and functions as other existing classes. In fact, defining a general class for all projects and constantly enriching the class to adapt to each specific project is
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