summaryrefslogtreecommitdiff
path: root/README.input_filter
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2006-10-30 17:11:02 +0000
committerRasmus Lerdorf <rasmus@php.net>2006-10-30 17:11:02 +0000
commit228bb9e7ff517257e170bdeb332dc3f8cf65edd5 (patch)
tree432ac05c8b25d038d0ce008466187df1924eb93a /README.input_filter
parent7ff822ee49095d2e96d2757beb2bf827fce9feb6 (diff)
downloadphp-git-228bb9e7ff517257e170bdeb332dc3f8cf65edd5.tar.gz
Pierre requested an update to this. I don't think it makes sense to
remove what little API docs we have here, and the simple example in this doc is a lot easier to follow than ext/filter.
Diffstat (limited to 'README.input_filter')
-rw-r--r--README.input_filter5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.input_filter b/README.input_filter
index f55a1eb69d..8fb8244bd8 100644
--- a/README.input_filter
+++ b/README.input_filter
@@ -10,7 +10,10 @@ The Input Filter support in PHP 5 is aimed at providing the framework
through which a company-wide or site-wide security policy can be
enforced. It is implemented as a SAPI hook and is called from the
treat_data and post handler functions. To implement your own security
-policy you will need to write a standard PHP extension.
+policy you will need to write a standard PHP extension. There is also
+a powerful standard implementation in ext/filter that should suit most
+peoples' needs. However, if you want to implement your own security
+policy, read on.
A simple implementation might look like the following. This stores the
original raw user data and adds a my_get_raw() function while the normal