- or download this
use LWP::Simple;
use LWP::UserAgent;
use HTTP::Request;
use HTTP::Request::Common qw(GET);
use HTTP::Response;
- or download this
$|=1; #Disable buffering to allow instant output of text.
- or download this
our $editorPassword = "**********";
our $language = "en"; # language code for wikipedia namespace
our $enabled = "true"; # set to false to take offline/disable
- or download this
if ($enabled eq "true") {
- or download this
if ($enabled) {
- or download this
&getInput;
- or download this
getInput();
- or download this
my @gettheip = split(/\./,$ENV{'REMOTE_ADDR'});
my $remoteHost = "$gettheip[0].$gettheip[1].$gettheip[2].$gettheip[3]"
+;
- or download this
sub readEditTokens {
...
close (TOKENFILE);
return ($editTokens);
}
- or download this
sub readEditTokens {
open(my $TOKENFILE, '<', $editTokenFile) or
...
my $editTokens = <$TOKENFILE>;
return ($editTokens);
}
- or download this
print STDOUT "Content-type: text/html\n\n";