Some problems with PHP object-oriented development the following code is a method in the class:
Public function getHead (){
$ Map = array (
'A. status' => array ('EQ ', 1 ),
'A. recommend' => array ('EQ ', 1)
);
$ Prefix = C ('Db _ prefix ');
$ Data
Create a verification code, suddenly a large number of errors, please help look, thank you I am trying to write a verification code php script, first began to prompt the image function is not available, so I added the php5-gd
After the installation
Two sets of paging problems, think about it.
query('SELECT COUNT(*) FROM library.messages')->fetchColumn(0);$sql = 'SELECT * FROM library.messages'." LIMIT $perpage OFFSET ".($offset-1);$result = $db->query($sql);if ($result){foreach
Php program installation error someone else's website can display the verification code normally. I am using the same program as him. after installation, I prompt [method does not exist ].
If (! Class_exists ($ control) notfound ('unable to
About the reason why mysql automatically inserts 2 pieces of data at a time, and find a solution http://topic.csdn.net/u/20120612/00/25dbb044-9e8c-4065-af34-e22ae0b0b1a8.html
This problem occurs when Google chrome inserts two data entries, IE and
Does the first parameter of the exec function in php use an absolute path? As the question! Thank you! If the absolute path is required, how can this problem be solved!
Reply to discussion (solution)
Isn't the first parameter of the exec
PHP compressed file password
PHP implements file compression and I want to add a password.
As far as I know, using system commands can be implemented. PHP self-expanding can support compressing files and directories, but I don't know how to add a
What is the difference between static pages and Memcached? Sorry, I don't know much about php. I do java, because Memcached also exists in java. I still have some knowledge about Memcached in java. Our company is working on a mobile phone
How to convert the url to an array of the expected format? Fid = 8 & type = 1 & hot = 2 & other = 6 & page = 3
Array
(
[Fid] => 8
[Type] => 1
[Hot] => 2
[Other] => 6
[Page] => 3
)
Reply to discussion (solution)
Parse_str
Memcached or redis is recently used as an image application for image storage. it requires a high reading speed. Generally, the reading speed from the physical hard disk cannot meet expectations. Therefore, I would like to try memory storage,
Thinkphp has a strange 500 error because a project is made in the thinkphp2.0 environment.
Now we need to use git to submit the version for development.
So I encountered a strange problem. I put the file in a git initialization Directory, submit
Call $ resultStr = _ response_text ($ postObj, $ contentStr); write it up but call the database $ resultStr = $ rows ["softsize"]; the value in the softsize database is _ response_text ($ postObj, $ contentStr). why not ??
Reply to discussion
How can I design an infinitely classified database table? how can I design the best database table?
I am writing multi-level menu background
I don't know how to write well ..........
We plan to use jstree as the frontend ..
Reply to
How can I use excel or computation to re-send the database information to the administrator? How can I use excel or computation to re-send the database information to the administrator?
It is like reading data from a student exam submitted on an
Php Basics + jquery Basics 1. compile a function so that it can return the number of weeks between them based on the passed 2-year week number (including the two weeks passed in)
2. use JQuery to dynamically add the amount input box for each day
The question of json concatenation in php is to splice the content in the database into json in the following format. please use the code to describe it.
['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun','Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
And in
Session_id assignment has some inexplicable difficulties. the reason why the values of session_id must be passed is that both page A and page B are in the same web root directory, because page A needs to use the curl post to access page B and obtain
$ _ Server problem. Why can't I disable index. php's host url rewriting?
$ _ SERVER ['path _ info'] will disappear,
Instead
$ _ SERVER ["ORIG_PATH_INFO"]
As a result, the removal of index. php will become invalid based on $ _ SERVER ['path _ info '].
Solution for interfering with regular expressions with characters such as S in the content I found that some characters in the content are displayed in articles, and there is a problem with regular expression matching, such as the following
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