X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=doc%2Fwebserver%2Factions%2Fstep3.php;h=0d189aa03a61a1931d3fbf0f291b1d8c3c77c115;hb=6de6bda5b29cbb5a8aef6863c1b5ca999ab4887b;hp=e75678cebc41344a6f35a70d27331b007ab4c103;hpb=72081f829de368392d04076728f8c991178c0080;p=privoxy.git diff --git a/doc/webserver/actions/step3.php b/doc/webserver/actions/step3.php index e75678ce..0d189aa0 100644 --- a/doc/webserver/actions/step3.php +++ b/doc/webserver/actions/step3.php @@ -1,354 +1,23 @@ - + - -
- -Privoxy: $title - - -Valid HTML 4.01 Transitional
- - \n"); - exit; -} - - -/* - * Cannot start with step 3: - */ -if (!isset($referrer_url)) -{ - error_abort("invalid", "When submitting your feedback please start with step 1."); -} - - -/* - * Cannot work on unknown problem: - */ -if (!isset($problem)) -{ - error_abort("invalid", "You need to select the nature of the problem in step 1."); -} - - -/* - * Don't accept unconfirmed URLs - */ -if (!isset($url_confirmed)) -{ - error_abort("invalid", "When submitting URLs that this script can't retrieve, you need to check \"Yes, I'm sure\" - step 2."); -} - - -/* - * Handle optional text fields: - */ -if (!isset($name) || ($name == "")) -{ - $name = "anonymous"; -} - -/* - * Assign unique ID: - */ -$item_id = date("U"); - - -/* - * Open the logfile or fail: - */ -$fp = fopen($logfile, "a"); - -if(!$fp) -{ - echo ("- This script was unable to open its logfile. -
-- Please mail its owner! -
-