Re: Executing a file with rtf-extension

From: Date: Mon, 12 Aug 2002 15:56:16 +0000
Subject: Re: Executing a file with rtf-extension
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-112159@lists.php.net to get a copy of this message
Yes, that is the intention! The browser SHOULD open WORD (or Wordpad or what else) and the script should generate the content on the server, independent from the client. The problem must lie within IIS- oder PHP-Configuration. But I don't know, where. "Adam Voigt" <adam.voigt@cryptocomm.com> schrieb im Newsbeitrag news:1029167535.10505.47.camel@beowulf.cryptocomm.com... > 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 > adam.voigt@cryptocomm.com > > 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 (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > >

« previous php.general (#112159) next »