Recently used Phpcms V9 two times to develop a person site, before using 2008 has a more comfortable keyword all display function, and v9 added keyword list function to the search, if the search for a keyword will automatically generate an increase to the Search_keyword table, This is not very like v9 search function, I think the general will be used less, and we
With a CMS software system, do a number of sites, unified management, users can communicate, this is called the station group function. This can save a lot of time for operations and maintenance, or it can be difficult to debug and maintain different systems at the same time.I used Phpcms V9 made the zhencms1.com site, intend to try the next station group function, the new station (or sub-station) name is "female site", Domain name zhencms4.com First
The Hosts file is under C:\Windows\system32\drivers\etc\hosts.With a CMS software system, do a number of sites, unified management, users can communicate, this is called the station group function. This can save a lot of time for operations and maintenance, or it can be difficult to debug and maintain different systems at the same time.I am using phpcms v9 do onow Chinese network (www.onow.cn), intends to try the next station group function, the new s
Phpcms V9 article page header two ways to set up
Today, one of my Phpcms site content page included, found that the content page paging title are repeated the same, but this is not conducive to SEO optimization. In the Baidu collection saw just received several content pages are repeating title mark, all is Phpcms v9 program pagination duplicate title caused. is not conducive to SEO optimization, and then w
Many friends will encounter this problem: in Phpcms V9 in the first page or the article content page call publish time {date (' y-m-d ', $r [inputtime])} Call display 1970-01-01, and then try to use truncation method also did not succeed, should do?Some friends suggest "first convert to time format, intercept it", the specific code is "{str_cut ($inputtime, $dot =")} ", and some people say" {$updatetime} directly with this call is good ", but many fri
Use Phpcms v9 friends know, V9 in the background to add content when upload attachment display is a link, so too impersonal, then how to display the file name? Small series previously published articles are uploaded after the copy link in the text plus hyperlinks, so very troublesome, today B5 Tutorial website Long today to tell you a solution.Specific how to modify, you can look at this article http://www.
This article describes the instructions for using template labels in phpcms v9. {Template "content", "header"} calls the root directory under the Phpcms\template\content\header file {CHARSET} character set (GBK or Utf-8) {if isset ($SEO [' title ']) !empty ($SEO [' title ']} {$SEO [' title ']}{/if}{$SEO [' Site_title ']}{$SEO [' keyword ']}{$SEO [' Description ']} title and title SEO optimization {css_path} address replace with root directory under \s
[Python] Call the WPS V9 API to convert PPT to PDF and pythonwps.
WPS APIs, that is, COM, are mainly divided into V8 and V9 versions. examples that are easy to find on the Internet are V8. You can download the V9 API on the official website.
Python needs to install Python for Windows Extensions to call COM, that is, pywin32.
The call is simple. The Code is as
PHPCMS V9 Web site Management System content page Comment module pseudo-static implementation
Phpcms V9 Comment Pseudo-static is based on the Listinfo support pseudo-static rules can be achieved, so we just skilled learning operation skilled use of listinfo, can be in the phpcms of any page to achieve pseudo-static paging, the following we began to gradually explain PHPCM
Phpcms V9 article page header two ways to set up
Today, one of my Phpcms site content page included, found that the content page paging title are repeated the same, but this is not conducive to SEO optimization. In the Baidu collection saw just received several content pages are repeating title mark, all is Phpcms v9 program pagination duplicate title caused. is not conducive to SEO optimization, and then w
Phpcms V9 can easily carry millions access data, the biggest contributor is PHPCMS good database structure, in the design of the database, must be under the full Kung Fu. The amount of information on the general Web site is far from this level, but it's also good for us to learn about PHPCMS's database structure. The default table prefix of the data table is v9_, when installing PHPCMS, we can choose to modify the table prefix, the main function of
This article describes the instructions for using template labels in phpcms v9." Call the root directory under the Phpcms\template\content\header file{Template "content", "header"}"Character set (GBK or Utf-8){CHARSET}"Title and Title SEO optimization{if isset ($SEO [' title ']) !empty ($SEO [' title '])} {$SEO [' title ']} {/if} {$SEO [' Site_title ']} {$SEO [' keyword ']} {$SEO [' description ']}"Address is replaced by the root directory \statics\cs
PHPCMS V9 Title Separator default is-, according to the online data, this delimiter for Google search engine is very friendly, but for Baidu, it prefers __ this conforms to the Chinese usage custom delimiter, therefore decided to change the website title delimiter to "_" to divide.Open the phpcms/libs/functions/global.func.php file under the Site directory, locate the function SEO, and further locate the following statement in the functionsseo[' title
Phpcms V9 intends to call thumbnails as a large slide, but the thumbnails are blurry
Have followed the online approach
注释 else imagecopyresized($thumbimg, $srcimg, 0, 0, $psrc_x, $psrc_y, $width, $height, $srcwidth, $srcheight); 修改 $imagefun($thumbimg, $filename,90);
Tested in various ways, but still not effective
Reply content:
Phpcms V9 intends to call thumbnails as a large slide, but the thumbna
Phpcms V9 two times development and use of various problem solving solutions (II.)
Template invocation
1, the content tag, the number 123456789 call?
{pc:content action= "lists" catid= "$catid" order= "id DESC" num= "10"} {Loop $data $k $v}
You can use the Strcut function for interception, whether it is the title or otherwise, as follows:
{strcut ($v [' title '],40, ')} is intercepted backwards, {str_cut ($v [' title '],40, ')} is intercepted f
I. Vulnerability principle:Vulnerability exists in the poster Module
Upload at on January 11
Download Attachment(65 KB)
We can control HTTP_REFERER and it is not controlled by magic_quotes_gpc. Therefore, the SQL statement can be successfully injected, resulting in the SQL injection vulnerability.Ii. Vulnerability exploitation effects and hazards:This vulnerability exists in the latest Phpcms v9 version. The following is the test result of
Many of the site's navigation bar can implement the drop-down level two menu, level three menu and other effects, today we will share Phpcms v9 Support dropdown menu method, can support unlimited sub-column calls, the specific wording is as follows:
ul>
{pc:content action="category" catid="0" num="siteid=" $siteid " order= "Listorder ASC"}
{Loop $data $c}
li>a href="{$c [' url ']}">{$c [' CatName ']}a>
ul>
{loop subcat ($c
Two methods for Phpcms V9 to call the column sub-column
Two methods for Phpcms V9 to call the column sub-column
The first, directly write the sub-column ID, with Cat in{pc:get? sql= "SELECT * from V9_news where status=99? and catid in (21,22,23,24,25)? ORDER by ID DESC "num=" 7 "return=" Data "}{Loop $data $r}? ?? ?
URL]} "title=" {$r [title]} "target=" _blank ">{str_cut ($r [' title '],40)} ({date (' m-
Article List page does not appear the article that passes
The code is as follows
Copy Code
Content action= "lists" catid= "$catid" num= "7" order= "Listorder DESC" thumb= "1" moreinfo= "1"}
The default background code thumb= "1″, but when there is no thumbnail, if the list is added to the picture loop, the contents are not recycled, so you should change to thumb=" $thumb.
The code is as follows
Copy Code
{PHP list ($copyfrom) =
Today, when I used phpcms V9 to add a new module, I found a strange problem: in the same module operation, sessions between methods (pages) do not work, that is, the $ _ Session array cannot be passed. I thought it was because the server didn't enable the session function. I tried it for various reasons, but I still couldn't. I finally found out why it was the system itself. When I created an operation class, I introduced a system file on the top, for
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.