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: *

  1. TmlMatus

    umm need help again.

    this is my current code ----------------------------------------- #!/usr/bin/perl use CGI qw(:standard); print "Content-type: text/html\n\n"; $HTML = "message.htm"; open (HTML) or die "Can't open the file!"; print <HTML>; close (HTML); my $file = "productselection.txt"; open( LOG...
  2. TmlMatus

    Regarding Text files

    ummm the digits are still not counting up even tho the counter is there. like the first time i open my .txt file i want to be able to see how many orders have been taken by the first 4 digits in the code. say if i open a the .txt file and 15 orders have been placed, i wanna see 0015 (...
  3. TmlMatus

    Regarding Text files

    awesome miller ... i'll try that out right away. Thanks.
  4. TmlMatus

    Regarding Text files

    ok i got this code up until now --------------------------- #!/usr/bin/perl use CGI qw(:standard); print "Content-type: text/html\n\n"; $HTML = "message.htm"; open (HTML) or die "Can't open the file!"; print <HTML>; close (HTML); open(FILE,">productselection.txt")...
  5. TmlMatus

    Regarding Text files

    thanks kevin, but i'm not really getting what you mena by scalar. Could u show me how you woudl go about it? My Current code is --------------------------------------------- #!/usr/bin/perl use CGI qw(:standard); print "Content-type: text/html\n\n"; $HTML = "message.htm"; open...
  6. TmlMatus

    Regarding Text files

    Allrite, i have a website on which a customer submits there order, say if they wanted 4 of one thing ... the info would be send to a text file. Currently i have 4 products that i am offering ... so the text file looks something like this. '2,3,1,0' is there a way to put a counter on the text...
  7. TmlMatus

    question about subroutines

    no worries ... foudn a different way to do what i wanted to do.
  8. TmlMatus

    question about subroutines

    no i mean that my 'index.htm' calls the perl program ... right? is there a way that i can make a subroutine inside my perl that would only be activated once i pressed submit on a different sub of my webpage ... ex.'productinfo.htm' or would i have to create a new perl program for each form?
  9. TmlMatus

    question about subroutines

    is there a way of running a subroutine that is only activated when i press a button on my website? ... a side note ... the webpage is not the same as the webpage that called the perl code.
  10. TmlMatus

    Having problems running perl

    Nah there was something wrong within my actual perl code.
  11. TmlMatus

    Having problems running perl

    no worries people, i figured it out.
  12. TmlMatus

    Having problems running perl

    i have my site set up, that if i press a submit button the perl code is so post to run. Instead of the code running ... the files tries to get downaloaded onto my computer, ye know ... 'save as or open'. I have installed activeperl and i'm using abyss server Any way to solve this?

Part and Inventory Search

Back
Top