Recently in the study of PHP, the following is to see PHP100 video tutorials, do the learning notes, stored here for future use.
Apache--php--db (MySQL)
First, Apache: basic work
• The user accesses the server's file through the browser, and it
This article is an example of the precise PHP computing function. Share to everyone for your reference, specific as follows:
Introduction: Be sure to ensure the accuracy of the data. This is the basic quality of a good programmer.
Open PHP debug mode under Ubuntu Error information solution
In Ubuntu, the default setting for PHP is not to display the error message, and if the program error will show "Unable to handle this request error prompt", this is very inconvenient in
The following describes the features of the Smarty template engine:
1. Speed: A program written with Smarty can achieve maximum speed, which is relative to other template engine technology.
2. Compile: The program written by Smarty to compile into
Copy Code code as follows:
Class HTML
{
var $dir; Dir for the htmls (without/)
var $rootdir; Root of HTML files (without/): HTML
var $name; HTML File Store path
var $dirname; The specified folder name
var $url; Gets the source page
Mind Mapping
Introduced
Regular expression, everyone in the development should be often used, now many development languages have regular expression of the application, such as JavaScript, Java,. Net, PHP, and so on, I today to the regular
Objective
We all know that PHP-FPM has a built-in status page, opened to view the detailed operation of the PHP-FPM, to PHP-FPM optimization to bring help.
Open php-fpm.conf, configure PHP-FPM Status page options
Pm.status_path
PHP Session Invalid Analysis
PHP development process, you may have friends often encounter the session produced by the file can not automatically clear the problem, in fact, not really can not clear, but there is a probability problem, as long as
This article describes a workaround for PHP (FastCGI) with a 404 error in the Nginx alias. Share to everyone for your reference, specific as follows:
As described in the official wiki of Nginx
The alias directive cannot be used inside a
Q. I run a small Apache based webserver for me personal use and it are shared with friends and family. However, most script kiddie try to exploit PHP application such as WordPress using exec (), PassThru (), Shell_exec (), Sy Stem () etc functions.
Creating a template Tag System application
Creating a template Tag System application takes only a few steps.Note: The following steps assume the use of a new sleek example application (this example can be found on www.phpmvc.net).
Modifying an
Iv. Web services based on XML_RPC
It is convenient to use XML_RPC construction and service. Businesses deploy XML_RPC servers for the various services they provide, and users, customer software, and customer organizations can use this service to
Introduction to PHP
PHP is a server-side scripting language for creating dynamic Web pages. Like ASP and ColdFusion, users can mix PHP and HTML to write Web pages, and when a visitor browses to the page, the server first processes the PHP commands
Copy Code code as follows:
Class session
{
Static $sessionObject;
/* $_session[' user '] = = 0, don ' t work.
* = = 1, he is really user.
*/
Private Function __construct ()
{
if (! (Isset ($_session[' user ']) && $_session[' user ']==0)
This paper analyzes the Imagecreatefrom_gif_jpeg_png series function usage of PHP loading image. Share to everyone for your reference, specific as follows:
The Imagecreatefrom series function is used to load an image from a file or URL.
Loading
This article illustrates the use of a Gaussian algorithm in PHP to implement the fuzzy processing function of the image. Share to everyone for your reference, specific as follows:
image_create_from_ext ($SRCIMG);
$SRCIMGOBJ = $this->blur ($
The examples in this article describe the graph of curve statistics that PHP implements. Share to everyone for your reference, specific as follows:
strlen ($min _num) strlen ($max _num): strlen ($min _num)) *5+3;
Left blank//Picture stream
In this paper, an infinite classification implementation method of PHP with node operation is described. Share to everyone for your reference, specific as follows:
Include (move multiple nodes; move a single node; delete multiple nodes; Delete a
A new article recently published on Greg Beaver's blog comparing Strings in php and the = = operator mentions the problems that PHP's = = operator should pay attention to when comparing strings.
in some cases, PHP converts class numeric data (such
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