Hay I have a Message Board and i have 2 subs:
1 for the actuall message baord and 1 for the posting of the entries to a text file.
Here is a basic example of what i have (I have not put the proper html and that in as
this message would be too long):
if ($in{'action'} eq "") {&default;}
elsif($in{'action'} eq "post") {&post;}
else { &default; }
sub default {
print "Content-type: text/html\n\n";
print <<DANE;
Welcome to my Message Board
DANE
exit;
}
sub post {
print "Content-type: text/html\n\n";
print <<DANE;
Thank You For Your Post
DANE
&default
exit;
}
Now what i want to do is when the script goes to the sub named post i want it too stay
on that sub for about 3secs and then be directed back to the sub named default.
At the moment... The users are un aware that they have posted and if the post
confirmation came up it would be better :D
Any help would be much appreciated
Andrew