[PHP-WIN] Re: Intercept image request

2005-11-16 Thread Eric Frost
This did the trick -- http://john.ellingsworth.org/?p=18 Thanks John! My php code ended up being -- My rewrite rule using Helicon's ISAPIrewrite is RewriteRule /m.png /m.asp So when you open this image -- http://www.mp2kmag.com/m.png it runs the code and then ends up serving http://www.mp2k

[PHP-WIN] Intercept image request

2005-11-16 Thread Eric Frost
I want to intercept an image request from other web sites, runs some PHP, and then actually go ahead and serve the image request. I have ISAPIRewrite installed so I put in this RewriteRule /m.png /m.php This part is fine. To serve the image I tried -- I use m1.png so the request is not loopin