Hi,

maybe this is more of an html-problem, but since perl is often used in
connection to html I hope someone can help me.

I have made a simple search script that takes its input search string
from a web-form. It produces a webpage with a list of the files on the
search area in which the string was found.

$testvalue=$value[0];
$word = `grep -inlsh $testvalue Catalog/*`;
print "The string $testvalue was found in these files :
<pre><p><b>$word</b></p></pre>";


What I want to do, is to create a html-link to each of those files. I have
tried
adding a <A HREF\"...filepath/$word\"> but that links all the files to the
same
URL which is invalid if more than one file since all files are concatenated
into
the same URL. Example : path/file1file2file3 and so on...

Any ideas here? Do I need to split the $word into an array (vector) in order
to separate URL-links?

Cheers,
Ted


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to