ASP event class asplib-eventprovider.class.asp used to get IP, etc.

Source: Internet
Author: User
Tags get ip

The author is really meticulous, all these things are encapsulated into class. A bit too much, these things can be done as a process or function to encapsulate, sub and function is also encapsulated, not necessarily a class to be able to. Your file library is not necessarily all class, and some sub and funtion are necessary.

Features that are implemented include

1,showinfo (e_title,c_url,e_num,e_des,e_time,opera,ip,reurl): displaying error messages

2,getip (): Get client IP

3,checkpost (): Verify that outbound submissions

4,getreferer (): Routing Records

5,getcururl (): Get current page path

6,isrefresh (s1,s2,maxtimes): Anti-refresh

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.