Right: as if any random site could edit my machine's registry. You want to do anything with my browsing history, CV, financial records, system drivers and pr0n collection as well?
You do realise that PHP runs on the server, right? That would be the server's registry you're trying to delete stuff from.
Why are you so determined to empty out IE users' caches? They're not yours to empty. And are you going to go after users of other browsers next?