Click to See Complete Forum and Search --> : run script on file access


hsdhman
09-28-2007, 09:10 AM
Hi,
I have a static file (let's say a .gif file) on my server. Each time someone accesses the file, I want to run a server-side script. Is this possible? I'm running an apache-based platform.
Remember, the file itself cannot contain any scripts.

hsdhman
09-28-2007, 10:07 AM
It looks like the Action directive is similar to what I'm looking for... except I need it to run scripts for certain file names, not file types.

Any ideas?