Train collector free version of the principle of implementing the fee version function _php Tutorial

Source: Internet
Author: User
Hi everyone free locomotive collector of friends:
The free version of the locomotive does not support external processing of collection results, such as using PHP to assist with the results, and the locomotive itself is not fully supported for regular expressions,
resulting in the acquisition of some confusing text content effect is not good, then how do we filter those confusing string it?
It's really simple--using server-side filtering
For example, the collection sent to the server side is:
$_post = Array ("subject" = "Here is the title", "Content" = "confusing text here is the contents");
On the server side we handle a little:
$_post["content"] = preg_replace ("Regular expression", "", $_post["content"]);
You can use the familiar tools to get the job done.
A friend said, my server-side code is encrypted how to do?
Actually very simple such as add.php encryption, then renamed Add.php to add_ori.php
and build a new add.php.
Processing the data coming from
....
Include DirName (__file__). " /add_ori.php ";
?>
That's it.

http://www.bkjia.com/PHPjc/320692.html www.bkjia.com true http://www.bkjia.com/PHPjc/320692.html techarticle Hi everyone free locomotive collection of Friends: locomotive free version does not support the collection results of external processing, such as the use of PHP to assist processing results, and the locomotive itself for the regular expression of ...

  • 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.