thinkphp gzip compression is turned on by default
' Output_encode ' = true,//page compression output
The demand is like this
In an action, use the header to output a picture
Problem
Because thinkphp used the Ob_start
The page
Defines a class
Class myclass{ function Test () echo "Good";} $test 1= "MyClass"; $test 2=new MyClass ();
is to assign a class to a variable, what is the difference between the two methods of assignment?
Reply to discussion
Why do all buttons control only the same row of data? How should we solve it?
Insert Title here
Reply to discussion (solution)
I always thought you had a lot of grammatical problems with this code.
I always thought you had a lot of
One of my Google Map code on the server to run alone can be opened, but the code added to ecmall2.3 's default home page will not be displayed. A blank, find a classmate made the next say what app act parameters can not pass ah how to redirect, do
Ask prawn door, Php+mysql realize two cascade drop box, solve the Class A lot of cases, first select the year of admission and then select the class that belongs to this year's problem.
The year in the first drop-down box can be read, but when a
I want to implement login, such as an article only this login visible, how should be implemented, PHP to do, what should be done?
Reply to discussion (solution)
How do you verify that the user is logged in?In the database for each article,
I have a MySQL table named: Name, there is a field caozuo, there are fields: Zhuangtai
Which, in the Caozuo field, is an operation of the row data, now because of business needs, need to count operations 3 times the amount of data below!
This
PHP rookie how to improve the level of development, usually to Yeda not much time
Want to improve the level of development as soon as possible to learn PHP before work is to engage in some CMS template build station did not learn how much
I pretend to be appserv, of which http://localhost; Http://localhost/phpinfo, can be correctly displayed, but http://localhost/phpMyAdmin can not open, also changed the config.inc.php in the password, or not, Ask the high finger to teach also where
To do a simple website Login interface and logout interface, in the login interface of the PHP code to set a cookie, want to show in this program is not displayed, in the Logout interface code can be displayed.
The code for setting and displaying
A questionnaire has 500 topics, each subject has five options, some abcde are general options, some of the topics e options for others, users need to fill in. As follows:
1. Your job title
a.111
b.222
c.333
d.444
e.555
2. Your School
a.111
b.222
c.
For example, how does an address such as http://127.0.0.1:3517/caskesh/data/index.php?i1=23&i2=80 allow it to jump to
Www.baidu.com/7/index.asp?i1=23&i2=80
or www.baidu.com/7/?i1=23&i2=80 this page?
The parameters of I1 and I2 can be modified
The drop-down menu relates to a field in a data table that stores the names of several other databases, selects a value from a drop-down list, such as 0004 (that is, the name of another database), how to obtain and open the database as a variable?
Where is the problem? I just give the $order value in the argument, I can't find the record.
But without this value, we can find 5 records.
I feel that there are some grammatical problems, please note your hand, thank you.
Reply to discussion
Recently learned PHP object-oriented development, a novice, we do not laugh, want to develop a psychological test interface, psychological test topic type is jump transformation. As follows:
1. Are you in good health enough to withstand
Do you have to use Notepad to write PHP programs under Windows? Black words on the white bottom look good dizzying ah, there are like the editor on Linux a nature of software can be used? Solving...
Reply to discussion (solution)
Zend
Single Sign-on, such as www.aaa.com,www.bbb.com two sites, to achieve AAA login, BBB website also implement login
These two days on the Internet to view a lot of information
Basically say using the user Authentication Center, set ticket, I
I only write meta description on the homepage and then search for it to show this description.
How to be like a picture, each main menu also shows description?
For example, Google search HTC, you will see the menu has description.
I can't
What does the bottom of PHP mean by C? How is the PHP program executed at the bottom?
Reply to discussion (solution)
Looks like this.
Looks like this.What are these ...?
PHP is written in C language.
Java is written in C, and PHP is written
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