Trying to step through the array until one of the first elements in the array is matched then replace that line with new data.
Madaxe
open (PLAYERLIST3, "$perpicklist");
@userlist3 = <PLAYERLIST3>;
close (PLAYERLIST3);
foreach $moddata (@userlist3) {
chomp $moddata;
($weekno, $playerpick)...
When my password field is empty and i hit submit it gets stuck in a loop involving the sub error and i get a popup box coming up continualy i tried using an unless statement but i cant get it to work all my form scalars are being set correctly i see the values in the error popup box.
Also i...
I have this line of code but i want the link to open in new window can anybody help
MadAxe
<span style="position: absolute; left: 0; top: 50"><a href="http://www.pgatour.com" onMouseOver="WEB_LINK_2.src='IMAGES/web_link2_over.jpg';" onMouseOut="WEB_LINK_2.src='IMAGES/web_link2.jpg';"><img...
In my code below i want single or multiple tab spaces instead of "------"...
can anybody help
MadAxe.
print "<OPTION VALUE=\"$preselect\">Week\($week)-----Used Picks-----$postpick</OPTION>\n";
Im having problems adding tabs or multiple tab spaces into my code can anybody help for instance the code below i want tabs instead of "-----".....
Im foxed
MadAxe
print "<OPTION VALUE=\"$preselect\">Week\($week)-----Used Picks-----$postpick</OPTION>\n";
Hi i have a sub that takes like 30 secs to run but i dont know why i have used the same sub in other cgi's and it runs instantly but this code takes ages i dont know why? code below:-
#!/Perl/bin/perl
use CGI;
################################################################################...
I want to creat a drop down menu from an array can anybody help, i think im on the right track but i cant get it to work. My code below.
Mad Axe
#!/Perl/bin/perl
use CGI;
$userlist = "playerlist.cgi";
print "Content-type: text/html\n\n";
open (PLAYERLIST, "$playerlist");
@userlist =...
I want to creat a drop down menu from an array can anybody help, i think im on the right track but i cant get it to work. My code below.
Mad Axe
#!/Perl/bin/perl
use CGI;
$userlist = "playerlist.cgi";
print "Content-type: text/html\n\n";
open (PLAYERLIST, "$playerlist");
@userlist =...
Why can i not pass the info from my html page to my cgi script? Im trying to learn perl and i want to break stuff down into easy steps for now...please help
MadAxe
################ HTML FILE ################
<html>
<body bgcolor=black text=yellow>
<form method="POST" action="test.cgi">...
Hi all i have been working on this for a few weeks no i got to the point where it worked with any user name but the password had to be correct, so now i want the user name to be checked as well but i can get it to work i know im close but im really stuck code to follow....PLEASE HELP....im going...
I have some code from
http://inconnu.isu.edu/~ink/perl_cgi/lesson3/cookies.html
but when i run it i get this:-
"You don't have permission to access /store_cookie.cgi on this server."
why does this happen how do i fix it?
Windows XP Apache load...
I read somewhere that all my files should have a .cgi extension for security but my error logs i now want to send to an iframe and i cant
here is to security or cant view error logs on page
catch 22
help
Madaxe..........now head butting it...
Hi
Im New to this and you will have to fogive my stupidity, I read somewhere that it was best too name all text files .cgi so that nobody else can read them. Fair enough however all my log txt files are .cgi i now want to see them in an iframe or other means but it wont let me while they are...
CAN anybody tell me whats wrong with this code please...madaxe
#!/Perl/bin/perl
use CGI qw(:standard);
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
use Fcntl qw(:flock :seek);
use strict;
my $z="0";
my $sitedata="main_data_base.cgi";
open(DAT,">>$sitedata") || die("Cannot Open...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.