I've a php script which creates thumbnail images, which is part of the CMS of my website. However, this also means I can't use it directly within vB or phpBB forums, as just doesn't work.

What I'd like to do is create a 'fake' file, eg, http://www.creapsoft.c o.uk/thumbs/chrisjlocke/03012008/file.jpg
which (via .htaccess) will be re-written as http://www.creapsoft.c o.uk/protectedimage. php?image=chris jlocke/file.jpg_030120 08&cachedimage= true&width=200...