The required green software is as follows:PHP 5.2.9-2.: Http://www.php.net/get/php-5.2.9-2-Win32.zip/from/a/mirrorWe use the CGI Mode. As the saying goes, the module mode is popular in the last post. Currently, the CGI/fcgi mode is popular.More
Downloaded files and PHPCodePut the page in the same directory
AHref= "Word. php? File = Help & type = Doc">Download broadband troubleshooting ManualA>
Below is the word. PHP page
01. If (! Isset (Get ["file"]) |! Isset (Get ["type" ]) { 02.
Mktime (hour, minute, second, month, day, year, is_dst)CodeCome!The following code is a timestamp provided by most people on the Internet. At first glance, it can only be said that the current date is obtained, rather than the timestamp. Do not
After installing phpcms, The deprecated: function set_magic_quotes_runtime () is deprecated error occurs. After checking the network and data, the set_magic_quotes_runtime () function is removed after php5.3 and php6.0.
1. log on to the background for management. (Log in with the admin account of the created forum in the forum, and click "Management Center ")
2. Add a new application and fill in the information. In fact, "name" and "key" are only important.
Inspired by jjs, jquery's zencoding webstorm & phpstorm, I occasionally played PHP and sorted out a few common PHP files. They aim to inspire others to learn from each other. Their Operation habits are different from their thinking habits, for
: Php100.com
Successful installation: Visit localhost to view the wampserver page.
Step: (1) create a virtual directory PhP100
(2) Create the test. php file in PhP100, open it with nodepad ++, and enter the PHP script.
(3) localhost: /
The advantage of the printf () function is that it can format the output!Format: % ['padding _ character] [-] [width] [. Precision] TypeAll conversions start with %. to print a % symbol, you must use %.The 'padding _ character parameter is optional.
Replacing HTML tags
Function strip_bad_tags ($ HTML)
{
$ S = preg_replace ("@? [^>] *> * @ "," ", $ Html );
Return $ S;
}
Replace the specified tag. $ text is the text to be replaced, and tags is the array to replace tags.Function
ArticleDirectory
Syntax
Definition and usage
The eval () function follows the PHPCode.
The string must be a valid PHP code and must end with a semicolon.
If the return statement is not called in the code string, null is returned.
Http://www.ccvita.com/163.html
How to Improve PHP Execution EfficiencyIt always seems that too many include files will increase the execution time of PHP.However, some files need to be introduced again, trying to test the execution efficiency of
PHP array is different from other languages.
The key of the PHP array can be Int or string, which leads to the following problem.
'as', 2 => '22',); var_dump ($ A [0]); var_dump ($ A [2]); var_dump ($ A ['2']); exit;?>
Result: $ A [0] is
I remember writing a PHP code specification before.ArticleThe format here is the ZF specification, most of which can be used in PHP for non-ZF projects.
To be honestProgramIf it is correct, I partially do not comply with it.
PHP File Format
1.?
From: http://www.winet.cn/php/?age.types.string.php Variable Resolution
When a string is specified using double quotation marks or delimiters, the variables in the string are parsed.
There are two types of syntax: simple and complex. Simple
Official Materials
Php mssql operations
PHP calls the MSSQL Stored Procedure.
Simple encapsulation of php mssql operations supports stored procedures
MSSQL operations in PHP
Summary of some methods for connecting PHP to MSSQL
Php mssql
Auto: http://www.cnblogs.com/mrray/archive/2011/05/18/2050233.html
Strtoupper($ String);// Replace all with uppercase letters
strtolower ( $ string ); // replace all with lowercase letters
Ucwords($ String);// Replace the first
FromHttp://wangduowu.javaeye.com/blog/385935
When using checkbox, I found that PHP can only get one value and checked the relevant information for the following reasons:
Code highlighting produced by Actipro CodeHighlighter
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