Reply to Re: .doc and php

Your name:

Reply:


Posted by Kimmo Laine on 07/13/06 08:36

"Francesco" <fraven75@hotmail.com> wrote in message
news:3919280d36123dcec40aeceb8d2b8403.32828@mygate.mailgate.org...
> thx, good idea...i'll try to do so
> Fra
>


If you do decide to use rtf, here's some magical lines that you may find
very useful, took me forever to get these right ;)

header('Content-type: application/msword');
header('Content-Disposition: attachment; filename="myfile.rtf"');
header('Cache-Control: private');

--
"ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" -lpk
spam@outolempi.net | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация