Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: madaxe
  • Content: Threads
  • Order by date
  1. madaxe

    Matching an array line and replacing with new data

    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)...
  2. madaxe

    ERROR LOOP problem and mailto Issue.......Bugger

    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...
  3. madaxe

    making link open in new browser window

    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...
  4. madaxe

    TABULATED SPACES HOW TO

    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";
  5. madaxe

    ADDING TAB SPACES

    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";
  6. madaxe

    Why Does my code take 30 sec's to process

    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; ################################################################################...
  7. madaxe

    DROPDOWN LISTS FROM ARRAYS HELP

    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 =...
  8. madaxe

    Drop Down Menu from Array txt File

    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 =...
  9. madaxe

    Passing variables from form to cgi

    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">...
  10. madaxe

    Log in Script can't get it to work

    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...
  11. madaxe

    COOKIE MONSTER NOT PLAYING HELP!!!!!!

    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...
  12. madaxe

    using txt files with .cgi extension?

    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...
  13. madaxe

    Trouble with File extensions txt files are .cgi and i cant view them

    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...
  14. madaxe

    trying to add a line number to my txt file array

    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...

Part and Inventory Search

Back
Top