Re: Re: PHP not outputting HTML

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

 



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

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux