FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP Always Outputs
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP Always Outputs [message #178629 is a reply to message #178628] Sat, 14 July 2012 13:46 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 7/14/2012 9:37 AM, Doug Miller wrote:
> Ryan <rbilesky(at)gmail(dot)com> wrote in news:a5baa7aa-287c-4862-8ab9-898783d691f4
> @googlegroups.com:
>
>> I want a php script to run and simply output nothing. But even this script:
>>
>> <?php
>> ?>
>>
>> will output this html
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>> <HTML><HEAD>
>> <META content="text/html; charset=windows-1252" http-equiv=Content-Type></HEAD>
>> <BODY></BODY></HTML>
>>
>> Is there a setting somewhere in my php or apache config that needs to be turned off?
>
> Check your .htaccess file -- it probably contains a line that looks like this:
>
> php_value auto_prepend_file "foo.php"
>
> with the contents of the file foo.php resembling
>
> echo "!<DOCTYPE HTML PUBLIC...";
> echo "<HTML><HEAD>";
> etc.
>

If it were, it would be seriously broken. There would be no way to add
<HEAD> tags or the <BODY> in their proper places.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Business Developer for IT company
Next Topic: decode encoded url
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 02:04:20 GMT 2024

Total time taken to generate the page: 0.04184 seconds