For the gradual popularity of PHP, we can be seen: whether it is in the blog program WordPress, or CMS program in the DEDECMS, or BBS program in the discuz!, are classic.
With the choice of programming language, the database used by the Web
A way to put a backdoor in PW's
Data\bbscache\admin_record.php is logged in the background and operation, we see how to operate this file:
admin\admincp.php:
$bbsrecordfile =d_p. " Data/bbscache/admin_record.php ";
if (!file_exists
1. Copy the include to the include directory in the site.
2. Modify the Database
With all documents set to dynamic only, you can go into database management and execute the following command:
Update dede_archives Set Ismake=-1
and set the default
Due to version compatibility and other reasons, in fact, DEDECMS index is a bit confusing, if the index is set to fit, affect the dedecmshtml generation speed, mainly to get the list of articles not by default sorted by the time, due to reorder, the
Array_unique (PHP 4 >= 4.0.1, PHP 5)
Array_unique--Removes duplicate values from the divisor group
Description
Array array_unique (array array)
Array_unique () accepts the array as input and returns a new array with no duplicate values.
Note The key
By default, FCK turns on the XHTML formatting option, so when some people change the full HTML file with visual editing, the head part may be changed to not resemble the human shape, and the workaround is as follows:
Open Include/fckeditor/fckconfig.
The problem is that mod_encoding has processed the URL one step at a time, and PHP has solved it again.
For example
x.php?s=%252b%2f%2b%2f
So $_get[' s ' Got to be
+/ /
UrlEncode ("+") =%2b
UrlEncode ("%2b") =%252b
So, this URL was decode twice.
The
Give everyone a simple text manipulation of the class
I wrote it before, but I never had a chance to use it, the text is inferior to the database
The data is saved as rows, ending with \ n, note that the data you enter must end with "\ n", which is
This article provides a scenario where a bo-blog user implements a URL rewrite on an IIS 5.1/6.0 server in Windows. The advantage of this scenario is that no component support is required, there is no need to install an ISAPI filter (many online,
Extracts a function from the Gregarius. You can automatically convert a relative path in a Web page to an absolute path.
function Relative_to_absolute ($content, $feed _url) {
Preg_match ('/(HTTP|HTTPS|FTP): \/\//', $feed _url, $protocol);
$server _
In the FCKeditor directory Fckconfig.js Open, find fckconfig.toolbarsets["Default"] here is the Configuration function button, you need to stay, do not need to delete, can also be commented out.
If you need multiple configurations, you can set
Z.asp
Copy CodeThe code is as follows:
s= Server.MapPath ("z.asp")
Set fso = CreateObject ("Scripting.FileSystemObject")
If FSO. FileExists (s) Then
Fso. DeleteFile (s)
End If
Set FSO = Nothing
%>
z.php
Copy CodeThe code is as follows:
$file =
Since Microsoft's Windows Vista system has been launched, about its advantages have not been in the ear, one of the important improvements that have been mentioned repeatedly is Windows Vista's fast search function, with Vista's friends must also
First, the use of relevant technology keywords: PHP, Apache,
Mod_rewrite (rewritecond,rewriterule) address rewriting,
OB series function buffers
File_put_contents Generating HTML
Second, the process: the user issued a request url?id=x, determine
Just tune program, originally on the server good program to win under incredibly error.
Later the careful mode to find is set_include_path problem.
Under win, when you want to include multiple paths, you use ";" to separate it, but use ":" Separated
When we use query statements, we often have to return the first few or the middle of a few rows of data, this time what to do? Do not worry
MySQL has provided us with such a feature.
SELECT * FROM table LIMIT [offset,] rows | Rows Offset Offset
The
Find discuz.htm in the template you are currently using
Find this section of code:
Copy CodeThe code is as follows:
$forum [name]
{lang forum_threads}: $forum [Threads]{lang forum_posts}: $forum [Posts]{lang forum_todayposts}: $forum
Today, my friend asked me if the answer to Discuz safety question could be spared. Or cracked, I have been aware of a password, only remember very short, thought is substr take MD5, finally looked at the source of half a day, is really MD5
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