The cache directory location of the composer installation package in the WINDOWS7 environment, Windows7composer
http://segmentfault.com/a/1190000000355928
https://getcomposer.org/doc/
To say the use of composer, later, now only record the Windows7
thinkphp use Phpexcel to implement Excel data import and export full instance, Thinkphpphpexcel
The example described in this article is used in the development framework of thinkphp, if used in other frameworks is the same method, many people may
The file_exists function in PHP does not support Chinese name resolution,
In general, PHP often uses file_exists () to determine whether a file or folder exists, and returns true if it exists, otherwise false. However, this function does not return
thinkphp Summary turn, thinkphp summary
After a few projects with thinkphp, feel this framework pretty good, very suitable for their own logic habits, development is also fast, hehe, summed up some of the items commonly used in the East, I hope to
PHP use file stream to download the file method (attached: Solve the download file content garbled problem),
Remember when high school played a game, then the game homepage is written in PHP, because the file is very fixed, the client, the lander
PHP Generate static Page method
One, PHP script with dynamic page.
PHP script is a server-side script, can be embedded and other methods and HTML files can be mixed, or class, function encapsulation and other forms, in the form of templates to the
Custom function Sharing in PHP that turns us time to Beijing time, US GMT
As the recent mail system to use the time conversion, need to download from Google Gmail mail time into Beijing time, and then wrote a time conversion function, I hope that
PHP gets the last element of the array
PHP Gets the method of the last element of the array. Use the PHP built-in function end ().
The end () function points the array's internal pointer to the last element and returns the value of the element, if
Brief analysis of some special cases of Get and post, Getpost
Recently in some work on file upload and so on, on the way encountered the following problems:
What will be the result of submitting the form to a URL that has parameters (for example:
How to set up a PHP server
How to set up a PHP server
"One" first download the software:
(Apache) I'm using the apache_2.24-win32-x86-no_src!! downloaded in Hurricane Software Park.
Download Address:
PHP Learning Path: WSDL in detail (ii)
3. Defining logical messages used by the service
When the operation of the service is invoked, the service is defined as a message exchange. In the WSDL document, these messages are defined as message elements.
PHP 5.3 New Magic Method __invoke Overview, 5.3__invoke
PHP has been adding a magic method called __invoke since version 5.3, which allows the object to be called directly after the instance is created. As shown in the following example:
Class
PHP implementation of multi-image upload class instances
This article mainly introduces PHP implementation of multi-image upload class instance, this kind of file annotation detailed function is practical and has certain extensibility, the need for
The difference between error and exception in PHP and its application
This article mainly introduces the difference between error and exception in PHP, and the application, the need for friends can refer to the following
The difference between
Single database field multi-column display in PHP
This article mainly introduces a single database field in PHP display of multiple columns, branch display skills, can also be called one-page pagination, horizontal output, the need for friends can
PHP development project of a little experience, PHP development projects
It is best to store all the variables in an array, so that in the development of the program can bring a lot of convenience, especially when the program is very
Using PHP to implement database query result cache
Sometimes we want to reduce the database query to improve the performance of the program, because the data is not often changed, but it will not change for a long time, so we each connected
PHP Query the full code of MySQL database
PHP Query The full code of the MySQL database, when used, please be careful to modify the connection statement in the user name and password.
$link = mysql_connect (' localhost ', ' root ', ' 123456 ')/
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