in reply to Re: Re: Is it server configuration or my error ??
in thread Is it server configuration or my error ??
#!/usr/bin/perl $number_of_digits = "6"; open (COUNTING, "< D:/StronyKlientow/cematsil.bptnet.pl/main/Alicja/pe +rl/counter.txt")||die"can not open"; $count = <COUNTING>; close (COUNTING); $count ++; print ("Content-type: text/html\n\n"); print "<HTML><BODY BGCOLOR=lightblue><TABLE <BR>ALIGN=center BORDER=0> +\n\n"; print "<TR><TD ALIGN=Left VALIGN=top>\n\n"; @digits = split(//, $count); $spline = '%0' . $number_of_digits . 'd'; $count = sprintf("$spline", $count); @digitimages = split(//, $count); foreach $digitimage (@digitimages) { $image = "<img <BR>src=\"../obrazki/" . "$digitimage" . ".gif\" VSPAC +E=0>"; print ("$image");} print "\n";
exit;open (COUNTER, "> D:/StronyKlientow/cematsil.bptnet.pl/main/Alicja/per +l/counter.txt")||die"can not open!\n"; print COUNTER ("$count"); close (COUNTER); print "</end of HTML TAGS \n</BODY></HTML>\n\n";
Edit by tye.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is it server configuration or my error ??
by hacker (Priest) on Jul 18, 2002 at 11:56 UTC | |
by sOKOle (Acolyte) on Jul 18, 2002 at 12:40 UTC |