Reply to [suspicious - maybe spam] Re: Save page as text

Your name:

Reply:


Posted by Bogdan Stancescu on 06/30/05 09:50

Hello Rafael,

You can try using output control functions (see
http://ro.php.net/manual/en/function.ob-start.php) and, depending on
whether you want to upload the file or save it on your server (I don't
understand which from your message), serve the result with a
"Content-type: text/plain" header (see function header()), or use
fopen() and fwrite() to save it on your server.

Hope this helps,
Bogdan

rm2004mail-listas@yahoo.com.br wrote:
> Hi,
> I have page with PHP and Javascript code and I need to a link or bottun in it to save its content to a plain text file. (I'm using an apache server in a machine running Windows 2003, and I want to be able to use this feature in IE 6 and Mozilla 1.7)
> I saw some information about how to do that with PHP, but I wasn't able to do it.
> Can some one help me with that?
>
> Thanks in advance,
> Rafael Magrin
>
>
> ---------------------------------
> Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora!

[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

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