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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by SCRUFFYbEAR

  1. SCRUFFYbEAR

    I have a problem searching a flat file database - anyone help

    Hi Mike, thanks for the help, but it does exactly the same thing, goes to the else part of the routine and prints the error part. I must be way off track somewhere, when i get back in acouple of hours i will try rewriting that section, any other suggestions gratefully received. Regards Terry...
  2. SCRUFFYbEAR

    I have a problem searching a flat file database - anyone help

    Hi Mike, the idea is that on a web page a user inputs two values, height and width - depending on the page they are on a hidden field contains a code like "STY1-" these variables are passed to the script the height and width are assessed and rounded to the nearest size, the three are...
  3. SCRUFFYbEAR

    Sending E-mail to the client

    Hi, this is the script i use, hope this is what you need. just type the message into the completewriting bit, fill in your email address and it should work. #!/usr/bin/perl # Enter the location of sendmail. $mailprogram = "/usr/sbin/sendmail -t"; @required =...
  4. SCRUFFYbEAR

    I have a problem searching a flat file database - anyone help

    Hi, thanx for the quick response, you were right about the | not being escaped, done that but i get the same result, it basically still fails the test and says that no records were returned, but the records are in the test file!! any other ideas?? ####You have the search string $search - now...
  5. SCRUFFYbEAR

    I have a problem searching a flat file database - anyone help

    Hi, on a web page a user fills in two fields hits the button and gets a value returned. in the script the values returned are validated and joined to make the search query - this works okay :-o) the flat file has two fields per record seperated by a | the first field is the unique identifier the...

Part and Inventory Search

Back
Top