Environment php5.2.13, mbstring extension not supported
If PHP's source code package is/usr/local/src/php-5.2.13
PHP installation directory is/usr/local/php
# cd/usr/local/src/php-5.2.13/ext/mbstring/# rpm-qa|egrep "AUTOCONF|GCC" This is to detect
How do I turn on OpenSSL and mcrypt support?
1, to open MCrypt support, the system needs to install the Libmcrypt.dll library.
This general user is not installed, but do not worry, PHP's Windows release package has given us this file, in the PHP
I set the error_reporting to E_all.
When reading data, such as $row[' name ']
There will be many notice:undefined index: error,
What should I do? Error_reporting (E_all & ~ e_notice) so?
Undefined index: Refers to the existence of your code: "The
This article mainly introduces how to use PHP to connect Mysql database through ODBC, the principle of which is no longer introduced here, please directly test the code below:
Copy to ClipboardWhat to refer
PHP warning:date (): It is not safe for rely on the system ' s timezone settings. You is *required* to use the Date.timezone setting or the Date_default_timezone_set () function. In case you used any of those methods and you is still getting this
Php+access connection database commonly used in two ways
1. Connect using PHP's Odbc_connect () function by creating an ODBC driver
Copy to ClipboardWhat to refer to:
[www.bkjia.com]such as: $connstr =driver={microsoft Access DRIVER (*.mdb)}; Dbq= "
1. Cause Analysis:
When you save to the database! MySQL does not store Unicode characters:
MySQL is only supported from basic multi-lingual plane characters (0X0000-0XFFFF). Please try to store a synonym instead:)
Update: MySQL on 5.5.3 (which has
very simple for files to share on the web
1 Execute *nix command to get this directory file2 Generating Download links3 Support Chinese name, can contain space in name4 source code Please save as UTF-8 encoding5 Assuming the share path is Http://xx_
Json as a lightweight data interchange format, began to be pro-gaze, with an XML grab on the site of the limelight. Happily, PHP also built the function of JSON serialized data into functions, which makes it convenient for Phpcoder to use JSON.
In
We can use the header to control the HTML page using the META tag and PHP program. For example:
The code is as follows
Header (' cache-control:max-age=86400, Must-revalidate ');//24 hours
Header (' last-modified: '. Gmdate (' d, D M Y h:i:s '). '
Sort: This function assigns a new key name to the cells in the array. This will delete the original key name and not just reorder it.
Rsort: This function reverses the order of the array (highest to lowest). Delete the original key name and not
Now many companies are using PHP to write API to docking the front-end web/ios/android, the cloud and the end is completely separate, unable to do dynamic negotiation. If both parties agree a static key, then in the Web JS is transparent, even if
The following is the referenced content:
Verification Check Code
if (Isset ($HTTP _post_vars["sub")):
if ($HTTP _post_vars["number"]! = $HTTP _session_vars[login_check_number] | | empty ($HTTP _post_vars["number"]) {
echo "Check code is
I, to the computer this aspect has the very big hobby, now finally the work to earn some money, for the computer language this piece also only to understand the fur, or is to say only to understand a little, now I look internet it these already to
I'm doing a thing these days. Study PHP reads more rows of files (about millions of lines). Consider the issue of efficiency. A simple study was carried out.
First. The efficiency of the file () function.
The file () function is very inefficient if
The first method: using AltaVista search engine to achieve
This method is to check the number of links to your site. This is achieved using AltaVista search engine. Here, we use the following search engines:
Http://www.altavista.com/cgi-bin/query?kl=
MySQL seems to be starting from 5.0 to introduce stored procedures, anyway used to do the application has never touched, but now because the main internal system, so many applications have used the stored procedures, of course, the front desk
Since XMLHTTP is using Unicode encoding to upload data, and the General page is gb2312, this results in garbled display of the page. When the page is fetched, XMLHTTP returns the Utf-8 encoding, which results in garbled display.
One workaround is to
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