Re: how did I wind up with double headers? [message #184574 is a reply to message #184569] |
Sun, 12 January 2014 00:37 |
Doug Miller
Messages: 171 Registered: August 2011
Karma:
|
Senior Member |
|
|
richard <member(at)newsguy(dot)com> wrote in news:g6azku8wa1qg.10do8re9dcoe6$.dlg@
40tude.net:
> For you whiners that insist, here's the damn whole page with code.
Idiot. The only "whiner" here, RtS, is *you*.
You *still* have not figured out that *you* are the only one who can see your PHP code, and
the only thing visible to the rest of the universe is the HTML that it generates, *not* the script
itself -- which means that if you want us to tell you what's wrong with your PHP code, you
HAVE TO include that code in your post. WE CANNOT SEE IT OTHERWISE.
> <!DOCTYPE html>
[...]
> <body>
> <?php
> $go=$_GET['a'];
> if(empty($go)){$go=0;}
>
> if ($go==0){include "http://mroldies.net/home1.php";}
Aaaaaand there's your problem right there.
Hint: what's in that file that you're including?
> if ($go==1){include "http://mroldies.net/test/index2.php";}
> if ($go==2){include "http://mroldies.net/radio/24hours.php";}
>
>
>
> ?>
>
>
> </body>
> </html>
|
|
|