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 #173612 is a reply to message #173609] Wed, 20 April 2011 14:12 Go to previous messageGo to previous message
geoff is currently offline  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
[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 29 05:43:05 GMT 2024

Total time taken to generate the page: 0.06659 seconds