X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=doc%2Fwebserver%2Factions%2Fstep3.php;h=0d189aa03a61a1931d3fbf0f291b1d8c3c77c115;hb=6de6bda5b29cbb5a8aef6863c1b5ca999ab4887b;hp=441bb3b82afe309af813cd01466a6c56d7b6c9f1;hpb=6cb24252140c373520ec37a2c04c9b0c922d2a45;p=privoxy.git diff --git a/doc/webserver/actions/step3.php b/doc/webserver/actions/step3.php index 441bb3b8..0d189aa0 100644 --- a/doc/webserver/actions/step3.php +++ b/doc/webserver/actions/step3.php @@ -1,234 +1,23 @@ - + - - - - -Invalid Feedback Submission - - -
Invalid Feedback Submission
-
-
- When submitting your feedback please start with step 1. -
-
- - "); - exit; -} - - -/* - * Cannot work on unknown problem: - */ -if (!isset($problem)) -{ - echo (" Invalid Feedback Submission - - -
Invalid Feedback Submission
-
-
- You need to select the nature of the problem in step 1. -
-
- - "); - exit; -} - - -/* - * Handle optional text fields: - */ -if (!isset($name) || ($name == "")) -{ - $name = "anonymous"; -} - - -/* - * Open the logfile or fail: - */ -$logfile = "feedback-data.txt"; -$fp = fopen($logfile, "a"); - -if(!$fp) -{ - echo (" Internal Script Error - - -
Internal Script Error
-
-
-

- This script was unable to open its logfile. -

-

- Please mail its owner! -

-
-
- - "); - exit; -} - - -/* - * Write Head (type, severity, user, client-ip) - * and remarks field: - */ -fwrite($fp, "\n#FEEDBACK TYPE $problem SEVERITY $severity FROM $name ON $REMOTE_ADDR\n"); -if (isset($remarks)) -{ - $lines = explode("\n", $remarks); - foreach ($lines as $line) - { - fwrite($fp, "#REMARKS: $line\n"); - } -} - - -/* - * Depending on the type of problem reported, - * we need to write additional data: - */ -switch ($problem) -{ - /* - * Banner not blocked: - */ - case "P1": - fwrite($fp, "#BLOCK-REFERRER: $referrer_url\n"); - if (isset($num_images)) - { - for($i=0; $i < $num_images; $i++) - { - if (isset($block_image[$i])) - { - fwrite($fp, "#BLOCK-URL: $image_url[$i]\n"); - } - } - } - if (isset($manual_image_url) && ($manual_image_url != "")) - { - fwrite($fp, "#BLOCK-URL: $manual_image_url\n"); - } - break; - - /* - * Innocent image blocked: - */ - case "P2": - fwrite($fp, "#UNBLOCK-REFERRER: $referrer_url\n"); - if (isset($image_url) && ($image_url != "")) - { - fwrite($fp, "#UNBLOCK-URL: $image_url\n"); - } - break; - - /* - * All other problems: - */ - default: - fwrite($fp, "#PROBLEM-URL: $referrer_url\n"); - break; -} - -fclose($fp); - -?> - - Privoxy Action List Feedback - Result + + + + + Out of action! - -
- Privoxy Action List Feedback - Result -
- -
+
+

Out of action!

+

- Thank you very much for taking the time to submit your feedback! + If you want to report a problem, please + follow these instructions.

-

- It will be reviewed by the developers and used to improve the - distribution actions file. + Note that if your are reading this text, you are probably using an obsolete Privoxy version + and the problem may already be fixed in a more recent release.

- -

- -

- -