Program | Verification Code ##### Copyright reprint please reserve thank you for your cooperation
##### part of the program is taken from the network
##### Author: Yang Zi
##### email:yangzinet@hotmail.com
##### qq:21112856
#####
Program | Verification Code Original Program
Http://vifo.vicp.net:8088/datalib/ShowTopic.asp?id=108:10:1:1
A total of three main programs
My calling way
Authentication mode if trim (loginnum) <>trim (Session ("Loginnum")) Then
Response.Write
When learning PHP, you may encounter the problem of judging PHP regular expression, here will introduce the solution of the problem of PHP regular expression, here to share with you. In some query websites and search engines, it is often used to
In the current rapid development of the Internet business, new products springing up, the old product line new business is constantly breaking and trying. This puts a higher demand on rapid development iterations.
First, the basic operating
window| Program | weather Forecast | This improvement is mainly to increase the image acquisition, and provide a relatively complete function to get the remote file. The specific code is as follows:
?
$fcont =file ("http://www.bjmb.gov.cn/today.asp")
window| function to get the remote file, wrote a small function of the following, basic aspects are considered, we look at it:
function Getpic ($url, $dir, $name) {
Gets the URL file and then stores it in the Dir directory, with name as the filename.
?
Catalog Operations Base Class
Class FileDirectory {
var $servermode;
var $serverpath; Web server directory
var $pagepath; Current Page Catalog
var $path; Current directory
var $ffblk; Used to store information about a file
function FileDirectory ()
Recently, the author of the station suffered to SQL intrusion, so the Internet search some related methods to prevent SQL injection.
A lot of versions, some people think that this section is good, some people think that the paragraph just, so the
First of all, this article is not a website optimization articles, to improve the site rankings no effect, the reason for this article is only my personal site on the overall layout of the more careful, do not like any place disorderly phenomenon.
Site construction will encounter a lot of problems, the following author for you to introduce a number of site construction needs attention.
1. Page to Slim
The smaller the space the page occupies, the faster we will be able to browse the Web.
css| Web page
Use Div to layout, the proposed div should be used to organize the code structure, now we go a little deeper, Div has semantics?
The question was hotly debated in the study group some time ago, when Rice was asked: "What is semantic
Beginner 1. Get system time:
2. Access to the IP:
3. Access to the system, browser version:
4. Remove IE Mixing strips:
5. Go to the website and jump out of the advertisement:
6. Random Number:
N is a number that can be changed
7. Move Up
js| Statistics calculates the current folder, how many lines of JS code and ASP code, and can also count how many bytes the code has
There are sample code
'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
'\\
' \ from codeproject.com
' \ \ Compute JS
check box
In this case, the Name property of the check box is the same, so that a control array is created, and when returned back to the background, the selected checkbox is connected in sequence with "," and if we select B and C, then
Regular expressions that match Chinese characters: [\U4E00-\U9FA5]
Match Double-byte characters (including Chinese characters): [^\x00-\xff]
Application: Computes the length of the string (a double-byte character length meter 2,ascii character 1)
Program | Access "Get the address of the visitor
Ip=request.servervariables ("REMOTE_ADDR")
' The allowed IP address segment is 10.0.0.0~10.68.63.255
allowip1= "10.0.0.0"
Allowip2= "10.68.10.71"
Response.Write Checkip
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