Re: Re: PHP not outputting HTML

From: Date: Thu, 30 Oct 2003 16:22:23 +0000
Subject: Re: Re: PHP not outputting HTML
References: 1 2 3 4  Groups: php.windows 
Request: Send a blank email to php-windows+get-21935@lists.php.net to get a copy of this message
Tao Z wrote:
Seems like it's not sending the correct header. You can try add header("Content-type: text/html"); at the begining of your script. There is probably an option in the ini file you can change..
I'm not supposed to have to do that, I didn't have to do that on the last Windows installation I did, and I have _never_ had to do it with Linux and Apache. Besides, the file isn't being executed as a PHP script, so adding PHP commands won't help. Try going to http://fci.es.temp.roisupply.com/x.php - tell it you want to save the file; open up the file on your hard drive and you'll see it's the source code, not the output the script is supposed to display. -- JustThe.net Internet & New Media Services 22674 Motnocab Road * Apple Valley, CA 92307-1950 Steve Sobol, Proprietor 888.480.4NET (4638) * 248.724.4NET * sjsobol@JustThe.net

« previous php.windows (#21935) next »