The general virtual host provides the phpMyAdmin, selects your website database, and then chooses v9_admin this table,Editpassword, into: Fa3250300be9b7ab0848257f3cbb06e7encrypt, into: UCFFAPso the password will be changed to PHPCMS, you can log in normally. you can also putpassword into eeddc98ecb7cca0b0502c8c1e733549e .encrypt into: FpaidjIn this way, the password will become phpcms, so that you can log in, only change the value of MD5 is not, but also to change the value of encrypt, this mech
PHPCMS v9 super Security tutorial
I. directory permission setting is very important: it can effectively prevent hackers from uploading trojan files.
If you use chmod 644 *-R, the PHP file has no access permission.If you use chmod 755 *-R, the PHP file has higher permissions.
Therefore, you need to set the Directory and file permissions separately:
Linux Server permissions: Frequently Used commands:
Find/path-type f-exec chmod 644 {}\; // set the File
Vulnerability exploitation code:
/Index. php? M = search c = index a = public_get_suggest_keyword url = asdf q = ../../Phpsso_server/caches/configs/database. php
Original article: http://www.wooyun.in/post/7.htmlWww.2cto.com solution: this should be a problem of previous versions.Http://v9.demo.phpcms.cn/index.php? M = search c = index a = public_get_suggest_keyword url = asdf q = ../../Caches/configs/version. phpV9.1.13 20120129. This issue
When phpcms V9 is installed, if the database name contains uppercase letters, an error is returned when you post the second comment:
MySQL query: Create Table 'jq _ comment_data_1 '('id' int (10) unsigned not null auto_increment, 'commentid' char (30) not null default '', 'siteid' smallint (5) not null default '0', 'userid' int (10) unsigned default '0', 'username' varchar (20) default null, 'creat _ at' int (10) default 0, 'IP' varchar (15) default
The tag function of phpcms V9 no longer supports Limit = "2008" as it does in, which greatly hinders our call. I don't know if it's not, or I don't know whether or not. the written function labels are easy to use.Code:
{PC: Content action = "Limit" type = "Lists" catid = "54" Thumb = "" Order = "listorder DESC" step = "3,5 "}
{Loop $ data $ R}
{/Loop} {/PC}
Type: defines the category. Optional values: lists or position.
Catid: this value
book v9.1 fluid flow software SolutionsEpcon. Chempro. V9Epcon API Tech Data book v9.1 fluid flow software SolutionsEpcon sinet v9.2.1.25173 Petrochemical Industry piping System design softwareInvensys Simsci-esscor proii v9.4-iso 1CD process simulation softwareapplied.flow.technology.arrow.v6.0.1100.build.18112015Csi. sap2000.v18.0.1designbuilder.v4.5.0.148Epcon. Api. tech.data.book.v9.1Epcon. Chempro. V9Epcon. sinet.v9.2.1.25173invensys.simsci.proii.v9.4steel.connection.studio.v11.0.02VERO. V
Continue with the main part today.
{Template "content", "header"}
Call the root directory under the Phpcms/template/content/header fileThis is a div tag, do not know what is div can go online to find some tutorials to learn, this is not understood there is no need to continue to see
The above is Phpcms v9 Template production tutorial (three), more relevant content please pay attention to topic.alibabacloud.com (www.php.cn)!
DESC ', ' limit ' => ' 4′)); }{Loop $data $r}{/loop}
Publish article does not display user name
V9 foreground static sometimes does not display the user name that updates the user, the concrete modification method is as follows
Content_model.class.php Line 120th
The code is as follows
Copy Code
$urls [' Data '] [' username '] = $systeminfo [' username '];Endhtml.class.php Line 29th:Amount We have to get the ar
PHPCSM Content Management System overall experience is not very good! But the discovery has since been officially given to the Grand takeover. Found that the official pace is not keep up with the needs of users. In the old version of PHPcms2008, there are keyword batch replacement functions. But not to the new version of Phpcms V9 plus batch replacement keyword small function. The new one also records the SQL statements of each batch to replace the ke
Display format of {$ inputtime}The default time tag of the phpcms v9 content page template is {$ inputtime}. The default time format after the content page is updated is 00:38:12. Obviously, this time format is not necessarily what we want. Most website content pages do not need to be accurate to seconds. If we do not want to display the unit of seconds, how can we achieve this?On the Internet, some netizens recommended string truncation. Blue looked
Channel Total Ranking Call method Channel Monthly ranking Call method Method of calling all articles of the station:You can see "substring (b.hitsid,5)" is the Intercept hitsid field, from left to right number 5th string, namely "c-2-5" from left to right number, 1 "C", 1 "2", 2 "-", 5th character is "5", after interception only left 2nd "-" After the ID, the purpose of the final extract ID is reached. Of course, I also added another condition "status=99", this means that has been approved by
($where = ', $order = ', $page = 1, $pagesize =, $key = ', $setpages = ten, $urlrule = ', $array = Array ())3, get a single record query Get_one ($where = ", $data = ' * ', $order =", $group = ")4. Directly Execute SQL queries query ($SQL);5. Get the primary key number of the last record added insert_id ()6, perform Update record action update ($data, $where = ") $data suggested array, $where can be a string for the array7. Perform Delete record operation Delete ($where)8. Count the number of r
the workflow. (Note: Only ordinary administrators can be set as auditors; Super admins and regular members do not appear in the list of Auditors)Step: Extension --workflow---- review Select the auditor at the first level audit staff list, submit it;Tips: You can also add workflows yourself, customize the audit progression, and audit people to complete the step-by-step review requirements for your article.4. Set up the audit process of the column.Step: Content -- Management column , mod
About how to set listorder in the option sorting of the phpcms v9 voting module, the younger brother changed three files in three places.
I think this method is enough. You are welcome to make a brick.
Modify three files:
1. Found in phpcms \ modules \ vote \ templates \ vote_edit.tpl.php
[Html]
[Html]Sort:
Sort:
2. Found in phpcms \ modules \ vote. php
[Html]$ This-> db2-> update_options ($ _ POST ['option']);
$ This-> db2-> update_options ($ _ PO
The first of these solutions:The first step: Extract the Yp_utf8 compressed files: API, Caches, PHPCMS, statics four folders.Step two: Overwrite the folders in the root directory of the installed PHPCMS system with these four folders respectively. This step directly copy the folder overlay on the line, do not go to separate copies of the files under these four folders. I just started by copying files separately to overwrite them, and the results are always blank. Remember to overwrite the folder
First, site title to the site namephpcms\libs\functions\global.func.phpfunction SEO functions, about 1468 lines, so you can directly call {$SEO [' name ']} in the template to display the site name$seo [' name '] = $site [' name '];Second, search not by category, directly search out all the information containing the keywordOpen phpcms\modules\search\index.php Findif (!empty ($segment _q)) {$sql = "' SiteID ' = ' $siteid ' and ' typeid ' = ' $typeid ' $sql _time and MATCH (' data ') against (' $s
Phpcms in the background to add the external links are open on this page, phpcms background also has a direct external link to open a new window function, Next I will tell you, in the code add a judgment to complete.If your external link is a sub-column displayed in the list, then find the content of the list.html, if it is displayed on a single page to find page.html, if the navigation is to find heard.html. Locate the attached a tag, and then on the a label, a judge:Because of the external lin
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.