Dr. The Doctor wrote: > <!--#exec cgi="/cgi-bin/script.pl" --> and wish to replace it with a php call. php.net/exec > Similarly we want to hide a js script. You want to disable direct requests to the javascript file? I can't think of a way that couldn't be trivially circumvented. You're probably better off obfuscating the code. David -- David Grant http://www.grant.org.uk/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php