hum.. I think what you need is a htaccess that controls what files will generate a pop-up.
Gosh how should I say this... just make a .htaccess file and a .php file like the below.
.htaccess
Quote:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^.*\.(zip|tar|exe|rar|tga|ogg|pkg|rpm)
RewriteRule ^(.*)\.(zip|tar|exe|rar|tga|ogg|pkg|rpm)$ http://LOCATION/TO/FILE/popup.php?f=$1.$2 [L,QSA]
|
popup.php
Quote:
|
The code that you wants to pop up with
|
Then when it query files that are stated in the htaccess file, there will be a pop-up
