[PHP] Virtual includes

2002-08-26 Thread Gregory Barker
Hi all,

I'm trying include .php files which reside in alternative directories or
sub-directories. Such as a file which reside in www/chat/page.php, and for
this page I would like to include a file which resides in www/forum/include/

I've tried the following which just results in a error:
include '/forum/include/test.php'; aqnd multiple variations of it.

How do I get around this problem?

Greg


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] setcookie IE6 problem

2002-08-29 Thread Gregory Barker

MS has introduced p3p policy in IE6 which has impacted on cookies etc. If
the site or host does not have a machine generated xml privacy statement,
then stability with regards
to cookies is not guaranteed. Do a search and read up about it. Check out
w3c's site.

- Original Message -
From: "Javier Montserat" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 29, 2002 1:39 PM
Subject: [PHP] setcookie IE6 problem


> I'm setting a session cookie with the following code -
>
> function setSessionCookie(){
>$expires = time()+$this->session_expires;
>$issetCookie = setcookie("$this->cookiename",
> "$this->sess_id",
> "$expires",
> "/",
> ""
>);
> }
>
> Occasionally setcookie seems to fail in IE6, or perhaps when I
subsequently
> retrieve the cookie as a part of the authentication code on each page IE6
> fails to pick up the cookie - either way I get logged out.
>
> Other browsers (NS4, IE5, IE5.5) seem okay.
>
> Any Ideas?
>
> Javier
>
>
> _
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php