Second, the management function
There are 12 ASP files in the Management Section, and the main functions of these scripts are as follows:
Banneradminlogin.asp: Login page for admin function. The default user name is "ADMIN user" and the password
Anti-Theft chain If we know the actual path of a static file such as: Http://www.xx.com/download/51windows.pdf, if the server does not make special restrictions, we can easily download it down! When the site provides 51windows.pdf download, how to
function |mac| Network card
How to read the NIC MAC address through ASP? The basic ASP platform to read MAC addresses requires two system-critical component support, "WSCRIPT." SHELL "and" Scripting.FileSystemObject "two components, however, the
Keywords | functions | bold
A function that uses regular expressions to highlight words that are queried in a string, streamlined and practical!
Public Function Boldword (Strcontent,word)If word= "" ThenBoldword = strcontentExit FunctionEnd IFDim
Intercepts the matching content function within a specific head and tail tag, usually used in a thief program.
Public Function cutfixcontent (ByVal str, ByVal start, ByVal last, ByVal N)Dim strtempOn Error Resume NextIf InStr (str, start) > 0
function | date
'================================================' Function name: formatdate' Function: Format date' Parameters: DateAndTime----Original date and time' Para----date format' Return value: the date formatted'============================
fso| function
The following is a few in ASP often applied to the FSO operation function, practical fine code, recommended collection!
' function: To determine whether the file name is legitimate' Isfilename [filename]' filename cannot contain any
20-year-old Web programming language PHP, the fastest in the end of October released PHP 7 new edition, this is the first major revision in ten years, the biggest feature is a big breakthrough in performance, can be compared to the previous version
First, performance analysis-related functions and commands 1.1, time measurement functions usually we often use the Times () function, but the return is the number of seconds, for a piece of code internal performance analysis, to the second
function Createid ($prefix = "")
{
$str = MD5 (Uniqid (Mt_rand (), true);
Return $prefix. $str;
}
uniqid (prefix,more_entropy)
The Uniqid () function generates a unique ID based on the current time in microseconds. Prefix optional. Specify
PCRE
There are two different ways to use regular expressions in PHP: PCRE (Perl compatible notation, preg_*) function and POSIX (POSIX extended notation, ereg_*) functions. Luckily, the POSIX family function was deprecated from the PHP 5.3.0.
HP layer to MySQL layer
The PHP to the SQL component hierarchy is shown in the following illustration:
Ext/mysqli and Ext/mysql are the client's extender libraries (library functions), which are extended libraries at the client-side scripting
"Editor 's note" Previously, read a lot about PHP performance analysis of the article, but it is written in a single rule, and the rules are not context, there is no clear experiment to reflect the advantages of these rules, while the discussion
In the recent sitepoint of PHP vs Node.js SmackDown, Craig Buckler A comparison between the two languages on how to deal with a series of 10 challenges to determine which is better overall.
These comparisons are always contradictory, Craig says in
Three main flow control of PHP program
① sequential control (from top to bottom, left to right)
② Branch Control
if (conditional expression) {
N Multiple statements
}else if (conditional expression) {
N Multiple statements
}else if
1. String connectionThe string is passed through a half point period "." To connect, you can concatenate two or more strings into a string.
2. Remove the string, end and end spaces and special charactersThe trim () function is provided in PHP to
Want to build a chat app, or even a game? Then, the socket server will be your first step. Once you understand the basics of creating a server, subsequent optimization steps will be just as simple.
The socket server works in such a way that it runs
Use PHP to implement professional-level web-based charts without the need for in-depth HTML5 and JavaScript knowledge.
Introduced
Recently, I need to quickly create a chart from a set of PHP data sets. The requirement chart must be interactive,
Do the program ape "Yuan" is a bitter forced to live, Saturday early in the technical group to greet, see no one response, said a, "not expected to wake up", and then a friend thrown over, "in overtime"!
Do WEB development is a bitter force of life,
This article lists some of the more common mistakes we made in PHP programming, which are listed in 10.
Error 1:foreach Loop left hanging pointer
In a foreach loop, if we need to change the elements of an iteration or to improve efficiency, it's a
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