Found the logic error and am testing it now.

Basically it found what is was suppose to find the "../animate.js" and change it "../../animate.js" for the members because those files are a directory deeper.

But the Regular expression is called for every file and it always found "../".

So I changed it to include the preceding '"' mark.

This is the new line(still waiting for confirmation - test code running):
code:
$httphead1 =~ s#"\.\.\/a#"\.\.\/\.\.\/a#;  



[ 18. November 2002, 07:25: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/