There are many popular frameworks for online Web application development at the moment. There are also many different types of frameworks, such as those with a large number of plug-ins that can make you faster iterations (such as Rails), or other
Database-related issues
This section discusses the most common problems between PHP and the database. In exaggeration, PHP can almost operate all the databases that are available on the market today.
1. I've heard that PHP can operate Microsoft SQL
One, prepare to work
1, login into the VPS Control Panel, ready to reboot the VPS at any time.
2, shut down the Web server first, too much load will cause the subsequent operation is difficult, or even directly unable to login SSH.
3, just in
This paper summarizes and analyzes the processing method of PHP file system. Share to everyone for your reference, specific as follows:
File type
With Linux as a model, only three types of file, dir, or unknow can be obtained in WindowsUnder Linux/
Note that the version of the software used, different versions will have a lot of differences, it is possible to eventually build an unsuccessful, and the children's shoes do not worry about the wolf version will be too old, because the software
1. Try to be static:
If a method can be static, then declare it static, speed can be increased by 1/4, even when I test, this improved nearly three times times.
Of course, this test method needs to be performed above level 100,000, the effect is
PHP's handling of files
PHP in the application of server-side files, the relevant category is not only the user and server database of various connection access operations, can also be built through PHP file processing functions, for general file
1, can use file_get_contents instead of file, fopen, feof, Fgets, and other series of methods, as far as possible with file_get_contents, because his efficiency is much higher! But pay attention to file_get_contents in opening a URL file when the
Prepare an article
First, the environment description:
Operating system: Windows Server R2
PHP Version: PHP 5.5.8
MySQL version: MySQL5.6.15
Second, related software downloads:
1, PHP download address:
Prepare an article
First, the environment description:
Operating system: Windows Server 2008 R2
PHP Version: PHP 5.4.4
MySQL version: MySQL5.5.25
Second, related software downloads:
1, PHP download address:
Here is a section using __autoload () code, for everyone to learn the reference:
Copy Code code as follows:
/**
* Automatically load related class library files
*/
function __autoload ($classname) {
if (substr ($classname, -6
Recently remembered to standardize software development process, so must find a project management artifact. Google, Baidu crazy search a lot of, and finally locked the Zen road. Zen Road is the first domestic excellent open source project
Basic Personal Information:
Memcache definition Memcache is an open source project for Danga.com, a high-performance distributed memory object caching system that can be used to store data in various formats by maintaining a large, unified Hash
To describe the location of a file, you can use a summary path and a relative path. An absolute path is a first-level entry from the root to each subdirectory, and the file name or directory name is finally specified. The relative directory enters a
1. Try to be static:If a method can be static, then declare it static, speed can be increased by 1/4, even when I test, this improved nearly three times times.Of course, this test method needs to be performed above level 100,000, the effect is
The following is a personal summary of the PHP file manipulation function. Of course, that's just part of it, and there's a lot that I haven't listed.
first, parse the path:
1 Get FileName:
BaseName ();
Gives a string containing a full path to a
The environment used in this post is: Win7 + PHP Version 5.2.17 thread safe +apache 2.2 + Zend Eclipse PDT +Studio Web debugger
has been doing a Java EE, the company recently to use PHP, want to build their own PHP development environment, how to
From this chapter, we understand
. Create a function that can be called to reuse code
. Pass parameters to a function and interact with variables and data from the function return value and the different parts of the script
The code and function
1, can use file_get_contents instead of file, fopen, feof, Fgets, and other series of methods, as far as possible with file_get_contents, because his efficiency is much higher! But pay attention to file_get_contents in opening a URL file when the
use composer to build a laravel5.5 frame
First, environmental requirements:
1, PHP must be extended: OpenSSL, PDO, mbstring, Tokenizer. Check to see if these PHP extensions are installed and need to be installed if they are not installed.
2, use
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.