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
  • Content: Threads
  • Order by date
  1. 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...
  2. 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 ==...
  3. madaxe2

    AAARRRRRRRRRYYYYYYYY"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) =...
  4. 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') {...
  5. 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...
  6. 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
  7. 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...
  8. 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"...
  9. 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...
  10. madaxe2

    Why Do Some CGI Scripts EXEC from HTML and Others Dont

    This CGI script runs when called from html by HTML <!--#exec cgi="CGI_BIN/first.cgi"--> CGI #!/perl/bin/perl -wT print "Content-type: text/html\n\n"; print "<div style='position: absolute; top: 132; left: 419; width: 43; height: 25'> <h2>Hello, world!</h2></div>\n"; WHY DOES THAT WORK...
  11. madaxe2

    COOKIES If cookie exists then goto url else goto this url

    I want this expression to exist at the top of my pages so that if somebody tries to get into my site without a login then they get directed back to login screen. MadAxe
  12. madaxe2

    Using Cookies For Varification

    I can create the cookie read it back to print user name on page but i want to stop people from typing in url and skipping log in page. So i want my html page to first check for cookie if it exists then allow people to goto any url if not to send them back to my .index page to log in. MadAxe
  13. madaxe2

    Calling Sub Scripts To Do Stuff.

    I want to write cgi scripts that do stuff then call them from main scripts with input then feed the output back to the main script. Does anybody have any examples that i can see also can you run a script constainly in the background to check stuff like whos logged on and outputting the info to...
  14. madaxe2

    Checking For Cookie To allow user To Access Page

    I can create the cookie read it back to print user name on page but i want to stop people from typing in url and skipping log in page. So i want my html page to first check for cookie if it exists then allow people to goto any url if not to send them back to my .index page to log in. MadAxe
  15. madaxe2

    MSN MESSENGER VOICE ISSUE PORTS?

    I have just put in a linksys B wireless router in and i have allowed port forwarding but now i dont get any sound with MSN messenger 6.2. I have been on the web and found which msn ports i need to allow but i still can not get it to work. ANY IDEAS MADAXE
  16. madaxe2

    HTTPD.conf problem

    Finally got my site up with one last issue i have to put in www.mypage.com/~username where the user name is my XP log on how can i point www.mypage.com straight at mypage.index? Madaxe
  17. madaxe2

    Static IP at server or router?

    Where do i put my static ip adress? do i put it on my router, if so what do i set my pc to? or do i still use dynamic on my router and put it on my pc? This does not seem logical to me for some reason? i have set up my forwarding with yahoo so im one step closer Mad axe
  18. madaxe2

    Really Lost Setting Up Server

    1) PHP? what is it? do i need to install it? where can i get it? 2) How do i configure XP do i create a new user to run my server from does that user have to have admin priveliges? 3) Where do i put my dynamic ip on the wireless router or on my pc? Need basic steps to get this running not...
  19. madaxe2

    Setting up Apache server on XP what to do

    Hi Tommorrow i will have a static IP with Yahoo who are doing my Domain Name and DNS forwarding and I have Apache Installed on XP SP2 what do i need to do to get my Perl / CGI site on the web and how do i configure my server to host multiple web sites. For each person i host a site for do i...
  20. madaxe2

    Setting Up XP Apache Server and Httpd.conf File

    Hi Tommorrow i will have a static IP with Yahoo who are doing my Domain Name and DNS forwarding and I have Apache Installed on XP SP2 what do i need to do to get my Perl / CGI site on the web and how do i configure my server to host multiple web sites. For each person i host a site for do i...

Part and Inventory Search

Back
Top