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 Mike Lewis 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. jimshew

    Generating patterns

    Thanks for the extra tip. My matchlist shouldn't be more than 20 strings. This looks like it will work, I'll save it in case this script ends up parsing more than this small list. The use of the script is only once a day to scan a report, so in my use, I'll be fine with the grep. But hey...
  2. jimshew

    I need to be able to encrypt a password before inserting it into a db

    For my purpose, I used MySQL as the db and used the AES_ENCRYPT function. Not always the best answer, but was sufficient for my use. I needed to eventually retrieve the original value, not just compare md5 stuff.
  3. jimshew

    Generating patterns

    Ok, I think I've been at this too long. Your first one was correct! I got bit by case sensitivity. What would be the "best" way to add a /i equivalent on the match? can I store it in @matchlist or do I need to make $_ a /$_/ I just want the least confusing, because next time I...
  4. jimshew

    Generating patterns

    That's the sort of thing I was looking for. Only this doesn't match anything (earlier, I had it matching on everything somehow). With your example, do I need to qr// each item in @matchlist when I build the array? Also, I neglected to mention, that the @matchlist only has a substring...
  5. jimshew

    Need to send an email when a process finishes. Module?

    I just did one last night! used MIME::Lite from cpan to send an attachment.
  6. jimshew

    Generating patterns

    Hey all, I'm trying to load a list of strings to match on into an array and then do an if($content =~ /$matchlist[$i]/ || /$matchlist[$i+1]) .... It is necessary that I have one big atomic match in this if statement, I can't wrap it in a for loop. Anyways, I'm having a hard time trying...
  7. jimshew

    combination of parent paths and virtual include problem

    Thanks! after rereading on microsoft.com, it's not that "../" isn't allowed in an include, it just can't ultimately lead to a parent directory (can be used for /admin/../adovbs.inc from the / dir) Silly. Thanks for your help, I just needed the part where I can point to that says...
  8. jimshew

    combination of parent paths and virtual include problem

    Log line: POST /admin/edit_announ_action.asp ID=3|3|ASP_0126|Include_file_not_found 80 - x.x.x.x Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322) 500 0 0 Code lines: <%@ Language=VBScript %> <% Option Explicit %> <!--#include virtual=&quot;../adovbs.inc&quot;--> <% Dim...
  9. jimshew

    combination of parent paths and virtual include problem

    Hi, I can't seem to get my IIS6 ASP application to include .inc files with &quot;include virtual&quot;. Parent paths are on, but any file with a .inc results in a 500 File not found error. IIS log says: ASP_0126|Include_file_not_found 80 Any ideas? I've tried to add inc as a file...
  10. jimshew

    include virtual problem

    Hi, I can't seem to get my IIS6 ASP application to include .inc files with &quot;include virtual&quot;. Parent paths are on, but any file with a .inc results in a 500 File not found error. IIS log says: ASP_0126|Include_file_not_found 80 Any ideas? I've tried to add inc as a file...

Part and Inventory Search

Back
Top