thinkphp system configuration is in array form, configuration file address: bin/conf/config.phpCheck_file_case--Strict check case under Windows environment./* Project Settings */' App_debug ' = false,//whether to turn on debug mode'
interview of Struts,spring,hibernate three frames1.Hibernate working principle and why use? Principle: 1. Read and parse the configuration file 2. Read and parse the mapping information, create Sessionfactory 3. Open Session 4. Create transaction
Hibernate allows lazy loading of associated objects, properties, but must ensure that deferred loading is limited to the same Hibernate Session range. If the Service layer returns a domain object that has the lazy load feature enabled to the Web
Logic: Register jump to register processing page, database to add registered informationSign up to log in and jump to the login processing page after logging inThe main page needs to display all the information in the database table that is audited
Forward TunnelThe topology is as follows:650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7F/A8/wKiom1coD96CeuYIAAAnPHayOLU217.png "title=" 1.png " alt= "Wkiom1cod96ceuyiaaanphayolu217.png"/>DescriptionThe client cannot access the Web
1, installation is very simple, after downloading the direct graphical installation can be.2, because is installed in the server side, need to configure some things to use, as follows:2.1 SECURECRT configuration (this part is transferred from Baidu
What is Opensessioninview?When using the Load method in Hibernate, the session is closed when the data is not actually fetched, and when we really want to get the data, it forces load to load the data, and the session is closed, so an exception
thinkphp supports configuration formats in multiple formats, but ultimately it is a way to parse into a PHP array.PHP Array Definition the way to return PHP arrays is the default configuration definition format, for example: //project
1,Download CentOS 64 version http://mirrors.sohu.com/2,Most streamlined installation3,Have DHCP server use dhclient automatically get IP address route view Gateway and subnet maskEnter the NIC configuration without DHCP to manually set the static
The role of the session is many, the most used is the site within the variable transfer of the page. At the beginning of the page we want to session_start (); open session;
Then you can use the SESSION variable, for example to assign a value is:
PHP file lock and MySQL table lock have probably want to use, that is, only one person to operate at the same time, so as to avoid the simultaneous operation of the same file, so that the loss of data situation, let me introduce you to the PHP file
Beyond Compare powerful, but in the use of Beyond Compare compare some Java or JSP file containing Chinese, obviously in the project is right, but with Beyond Compare opened after the garbled, and looked at a bunch of garbled and uncomfortable. Then
PHP Three common ways of transmitting values to different pages, and the problem of the transfer of PHP and HTML, phphtml
In the project development often see the different pages between the value of the web work, this article gives you a list of
[PHP Learning log] Simple session of the use of PHP learning log session
First of all, give some explanation of the session: the most practical network protocol is the HTTP Hypertext Transfer Protocol, it is "stateless", so-called "stateless"
Ask questions and answers about the three big frameworks I've been studying recently.What is SSH full name? What are the three frameworks and what are their strengths and weaknesses? How does hibernate work?SSH refers to
__file__: Get file absolute path:D:\WWW\ecshop\admin\includes\init.phpDirName (__file__): Absolute path to the folder where this file resides:D:\WWW\ecshop\admin\includesIni_setfunction format:string Ini_set (string$varnamestring$newvalue// The @
In the project development often see the different pages between the value of the web work, this article gives you a list of three common ways.
Contact PHP also has a few months, this article summarizes this period of time, in the programming
Let's first check if our PHP is open to the GD library.
Copy CodeThe code is as follows:
if (extension_loaded (' GD ')) {
Echo ' You can use GD
';
foreach (Gd_info () as $cate = = $value)
echo "$cate: $value
";
}else
Echo ' You did not install GD
When setting a COOKIE on a page, you must refresh or go to the next page to get the value of the variable using $_cookie.
The reason is that when the page is first loaded by the browser, the cookie in the page is set and sent to the client's
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.