Re: New to PHP question

From: Date: Wed, 28 Jan 2009 20:14:31 +0000
Subject: Re: New to PHP question
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-287298@lists.php.net to get a copy of this message
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

« previous php.general (#287298) next »