Java and PHP share memcached problems and solutions in storing data
Java and PHP share memcached problems and solutions in storing data
Posted by Demon at 05:57 a.m. on 2010
PHP writes the data Java cannot read, Java writes the data php reads
Phpexcel resolving excessive memory consumption-set the Cell object cache
Phpexcel is a powerful PHP open source class that handles Excel, but a big problem is that it takes up too much memory, Starting with 1.7.3, it supports setting up the cell
thinkphp how to turn off caching when developing
Because it needs to be changed frequently in development, it is necessary to delete the cache frequently to see the effect.
So for the convenience of development, you can remove the cache.
1. Find
PHP converts a date string to an example of the current number of days
Enter as a date string, for example: 2011-3-23
The output is an example of the current number of days, for example: 1
?
The code is:
?
public static function Convertdatetolong
How to implement PHP extensions with C customization
Since a part of the code needs to be decrypted, it is necessary to extend the PHP module, so simply use Base64 to implement a simple encryption algorithm. Because of the relationship between the
Maximum PHP upload file limit
Locate the php.ini file in the/etc/php5/apache2/and modify the following places:
1. Max_execution_time
The default is 30 seconds, and setting to 0 means there is no limit. This parameter is primarily used to set the
Where is PHP efficiency?
Using single quotes instead of double quotation marks to contain strings can be faster. Because PHP searches for a variable in a string surrounded by double quotes, the single quotation mark does not, note: only echo can
Build a PHP environment under the Windows XP platform
When I first contacted PHP, I felt it was too difficult to build PHP's running environment, and found out that there are ready-made software packages available, very happy. At first because
Phpexcel Export Chinese name picture, this time really is to seek master, generosity to points
The English can be exported, but the Chinese name cannot be exported. At first, it was done by processing the encoding to convert UTF to GBK thought
Configuring the Java Environment for PHP
Java's powerful is well known, PHP's simple and easy to use is not put in doubt, but occasionally encounter PHP can not solve the problem-mainly certificate certification, processing and so on. So someone
Three ways to use PHP namespace
PHP 5.3 In namespace is actually a good thing, you can simplify the programming, the following describes the three categories in the code
Methods for accessing classes in namespace
1 referencing namespace and
PHP-based development environment under PHP Win7
Today re-made a win7 system, all the environment reconfiguration
?
The steps are as follows:
?
One, download Apache, version: Httpd-2.2.17-win32-x86-openssl,apache installation Nothing special, the
The difference between the array merge and the + number in PHP
PHP Array_merge will change the value to 0, 1, 2 ..., even if it is cast to a string.
Example-Using Array_merge
$a1 = array(??? '9' => '0',??? '311' => '1',??? '快乐' => '2',???
Wrote a PHP identification code of small program-welcome everyone to row bricks.
Recent research on some of the breakthrough verification Code knowledge, recorded. On the one hand is a summary of these days learning knowledge to help themselves
Linux settings file permissions, do not let the operator delete files, online, etc.
In Linux, it is ready for the operator to be readable writable can be modified, that is, to not let the operator delete files,
How this permission is set, thanks
----
PHP gets the path, name, and server path of the running file before the current period
echo "Displays the relative path and file name of the script file: \" ". $_server[" Php_self "]." \"";echo "Displays the CGI script specification used by the
How return values are returned when using the OnSubmit event to trigger Ajax
This is a form.
Untitled Document
This is the Xmlhttprequest.js page.
var xmlhttp = false;if (window. XMLHttpRequest) {//mozilla, Safari, and other
Amfphp1.9 Non-beta related cases
1. Coding issues
Fatal error:uncaught exception ' verboseexception ' with message ' Cannot modify header information
Corrective measures:
Use ANSI encoding (this make up, conversion is troublesome) or UTF8 no BOM,
Ways to get file paths
I want to read a Word document, require the user to select the file path ~ ~ ~ I can think of is to use the File Upload button to get the file path, and then upload the temporary file to delete it ~ ~ ~ There is no other way
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