in reply to Re: Is it server configuration or my error ??
in thread Is it server configuration or my error ??
whatever I do the counter do not increse. What should I do now?#!/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 ALIGN=center BORDER=0>\n\n +"; print "<TR><TD ALIGN=Center VALIGN=top>\n\n"; @digits = split(//, $count); # Give empty digits a value $spline = '%0' . $number_of_digits . 'd'; $count = sprintf("$spline", $count); @digitimages = split(//, $count); foreach $digitimage (@digitimages) { $image = "<img src=\"../obrazki/" . "$digitimage" . ".gif\" VSPACE=0> +"; print ("$image"); } print "\n"; print "</TD></TR></TABLE>\n</BODY></HTML>\n\n"; open (COUNTER, "> D:/StronyKlientow/cematsil.bptnet.pl/main/Alicja/per +l/counter.txt")||die"can not open!\n"; print COUNTER ("$count"); close (COUNTER); exit;
Edit by tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Is it server configuration or my error ??
by rdfield (Priest) on Jul 18, 2002 at 11:03 UTC | |
by sOKOle (Acolyte) on Jul 18, 2002 at 11:33 UTC | |
|
Re: Re: Re: Is it server configuration or my error ??
by sOKOle (Acolyte) on Jul 18, 2002 at 11:10 UTC | |
by hacker (Priest) on Jul 18, 2002 at 11:56 UTC | |
by sOKOle (Acolyte) on Jul 18, 2002 at 12:40 UTC |