Re: New to PHP question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Don Collier wrote:

> From what I am seeing in the responses if I plan on using php for
> command line scripts things get written one way.  If, on the other
> hand, the php is written for a web page it gets written a slightly
> different way inserting html where necessary for formatting.

No, the scripts are written the same way, but you are using two
different output media, so your output must be different. 

Like Stuart said - if you want your browser to output in text-mode, just
set the right header-type.  (text/plain).



/Per Jessen, Zürich


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux