From 0c65426b8a5c369a43a34b92aec84834e3ab246b Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 12 Feb 2018 11:59:51 +0100 Subject: Mention the script in the documentation --- doc/source/config.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/source') diff --git a/doc/source/config.rst b/doc/source/config.rst index aae8a29..8692cf4 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst @@ -236,8 +236,8 @@ argument and various information about it in the environment: * ``SP_CURRENT_FILE``: the current file being executed This feature can be used, for example, to check if an uploaded file contains php -code, with something like `vld `_ -(``php -d vld.execute=0 -d vld.active=1 -d extension=vld.so yourfile.php``). +code, using `vld `_, +via `this script `__. The upload will be **allowed** if the script returns the value ``0``. Every other value will prevent the file from being uploaded. -- cgit v1.3