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

Home » Imported messages » comp.lang.php » doctype not found?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: doctype not found? [message #173609 is a reply to message #173607] Wed, 20 April 2011 12:28 Go to previous messageGo to previous message
alvaro.NOSPAMTHANX is currently offline  alvaro.NOSPAMTHANX
Messages: 277
Registered: September 2010
Karma:
Senior Member
El 20/04/2011 14:20, geoff(at)invalid(dot)invalid escribió/wrote:
> On Wed, 20 Apr 2011 13:00:34 +0200, "Álvaro G. Vicario"
> <alvaro(dot)NOSPAMTHANX(at)demogracia(dot)com(dot)invalid> wrote:
>
>> There is no DOCTYPE *on top* of the document. Even if there was one, you
>
> Álvaro
>
> thanks for your comments.
>
> I have added the doctype etc info to the php at the top of the page
> and now the page is centred in IE9 and the other browsers and W3C HTML
> checker finds no errors.
>
> Seems OK?
>
> Cheers
>
> Geoff
>
> <?php
> session_start();
> setcookie("firsttime","no");
> $firsttime = $_COOKIE[firsttime];

You don't have a constant called firsttime so this should trigger a
notice. You should enable full error reporting when developing:

ini_set('display_errors', TRUE);
error_reporting(E_ALL);



--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
[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: Parameter passing question
Next Topic: My contact form is not emailed to me
Goto Forum:
  

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

Current Time: Fri Nov 22 05:02:11 GMT 2024

Total time taken to generate the page: 0.03970 seconds