This article describes a solution to Phpexcel allowed memory size, which can be referenced by friends who encounter this category.
I am using Phpexcel to import a 31-column, 500-line document, after import, PHP will report the following error:
Fatal
We know that PHP in the array to write variables in two ways, we appear that the hint is you write [name] This will have notice:use of undefined constant name-assumed name hint, the solution reference below.
Ways to turn off PHP hints
Search PHP.ini:
This article introduces some special character substitution in PHP development, and the students who need it can look at it.
Function name: Replacespacialchar ($C _char)
Role: special character substitution function
Parameters: $C _char (string to
Session_cache_limiter () returns the name of the current cache limit. If Cache_limiter is specified, the name of the current cache limit is changed to the new value. Cache throttling controls the cache control that HTTP hair sends to the client. The
In PHP to create a picture is required to use a GD library, by default, Phpstudy is open, but to phpStudy2013 after the GD library is like a PHP default installation is no longer open this feature, to users need to configure.
phpStudy2013 GD Support
dedecms5.7 for weight sort is a bug, the following I step by step to tell you how to solve the weight invalid solution, specifically, please refer to the following.
The file involved is includetaglibarclist.lib.php file:
Around Line No. 570:
Today to upgrade the PHP version, suddenly appeared deprecated:function set_magic_quotes_runtime () is deprecated error, below we summarize
Cause Analysis:
Recently upgraded PHP version, the new version of PHP to Set_magic_quotes_runtime () has been
We have open_basedir error in Require,include and Require_once,include_once, the following Baidu has some solutions, need to refer to a friend.
As long as you use the require or include include file (either./xx.php or xx.php) The following error is
Because we use a simple function, we use the file_get_contents function, so that it can analyze the CPU 100% is really the scene, and now let's look at the solution that causes CPU 100%.
Running the Nginx, php-cgi (PHP-FPM) Web Service Linux Server,
Ini_set can be used to quickly modify the php.ini configuration settings Oh, no need to open php.ini, especially the virtual host when you do not modify the php.ini permissions when you will find the role of this function, about
The following summarizes some of the phpmyadmin encountered in the development can not log in the solution, the need for friends can refer to.
Error
MySQL return:
#1045-access denied for user ' root ' @ ' localhost ' (using Password:yes)
Locate the
FCKeditor Editor is a foreigner out of the Chinese language support is not good, if we directly use the Chinese file name will be wrong, or upload a picture failed, let me introduce the solution.
Here are the 2 ways to change.
Method One,
THINKPHP3.0 after uploading a file thumbnails can not be saved to subdirectories, because UploadFile.class.php this upload class Getsubname () function can only create subdirectories of the original image and not create a thumbnail of the
How to realize the Web browsing record display?
Answer
For example, Thunder look at the edge of the historical view, there are some news sites in the history of click, there is no such case? Please advise, thank you.
Other Solutions
Save the URL
This article describes the Preg_match regular matching hint pcre.backtrack_limit solution, a friend you need to refer to.
Use Preg_match to extract the target content, dead and alive there is a problem, the code measured very much.
Later suspected
BOOL In_array (mixed needle, array haystack [, BOOL strict])
Searches for needle in haystack and returns TRUE if found, otherwise FALSE.
If the value of the third parameter strict is TRUE then the In_array () function also checks whether the needle
The strange question of the session (has been searched, oneself also cannot solve)
My landing page, is to determine whether to login, directly enter the address of the landing window, the first time you have no access to the session file appears
This may be PHP4.0 under Windows A bug, hope to be able to be completely resolved in a later version. The current solution is to set the path of the save session to the current path (only in this way, it will not be wrapped correctly).
The method is
Whether IE cookie length can be set
Answer
Recently encountered a problem ~ registered cookies too many computer IE can not save too much, but some ie, it is strange. The same is 6. is the 0 version of IE storage cookie different in length?
This sentence is in PHP development will touch some problems, see this hint we all know is the variable is undefined, then the following to solve the notice:undefined index method,
One, because the variable is undefined we just have to find 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