Re: Re: Apache und CGI


Frank Sölter (franktron@olis.north.de)
Tue, 28 Sep 1999 21:02:06 +0200


Hier das CGI Skript

#!/usr/bin/perl

#print "Content-type: text/html\n\n";
open(COUNT, "<count.txt") || die("Can't open count.txt\n");
$count =<COUNT>;
$count ++;
close(COUNT);
open(COUNT, ">count.txt") || die("Can't open count.txt\n");
print COUNT $count;
close(COUNT);

print "$count";
print " Besucher";

Hier die CGI aufrufe inder HTML Datei

Sie sind schon der
    <!--#echo var="DATE_LOCAL"-->
    <!-- #exec cgi="/cgi-bin/conter.pl" -->



This archive was generated by hypermail 2.0b3 on Tue Sep 28 1999 - 21:05:14 CEST