The lack of management of PHP documents found in project development, others write a, the function is not much
/**
* Class Name: Doc
* Description: Document Generation class
* Other: You can filter the directory, set the source directory, please
static | page
Author: q3boy
Static page generation generally have such a few ideas.
1. In the process of program writing. Statements that do not use direct output. When all the output is connected to the output string, the output is completed. Write
apache|mysql| Compile | Source code record the entire process of the apache+mysql+php development environment that I compiled from the source code under Fedora Core 1
Installing a server usually is the easiest way to use RPM, and you can easily get
This error is the result of a typical MySQL table damage, the solution is to repair the table, this problem is often easy to MySQL, MySQL table and index damage is very high, but the repair is also very convenient, reduce this kind of problem occurs
The Internet Information Service (IIS) built into the IIS system has good support for ASPs, so it is convenient to debug ASP Web pages in IIS. But some friends of the Web page using PHP programming technology, by default, IIS is not supported by PHP
Article Introduction: two stealth killers that destroy web layouts.
In the process of creating a greengaint theme, I had a headache for a long time with two page layouts, and I never found out what was wrong, but then I solved the two
Article Introduction: use Minify to optimize the performance of the site to merge multiple CSS or JS files.
Minify is the use of PHP5 development, by following some of Yahoo's optimization rules to improve the performance of the site. It
Article Introduction: Jquery HTML5 Uploader plug-ins use notes.
jquery HTML5 Uploader is a jquery file upload plugin that supports drag-and-drop uploads, but requires browsers to support HTML5 1. Download plugin
SELECT FLOOR (7 + (RAND () * 6)); Randomly generating a number in a range-------------------------------------------------------A friend asked how to use random numbers in MySQLHow to write a statement to update hundreds of MySQL data!Need to test
Ajax garbled out of the reason nowBecause the XMLHTTP uses the Unicode code uploads the data, but the General page uses is gb2312, this causes the display page to produce garbled. And when the page is obtained when the XMLHTTP return is UTF-8
asp3| Control With the introduction of PHP4.0 and JSP technology and the significant security issues that continue to occur in IIS, Microsoft's ASP market seems to be narrowing, but Microsoft will not give up, so on the basis of ASP2.0 launched the
The main focus is on red tagged statements.
The include (or require) statement takes all Text/code/markup this exists in the specified file and copies it into the File that uses the include statement.
Including the files are very useful when you
PHP header after the need to write exit to terminate the program, has not been too concerned about the past, today encountered a bug, just found that this is still a problem, deliberately wrote a paragraph of code test, the code is as follows:
The command line to view the running status of the Memcache is primarily a stats command, as follows:
(1) First through the Telnet command to connect to the Memcache, command: Telnet 127.0.0.1 11211
(2) Direct input stats can get the current
PHP since the 5.3 New Phar Archive, Phar archive concept from Java? Technology's JAR archive, which allows you to package your application with a single file containing everything you need to run your application. This file differs from a single
PHP file Management, you can click by time, size, name sort
jquery is not used in this exampleDemonstrate
PHP Code
$rootdir = "./";
$spacenum = 0;
$filenum = 0;
$allfilesize = 0;
echo "File Management Freejs.net Test";
echo "Reset";
Variables | Data can be implemented using the following functions:
function Posttohost ($url, $data) {
$url = Parse_url ($url);
if (! $url) return "couldn ' t parse url";
if (!isset ($url [' Port ']) {$url [' port '] = "";}
if (!isset ($url ['
Tutorials | Application example PHP application speed
One of the biggest advantages of PHP is obviously its rapidity. In general, PHP always has enough speed to support Web content dynamic generation, many times you can not even find a faster way
Search Engine Ccterran (original)
Author: iwind
Friends with Dreamweaver do a website, there is no dynamic content, just some personal collection of articles, personal introduction and so on. Now the content is more, want to ask me to help him to
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:
[email protected]
and provide relevant evidence. A staff member will contact you within 5 working days.