Re: doctype not found? [message #173612 is a reply to message #173609] |
Wed, 20 April 2011 14:12 |
geoff
Messages: 8 Registered: April 2011
Karma:
|
Junior Member |
|
|
On Wed, 20 Apr 2011 14:28:17 +0200, "Álvaro G. Vicario"
<alvaro(dot)NOSPAMTHANX(at)demogracia(dot)com(dot)invalid> wrote:
> 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);
I have tried a whole lot of variations using
http://www.micro-active.com/index-test.php
which has
<?php
session_start();
ini_set('display_errors', TRUE);
error_reporting(E_ALL);
setcookie("firsttime","no");
$firsttime = $_COOKIE[firsttime];
if (@$firsttime != "no") {
echo "
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN' etc etc
but I cannot get it right - I do see the error message "undfined
constant etc".
I have tried defining it by having
var $firsttime;
var $firsttime = '';
etc etc
but need a little more help please!
Cheers
Geoff
>
>
>
> --
> -- 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
|
|
|