My guess would be that this is a browser issue, with the
browser associating .rtf with a word doc (or Rich Text to be
more accurate) and if this is the case, there's not much you
can do except not name your PHP files .rtf. Since, each person
who comes to your site will most likely have .rtf set as
a Rich Text Document and will try and interpret it.

Adam Voigt

On Mon, 2002-08-12 at 11:44, Kai Hinkelmann wrote:
> Hi,
> I want to execute a php-script, which file-extension ist .rtf. Though I
> entered .rtf in the mmc->iis-configuration as a fileextension for "php.exe
> %s %s" (and restarted the service) the server doesn't start php but sending
> the script uninterpreted back to client (in this case: ms-word).
> When I start php from the comandline like "php myfile.rtf" everything works
> fine and I get the wanted output (on the comandline).
> Simple question: where else to enter the fileextension?
> Thanks
> Kai
> -- 
> PHP General Mailing List (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to