Modifying a search script..

They have: 84 posts

Joined: Jun 2001

Could anyone help me with this? I'm trying to modify my search engine to search just a particular part of each file (between two tags).. the script is up here: http://www.movie-vault.com/helpme.txt Thanks

Tyler Cruz

Peter J. Boettcher's picture

They have: 812 posts

Joined: Feb 2000

Looks like no one has any ideas. Did you try checking out cgi-resources.com ? Maybe they have a script better suited for your needs?

I primarily program on Microsoft platforms so I don't use Perl, if I had to venture a guess I would say that you should put the logic that checks for this tag in this area:

if ($contents =~ m/([^<]*)

PJ | Are we there yet?
pjboettcher.com

They have: 84 posts

Joined: Jun 2001

It's okay.. I fixed this long long long time ago.. heh. thanks anyhow

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.