X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=doc%2Fwebserver%2Factions%2Fstep3.php;h=0d189aa03a61a1931d3fbf0f291b1d8c3c77c115;hp=5705996921a077ac6c3fba1b0237e4211e248d38;hb=7a99a61ab1a3ce0401821aedcd06eba19a698b2a;hpb=acfe700ddafd7570cd1475629a45d1146e521549 diff --git a/doc/webserver/actions/step3.php b/doc/webserver/actions/step3.php index 57059969..0d189aa0 100644 --- a/doc/webserver/actions/step3.php +++ b/doc/webserver/actions/step3.php @@ -1,164 +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 = "anonymous"; -} - -/* - * Open the logfile: - */ -$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 and remarks field: - */ -fwrite($fp, "#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) -{ - 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; - - case "P2": - fwrite($fp, "#UNBLOCK-REFERRER: $referrer_url\n"); - if (isset($manual_image_url) && ($manual_image_url != "")) - { - fwrite($fp, "#UNBLOCK-URL: image_url\n"); - } - break; - - -} - -fclose($fp); - -?> - + - - Privoxy Action List Feedback - Result - - - -

Privoxy Action List Feedback - Result

- -

Thank you very much for taking the time to submit your feedback!

- -

It will be reviewed by the developers and used to improve the -distribution actions file.

- - - - + + + + + + Out of action! + + +
+

Out of action!

+
+

+ If you want to report a problem, please + follow these instructions. +

+

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

+