Php+java Development Deployment Environment Configuration 2012-11-15
A, Tomcat and Apache interoperability
1, install Java, Apache, Tomcat, PHP (Installation of PHP does not need to install the included components)
2. Download and organize the
PHP Service Error Summary
Server Environment Information:
Linux version 2.6.32-279.el6.i686
CentOS Release 6.3 (Final)
?
Server version:apache/2.2.15 (Unix)PHP 5.3.3 (CLI) (Built:may? 7 2012 19:58:17)A problem occurred:
Launch Apache service, view
PHP to determine whether a picture is a standard picture (prevent tampering with the image upload)
In the project security, found that a department of the project image upload only the suffix is checked, resulting in some code of the ' picture '
The empty function that PHP is prone to use incorrectly
?
Written in the official PHP manual,
?Checks if a variable is empty.
If Var is a non-null or nonzero value, empty () returns FALSE. In other words, "", 0, "0", NULL, FALSE, Array (), Var
PHP Regular expressions using the detailed
1.1 Non-printable characters??
?
Character meaning
\cx
Matches the control character indicated by X. For example, \cm matches a control-m or carriage return. The value of x must be
Analysis of several PHP acquisition client IP
PHP gets client IPs in cases where there is no use of a proxy server, using a transparent proxy server, using a regular anonymous proxy server, using a spoofed proxy server, and using a high anonymous
PHP SMS send function ――php SMS interface making SMS Send function
Author: zccst
Version One:
Sometimes everyone in the PHP integration, often in the Web page to send text messages, then you can send text messages as a function to deal with, so
Have you ever seen this symbol with a friend of a BSD or UNIX system?
My system is Mac OSX, and I found a strange symbol in the permissions list.
I can't send a picture here, so I'll stick to the text.
drwxr-xr-x+ Angryfrog Staff 1632 11 20
PHP Filter Library (extensions related to variables and types) to filter common mail, IP, array of variables, etc.
?
Introduction to the Filter extension library
?
This extension filters data by either validating or sanitizing it. This is
Problems with PHP TimeZone
since PHP5.0, the PHP time zone uses UTC by default, so it takes 8 hours less time to get system time than Chinese time.Workaround:1. Modify the settings in the php.ini file.[Date]; Defines the default timezone used by
PHP Gets the current file path, upper directory path
Example:
/var/www/project/test.php
get path Plus file name :
echo __file__;//Output/var/www/project/test.php
get file name only :
Echo basename (__file__);//Output test.php
PHP Learning Notes
??
recently, due to some kind of demand, is learning PHP ...
now make some notes to deepen the impression.
Source of PHP:?
? PHP abbreviation originally for Personal Home page, is Rasmus Lerdorf in order to
Face recognition technology for OPENCV and PHP
OPENCV packages that must be relied upon before installation: (Please install first) PKGCONFIGLIBPNGZLIBLIBJPEGLIBTIFFPYTHON[OPENCV installation] Www.opencv.org.tar XVZF OPENCV-1.0.0.TAR.GZCD opencv-1.
Six reasons PHP is incompetent on a large system (shooting bricks)
After the issuance of this article, it really caused a lot of controversy. It seems that there are many supporters of PHP. But looking at Php from one side is a must.
From PhP3 to
9 Powerful, free PHP libraries
?
1. ReCAPTCHA
ReCAPTCHA?? Allow your site to integrate with an advanced CAPTCHA system that can help you block some spam messages. The visual Captcha also has a useful sound function. In addition, in the reCAPTCHA
PHP Status and future trends
Let me introduce myself to you at the outset. PHP Video Tutorial!
This PHP video tutorial is provided free of charge by the Preach Intelligence podcast!
I also searched a lot of online information, found that the
Using PHP to rewrite the encryption method of Baidu MP3 address
Baidu MP3 Address is encrypted, the specific encryption method everyone see it. The decoding function is as follows:
Copyright http://www.k686.com//author tuzwu58@gmail.com function
Defragment: Php Date-time function date ()
Defragment: Php Date-time function date ()
1, year-month-day
echo Date (' y-m-j ');
2007-02-6
echo Date (' y-n-j ');
07-2-6
Uppercase Y represents the year four digits, while lowercase y represents the
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