Implementation principle of functions of free version of train collector-PHP Tutorial

Source: Internet
Author: User
The free version of the train collector provides the feature implementation principle of the paid version. Hi, all the collectors of the free locomotive: The free version of the locomotive does not support plug-in processing of the collection results, such as using php to assist in processing the results, however, the locomotive itself provides regular expression-based hi developers who are free locomotive collectors:
The free version of iov cc does not support plug-in processing of collection results. for example, php is used to assist in processing results, while iov cc does not fully support regular expressions,
As a result, it is ineffective to collect some obfuscated text. how can we filter the obfuscated strings?
In fact, it is very simple-use server-side filtering
For example, if the collection is sent to the server:
$ _ POST = array ("subject" => "here is the title", "content" =>"

Obfuscated text

Here is the content ");
On the server side, we will handle the following:
$ _ POST ["content"] = preg_replace ("regular expression", "", $ _ POST ["content"]);
You can use familiar tools to complete your work.
Some friends said, what should I do if my server code is encrypted?
In fact, it is very simple, for example, add. php encryption, then change add. php to add_ori.php
Create a new add. php
// Process uploaded data
....
Include dirname (_ FILE _). "/add_ori.php ";
?>
In this way, you can

Http://www.bkjia.com/PHPjc/320692.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/320692.htmlTechArticlehi you are free front of the collector: The free version of the locomotive does not support the collection results of the plug-in processing, such as using php to assist in processing results, and the locomotive itself for regular expressions...

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.