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 Chriss Miller 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: madaxe2
  • Order by date
  1. madaxe2

    RANDOM NUMBERs between 1 and 52

    ok , things are now randomly clear but how do i make sure that the nine random numbers i choose all come out un equal to each other? Madaxe
  2. madaxe2

    RANDOM NUMBERs between 1 and 52

    Sorry Am i just beign dumb...blond ...english....male...etc....hahaah...but is'nt that the whole idea of """"RANDOM"""" i should not have to mix up me numbers?? MAdAxe
  3. madaxe2

    RANDOM NUMBERs between 1 and 52

    I can generate random numbers between 1 and 52 but i want 9 differing numbers my code is below how can i ensure that all nine numbers are differant my $lower=1; my $upper=52; my $random1 = int(rand( $upper-$lower+1 ) ) + $lower; my $random2 = int(rand( $upper-$lower+1 ) ) + $lower; my...
  4. madaxe2

    Changing Table background colour to alternate cgi script

    FIXED IT foreach my $i (@data) { chomp($i); my ($TTITLE2,$NAME,$DATE,$POST) = split(/\|/,$i); $backcol = "#898181" if ($colindex eq 1); $backcol = "#863838" if ($colindex eq 2); print qq(<tr> <th width="25%" nowrap="nowrap"><FONT COLOR=#DCD9D9" SIZE="4">$NAME</font></th>...
  5. madaxe2

    Changing Table background colour to alternate cgi script

    OK IM BEING THICK the last two if statement are fighting with each other if $colindex = 1 the it adds 1 so now $colindex = 2 but the next line says that if $colindex = 2 the it subtracts 1 so now $colindex = 1 so $colindex will always equal 1 thus my colour stays the same any body got a...
  6. madaxe2

    Changing Table background colour to alternate cgi script

    OK I added "" around the #252626 and the cgi runs now but the colours dont change in the background of the table MADAXE
  7. madaxe2

    Changing Table background colour to alternate cgi script

    I have preset "my $backcol = #262525; and my $colindex = 1;" There is something wrong with my syntax but i cant work it out MADAXE foreach my $i (@data) { chomp($i); my ($TTITLE2,$NAME,$DATE,$POST) = split(/\|/,$i); $backcol == #262525 if ($colindex eq 1); $backcol ==...
  8. madaxe2

    AAARRRRRRRRRYYYYYYYY&quot;SSSSS HELP

    CHEERS EARS IM A BRIT IF YOU HADNT NOTICED GOT SOME NICE APPLES AND PEARS IF YOUR INTERESTED OH BYE THE WAY TA IT WORKED GREAT AND I MUST BE GETTING BETTER COZ I CAN C WHERE U IS AT AND HOW THE CODE WORKED. THANKS TO ALL OF U'S THAT HELPIN ME OUT. MADAXE
  9. madaxe2

    AAARRRRRRRRRYYYYYYYY&quot;SSSSS HELP

    Trying to increment a specific value on a specific line in an array by 1 everytime the page is viewed. My code does not error but it does not work MADAXE foreach my $moddata2 (@data2) { chomp $moddata2; my ($TTITLE3,$COMMENT3,$NOPOSTS3,$PUSER3,$LOOKS3,$DATE3,$VUSER3,$ICON3,$tlink3) =...
  10. madaxe2

    href to a cgi script with file info

    ok im confused i need an href to exec my cgi but i need the name of the href to tell the script which file to grab. How does CGI.pm help me and how do i replace my href to make all this work MADAXE REALLY CONFUSED.....
  11. madaxe2

    $ SUBSTITUTION NOT BEING DONE

    WHAT IS CGI.pm MADAXE
  12. madaxe2

    href to a cgi script with file info

    dont reply worked it out
  13. madaxe2

    $ SUBSTITUTION NOT BEING DONE

    I HAVE A PIECE OF CODE FOR READING A TEXT FILE AND EXTRACTING INFO BUT THE SCRIPT IS BEING SENT A URL POST I.E <a href="lookatthread.cgi?link=March-27-2005+CGI IS NOT LOGICAL+33"> THIS TELLS MY SCRIPT WHICH FILE TO GO AND READ THE NEXT STEP IS if ($ENV{'REQUEST_METHOD'} eq 'GET') {...
  14. madaxe2

    href to a cgi script with file info

    Ive been thinking and im thinking that the url should be built like this <a href="lookatthread.cgi?filename=$tlink"> but how do i extract the info in my cgi script MADAXE
  15. madaxe2

    href to a cgi script with file info

    Im trying to build a forum on my site i can create a new thread now when i click on the title of the new thread i want it to start a cgi script that will show the history of the thread all the posts which im storing in a text file a new line for each post and information about who posted and...
  16. madaxe2

    Java Applet Not being Served

    I have an applet that i want to use on my page. When i run a simple html page from my desktop it works but when i goes through apache it refuses to work. Im thinking that the server is not serving this info how can i fix it MadAxe
  17. madaxe2

    Sending Images to IFRAME Size Issue

    i Have two iframes my first is populated from a cgi script that creats a series of tables each containning an image. Each image has a link pointing at my second iframe so when i click on the image it sends it to my second iframe. However i cant control the size of the image in the second...
  18. madaxe2

    MISBEHAVING IF STATEMENT

    It was just hitting the first half of the if statement and going to the first url no matter what Madaxe
  19. madaxe2

    MISBEHAVING IF STATEMENT

    WHY DOES MY IF STATEMENT NOT WORK #!/Perl/bin/perl -wT use CGI qw(:standard); use CGI::Carp qw(warningsToBrowser fatalsToBrowser); use strict; print "Content-type: text/html\n\n"; my $query = new CGI; my $cookieinfo = $query->cookie('mcjeeves.net'); if (!$cookieinfo) { print <<"EOF"...
  20. madaxe2

    status: 302 ERROR

    Status: 302 Moved location: ../index.html?error=1 Ive been trying to get this check script to work from an exec from a html page c below <html> <!--#exec cgi="CGI_BIN/CHECK.cgi"--> </html> #!/Perl/bin/perl -wT use CGI qw(:standard); use CGI::Carp qw(warningsToBrowser fatalsToBrowser); use...

Part and Inventory Search

Back
Top