PHP Learning Notes (1)
????? Now we are in a very bad time, all very depressed. Face a lot of choices: go abroad, work ... Department, we are now very confused, we do not know what to do, objective things we can not change, then we can only change
Novice ~ ~ Smarty Table only Son value problem
Want to try the basic value of the pass ...
Why is it undefined? At first it was thought that two pages were instantiated a new object ~ ~ Then the next.php $smarty = new Smarty; to delete ~ ~ Results
The design thinking of the background permission
Administrative permissions are split into individual users, and there is no unified user group.
Permissions are divided into nodes, which are divided into each operation.
How to do this kind of design.
Jpgraph details of the use of problems, to reach people ~
Now using Jpgraph to generate a radar chart, but after the resulting image has a black border, where to modify the code can be removed from the border or custom border? For the use of jpgraph
Path problems with PHP files
If it is just php file reference, use DirName (__file__) can be solved.
But if there is HTML code in the referenced file, the URL is not a good location.
Using the methods available online to solve this problem, link
PHP =
Example 1 in this example, the ID key is automatically assigned: $names = Array ("Peter", "Quagmire", "Joe"), example 2 in this example, we manually assign the ID key: $names [0] = "Peter"; $names [1] = "Qu Agmire "; $names [2] =" Joe "; you
Configuration file now requires a phrase password phpMyAdmin
The configured phpmyadmin3.2.4 is used to manage the MySQL database, after landing, the page prompts: The configuration file now requires a phrase password.
Workaround: Edit the config.inc.
PHP_ Error Resolution _sessioin
Having problems writing your shopping cart,
?
?
Fatal Error: Dangdangservice::addcartitem () [Dangdangservice.addcartitem]: The script tried to execute a method or access a property of a incomplete object. Please
Just looked at Yii, said to establish the first application of testdrive, how to build AH
% YIIROOT/FRAMEWORK/YIIC WebApp webroot/testdrive
Note: When running YIIC on MacOS, Linux, or Unix systems, you may need to modify the permissions of the Yiic
A basic PHP problem
Problem:
Assigns a string to an array.
String: $str = 1,2,3,4,0,34,0,8,55,0;
Array: $array = Array (1,2,3,4,0,34,0,8,55,0);
I want to use variables as parameters to the value of the array, how to write?
The following syntax
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
Dedecms seesion Problems
I am DEDE5.7 's PHP5.4, just beginning blank, said is @session_register incompatible 5.4, I follow the online said gaze, hint said, landing success, but back to the landing meet out these two mistakes
Warning:Unknown:The
Zend Studio Copy-paste card is deadly
I recently in PHP development, I heard that Zend Studio good, on the latest version, now the development has been more than half a month, the other is also smooth, but only in the copy and paste inside the code,
How to install php5.2 in Ubuntu 10.04 or later
Ubuntu 10.04 or above does install php5.3, and if you need to install php5.2, you can install it automatically with the script in the attachment.
Installation steps:
1. Download the uncompressed
Phprpc for Java Introduction
PHPRPC is a lightweight, secure, cross-network, cross-lingual, cross-platform, cross-domain, cross-field, multi-tiered, support-enabled, service-oriented, high-performance remote procedure call protocol that supports the
PHP gets the computer's unique identifier [CPU, Nic MAC address]
//Get CPU information of the computer function Onlyu () {$a = '; $b = Array (); if (function_exists (' exec ')) {if (mailto:! @exec (/all ", $b)) {return false; }}elseif (Function_
Reference parameters and number of parameters for PHP functions
Today a public function is used, but this function has a local parameter of only two, some need three parameters, after analysis, the following code:
function f (& $a,& $b) {$a =
Please analyze the Master
http://nj.ganji.com/jiaju/
Http://nj.ganji.com/jiaju/317581709x.htm
This is Go's furniture column and the column under a message, please analysis, this will not really be generated such a directory, the directory is
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