Done it - well almost, but it's a bit of a bodge to say the least. PHP calls Perl, which on our Apache is resident anyway. Perl mirrors the page - parses it as prints it and adds the target url before such things as CSS and images. If the browser clicks on a page in another directory it manages to add that to the url (we always start at the index page in the html_public root). The perl file is called with [code] <?php echo @stripslashes ( @join( @file( "http://cornworthy.com/cgi-bin/showurl" ),"\?http://cornworthy.com/imagelibrary/index.htm" ) ) ?> [/code] However you may noticed a problem here that I haven't got around yet. This is where I now need PHP help. The URL in the test was hard coded and I need to pass an argument (the target url) to perl as above. The '?' even when escaped is read by PHP and we get nothing. If I can get around that I have achieved what I need and only used HTML, PHP and Perl - completely and sucessfully avoiding C, C++, Forth, VB, Pascal, Cobol, Assembler, MASM, TASB, C#, .net, Fortran ........ Help would be much appreciated - I'm pulling my hair out and I don't have much left as it is!