Linux version: Ubuntu 12.04
The configuration of PHP MySQL and Apache was completed today
Mainly source code configuration,
Apache is mainly 2.4.2 version
PHP is mostly 5.3.11 version
MySQL is mostly 5.1.62 version
A few days ago tried several
System is small, the process of completing this system I divided three steps
• Database Design
• System Framework Design
• Front-end Landscaping
design of the database
Design Three sheets: poll results table (count_voting), voter record (ip_votes)
In today's numerous MVC frameworks, thinkphp is a fast, simple MVC-based and object-oriented lightweight PHP development framework that follows the Apache2 Open source protocol, and has been adhering to simple and practical design principles since
Recently there is always a system email prompt, began not to care, and then constantly prompted to look at it. Prompt for the following information
Copy the Code code as follows:
PHP warning:date (): It is not safe for rely on the system ' s
First look at the process:
Process principle:
1. Obtain Access_token through code and obtain the user's information (including user u_id) (this u_id is called sina_id in the third-party login form, which needs to be built by itself)
2. Query the
Many people in the use of Destoon system, often appear to forget the background management password situation, or the management password is not stolen need to retrieve, this time often overwhelmed.
In fact, retrieve Destoon system login password
Linux CD commands can be said to be the most basic Linux command statements, the other command statements to operate, are based on the use of the CD command.
Therefore, to learn the common Linux commands, the first step is to learn how to use the CD
The following is an illustrated way to introduce the public platform development process, the specific content is as follows:
There are two modes of public platform: edit mode and development mode.
Normal functions can be done in edit mode. The
When a serious problem occurs in the system, it needs to be sent to the administrator immediately. Errors can be sent to the mailbox via Error_log () by mail.
Set in php.ini:Copy the Code code as follows:Sendmail_from = 472323087@qq.comThen
In PHP, most variable types, such as strings, integers, floats, arrays, and so on, are value types, and classes and objects are reference types, which you need to be aware of when you use them.
See the user in the discussion of PHP & symbols, to
Typically, when a visitor visits a website, the page records the user's cookie information, and when the cookie expires, the user is deemed not to be online. In this article we use PHP to record the guest IP, and on the client record the cookie and
1,phpthumb_ico is the class that generates the ICO icon, the source code is as follows
Class Phpthumb_ico {function Phpthumb_ico () {return true; } function gd2icostring (& $gd _image_array) {foreach ($gd _image_array as $key + = $gd _image)
Installing Homebrew
Homebrew is a very easy-to-use Package Manager for Mac that automatically installs dependent packages and frees you from cumbersome software dependencies.Installing the homebrew is also very simple, just enter it in the terminal:
This article analyzes the Zend Framework configuration file Application.ini usage. Share to everyone for your reference, as follows:
The most convenient and commonly used configuration method is to use the configuration file. The specific setting
How PHP uses SMTP to send mail, and if you use the mail function, it is sent using the/usr/sbin/sendmail command.
Reply content:
How PHP uses SMTP to send mail, and if you use the mail function, it is sent using the/usr/sbin/sendmail command.
What is the data pattern in the Segmentfault framework?
In the http://www.infoq.com/cn/news/2012/09/... Mentioned in the.
Reply content:
What is the data pattern in the Segmentfault framework?
In the http://www.infoq.com/cn/news/2012/09/...
There is a PHP script on the line to connect a set of socket service query data, which is run every minute.
After running for a period of time in the log to find a small number of eintr errors, mainly performed to Socket_read thrown.
After
I have installed zlib, but still prompt this error, very puzzled, I looked at the libpng makefile file, which has the following two lines:
Cppflags =-i/usr/local/zlib/include
Ldflags =-l/usr/local/zlib/lib
I installed the zlib path with the above
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