The solution of Phpcms V9 Verification code graph crack
Today modified a pseudo-static, after a while trying to login backstage depressed, background login verification code diagram crack, can not normally landing.
Online to find a lot of things, patchwork only solved, collection automatic release killed people Ah!
?
In fact, the reason is very simple, I use the Phpcms V9 is UTF version, all the files,
Web site in the process of development, it is possible to modify the domain name many times. So how do we set it up in Phpcms V9?Please make changes to the following steps:
Modify the/caches/configs/system.php inside all and domain name, the former old domain name changed to a new domain name.
Go to Background Settings-site management, modify the domain name of the corresponding site to the new domain name.
Click the Update Cache button in
Phpcms V9 in the custom field supports image upload and multi-image upload, but after the film is not visible, because TA directly output the array, not compiled!To display its uploaded images directly in the form, you just need to modify the form's template, and here are the modified files and related code:First find the page template for the form, ". /phpcms/modules/formguide/templates/formguide_info_view.tpl.php", open and edit!Replace it with the
When building a station with Phpcms V9, the time tag is often used, it is the universal tag call-date time format, applicable to the whole station.1, Date time format display:A\ Standard type: {date (' y-m-d h:i:s ', $rs [' Inputtime '])} output: 2013-01-31 13:15:10B\ split: {date (' Y ', $rs [Inputtime]} year {date (' m ', $rs [Inputtime]} month {date (' d ', $rs [Inputtime])} Day output: January 31, 2013C\ Extended Type:{Date (' Y ', $inputtime);} 4
By default, Phpcms V9 's article URL path is dynamic, such ashttp://localhost/phpcms/index.php?m=contentc=indexa=showcatid=6id=1Now I'm going to optimize the previous bunch of URL characters to be short and relatively easy for the search engine to crawl the URLs:Http://localhost/phpcms/news/1.htmlThere are three steps to achieve:Custom URL RulesThe first thing to do is to create your own URL rules to understand some definitions and variable meanings.
PHPCMSV9 of the topic, in the settings generated static and static settings of the site to generate in the root directory, the URL of the thematic path will be a more slash, such as: http://www.2cto.com//special/ddos/, I can only say this is phpcms V9 one of the many weird bugs. Several members of the PC forum have been brought up repeatedly, but no official fixes have been seen. It took a lot of time today to finally find the problem and solve it.Wor
Phpcms v9 Publish Time Inputtime format is what, write different, format different
The difference between the UpdateTime and inputtime tags in the phpcms label:
①updatetime is the update time (also called modified time, is the background of the article list to see the time);
②inputtime is the time to publish when you first write an article (that is, when you add an article or when you modify an article).
such as {date (' y-m-d ', $r [Inputtime])}
The Phpcms v9 title delimiter defaults to "-", if you set SEO title "Web Development", the title bar of the Web page is displayed "Web Development-Weblog Blog", it is said, "-" the separator is more friendly to Google search engine, but Baidu is more green Levin in the "_" separator, Perhaps it is more in line with the Chinese habit of use it. With the Google in the Chinese market, before long I read an article on the search engine in China market sha
Tags: blog http os ar data div SP log htmlPHPCMS V9 Database Operation functionIndicates that the default current Load_model (' xxxx ') module is located in the table name xxxxTo specify the table name: Operation $this->db->select (...) in mysql.class.php1. Enquiry$this->select ($where = ', $data = ' * ', $limit = ', $order = ', $group = ', $key = ') returns an array of result setscondition, field (Id,name,email ...), sort by, group by, sort by name2.
Transferred from: http://sour.njcit.cn/html/2012/net_0420/503.htmlPHPCMS V9 Database Backup and RecoveryOne, database backup1. Log in to the website management background, record the version of Phpcms V9To prevent the database from recovering after a version upgrade, administrators should develop a platform version to record when backing up data. Also remind the Administrator to record the account number and password. 2. Access to the Database Tools
Steps to resolve:1. Modify the php.ini: Display_errors = On2. Try again and show the error:Fatal Error:require (): Failed opening required ' D:\Web\XXX\www\caches\caches_model\caches_data\yp_form.class.php ' ( Include_path= '.; C:\php\pear ') in D:\Web\XXX\www\phpcms\modules\yp\business.php on line 1283. Copy the yp_form.class.php to the D:\Web\XXX\www\caches\caches_model\caches_data\Source Path: \phpcms\modules\yp\fields\yp_form.class.phpCopy to: \caches\caches_model\caches_data\Refresh the whi
Phpcms V9 custom paging function, phpcmsv9 custom Paging
When you create a website, you may need to control the paging style according to the template requirements. At this time, many people will modify the global File phpcms \ libs \ functions \ global. func. the pages () function in php has the following problem: this paging function will affect the background, that is, this paging function is shared across the site.The solution is as follows: (You
', 0);//load Admin class Library under admin module94 classMytest_adminextendsAdmin the { the //This controller needs to be logged in to the background to access the } 98 //character encoding conversion functions Aboutphpcms/libs/functions/Iconv. Func.PHP - 101 //Outgoing mail function102phpcms/libs/functions/Mail. Func.PHP103 104 //extension Functions thePhpcms/libs/functions/extention.func.PHP106?>This document will be continuously updated ...Good good Study, day.Sequential Selection Cyc
Find the data source under the module in the PHPCMS background firstThere are two ways of data sources1, internal data source2, external data sourceOnly external data sources are done here. Add an external data source1) must fill in the database link information, specify a data name (within the station call is used)2) go to "tags", click on the Label Wizard, add a label to fill out the SQL statement to generate the following calling code{pc:get sql= "select * from CDs" cache= "3600" page= "$page
", "password" respectively, and keep the same password as the MySQL user on the virtual host.3. We modify the PHPCMS system configuration file. Found (caches/configs/system.php)Open system.php, change all 127.0.0.1 to domain name such as http://meinv520.cn.Ok. To this step, all the local files are modified, the following is to enter the background to modify the relevant parameters is OK.4. Go to PHP Admin, click "Settings, site management, modify" To change the site domain name to your domain na
Let's take a look at the code of the default column call:Copy the Code code as follows:{pc:content action= "lists" catid= "$catid" num= "order=" "id DESC" page= "$page"}{Loop $data $r}{if $n%5==0}{/loop}{/PC}As you can see, this is called the article title, URL, publish time, list paging, then how to call the article content?In this case, is it possible to use moreinfo= "1" and then call {$r [content]} inside loop? The answer is no, because look at the database structure to know: the content and
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.