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...
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.
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...
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...
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...
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...
Hi,
I can't seem to get my IIS6 ASP application to include .inc files with "include virtual". 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...
Hi,
I can't seem to get my IIS6 ASP application to include .inc files with "include virtual". 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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.