That did the trick.

Thanks.

Henry

"Michael Sims" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Sun, 28 Jul 2002 08:18:40 +0100, you wrote:

>Hi All,
[...]
>I have a php script that I wish to execute but I want to put it in
>index.html (not index.php)
>
>I know there is a solution involving configuration files in either the
>directory wher the file is held or specifically for the server.
>(Unfortunately I don't have access to the conf files for the server because
>I'm currently using a shared serever from an ISP).
[...]

You didn't say what web server you are using, so I will assume it's
Apache.  If your server is configured to allow .htaccess files to
override global settings, you should be able to create one in your
directory and add:

AddType application/x-httpd-php .html



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to