yeah, U r right.below code is OK. it's what I mean. But, I need YES and NO option after clicking for safety purpose. Anyway, It's my NEXT TASK.
<td><a href=/cgi-bin/release.pl?release=$id>$id</a></td>
My IDs r in below formats
spam-IUiA-_bUe0eN.gz
badh-Xh-Vzy9BSsHN
banned-8KuHlZuzBCaA
virus-gUS5QeJ_ayqZ
So, I had to changed the below code. It has UNDERSCORE as well
toif ($id =~ /^spam-[a-zA-Z0-9-]+\.gz$/) {
also changedif ($id =~ /^spam-[a-zA-Z0-9-_]+\.gz$|^badh-[a-zA-Z0-9-_]+|^banned-[a- +zA-Z0-9-_]+|^virus-[a-zA-Z0-9-_]+/) {
my $cmd = "sudo /usr/bin/amavisd-release $id 2"; <code> to <code> my $cmd = "sudo /usr/bin/amavisd-release $id";
Now, code WORKS well. Many thanks once again. UNLESS u helped me, I may NOT achive what I expect. hope to hear from you
In reply to Re^10: INSERT file contents inside a table
by theravadamonk
in thread INSERT file contents inside a table
by theravadamonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |