You are here: Re: write in a fil log the result of one echo « All PHP « IT news, forums, messages
Re: write in a fil log the result of one echo

Posted by Jerry Stuckle on 09/25/07 22:35

artev wrote:
> if I have this code
> <?php
> if (VAR1) {echo "<!-- funz1();print_r(xxxx);echo "-->"; }
> ?>
>
> that make comments in html's page source;
>
> how I can to achieve all in a file (and not send in html page) ?
>
> and is also possible to make a file every day so not write always in same
> file, but every day to make automatically a file where to write; ?

You need to set the content type to the appropriate value. See the PHP
header() function.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this 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

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