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

Home » Imported messages » comp.lang.php » how did I wind up with double headers?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: how did I wind up with double headers? [message #184570 is a reply to message #184569] Sun, 12 January 2014 00:20 Go to previous messageGo to previous message
Beauregard T. Shagnas is currently offline  Beauregard T. Shagnas
Messages: 154
Registered: September 2010
Karma:
Senior Member
richard the sto0pid wrote:

> richard the sto0pid wrote:
>> http://mroldies.net/home.php
>>
>> View the page source.
>> You will see I have two sets of headers.
>> Yet, the original document does not!
>> Where in the hell did the extra headers come from?
>
> For you whiners that insist, here's the damn whole page with code.
>
> <!DOCTYPE html>
> <html lang="en">
> <head>
> <meta charset="utf-8">
> <title>Mr Oldies Preserving Rock and Roll Forever!</title>
>
> <style>
>
> </style>
>
> </head>
>
> <body>
>
> <?php
>
> $go=$_GET['a'];
> if(empty($go)){$go=0;}
>
> if ($go==0){include "http://mroldies.net/home1.php";}
> if ($go==1){include "http://mroldies.net/test/index2.php";}
> if ($go==2){include "http://mroldies.net/radio/24hours.php";}

If you were smart enough, you would use an if/elseif or a switch command
there, saving processing time. But that's beyond your meager abilities.

> ?>
>
>
> </body>
> </html>

And if you had even a modicum of ability, you would know that each one of
those possible includes *already has* html, head, and body elements.

It's so simple, even a child could understand it.

--
-bts
-This space for rent, but the price is high
[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
Previous Topic: json testing suggestions
Next Topic: signed int64 pack/unpack
Goto Forum:
  

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

Current Time: Sun Nov 24 18:19:42 GMT 2024

Total time taken to generate the page: 0.04891 seconds