* Thus wrote Blaine ([EMAIL PROTECTED]):
>
> I also read that ini_set() can be used in an .htaccess in the root
> directory of each domain, subdomain and directory where pages may use
> sessions. It would look something like:
>
> php_value session.cookie_domain .domain.com
>
> Setting the valu
I am contemplating the structure for a new site. I would like to
organize the site with sub domains as in
domain.com
subdomain1.domain.com
subdomain2.domain.com
subdomain3.domain.com
I understand that sessions are not passed from domain to domain or
domain to subdomain. I did some searching and
an
> Cc: PHP General Mailing List
> Subject: RE: [PHP] Site Structure
>
>
>
> G'day all, I thought I'd mention how I developed my last project and got
> around some of these problem
G'day all, I thought I'd mention how I developed my last project and got
around some of these problems, bear with me it can be quite complicated.
===
In the development we had to develop on many different servers, mine a
"Toby Miller" <[EMAIL PROTECTED]> wrote:
> While it is true that you don't have to put your files in the web
directory
> at all and it is a more secure option there is still one very large
> inconvenience that prevents me from going with that option. You lose the
> usefulness of just including "$D
to:[EMAIL PROTECTED]]
> > Sent: Monday, April 23, 2001 3:44 PM
> > To: indrek siitan
> > Cc: PHP General Mailing List
> > Subject: Re: [PHP] Site Structure
> >
> >
> > While it is true that you don't have to put your files in the web
> > directory
&g
duction servers, AND you can keep
your includes out of a web server accessible directory.
Martin Gottlieb
-Original Message-
From: Toby Miller [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 3:44 PM
To: indrek siitan
Cc: PHP General Mailing List
Subject: Re: [PHP] Site Structure
W
-Original Message-
> From: Toby Miller [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2001 3:44 PM
> To: indrek siitan
> Cc: PHP General Mailing List
> Subject: Re: [PHP] Site Structure
>
>
> While it is true that you don't have to put your files in the web
&g
]>
To: "Toby Miller" <[EMAIL PROTECTED]>; "Jordan Elver"
<[EMAIL PROTECTED]>
Cc: "PHP General Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, April 23, 2001 1:22 PM
Subject: RE: [PHP] Site Structure
> Hi,
>
> > Also, it's not a good idea to
e-
> From: Kurth Bemis [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2001 1:24 PM
> To: Toby Miller; Jordan Elver
> Cc: PHP General Mailing List
> Subject: Re: [PHP] Site Structure
>
>
> At 01:12 PM 4/23/2001, Toby Miller wrote:
>
> personally i deny all acces
ot;Jordan Elver" <[EMAIL PROTECTED]>
>To: "Ben Cairns" <[EMAIL PROTECTED]>
>Cc: "PHP General Mailing List" <[EMAIL PROTECTED]>
>Sent: Monday, April 23, 2001 11:28 AM
>Subject: Re: [PHP] Site Structure
>
>
> > Hi,
> > Thanks fo
Hi,
> Also, it's not a good idea to use the .inc extension unless you've
> associated it with PHP. The reason is if I type the URL directly to
> /includes/header.inc I will get the source code for that file in text
> format.
you don't have to keep your .inc files in the web server document
root
gt;
Cc: "PHP General Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, April 23, 2001 11:28 AM
Subject: Re: [PHP] Site Structure
> Hi,
> Thanks for the reply. I can do that but then the images will not be in the
> correct location?
>
> Jordan
>
> On Monday 2
solution if you define most of your path with a variable.
> -Original Message-
> From: Jordan Elver [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2001 10:56 AM
> To: PHP General Mailing List
> Subject: [PHP] Site Structure
>
>
> Hi,
> I have a site
Hi,
Thanks for the reply. I can do that but then the images will not be in the
correct location?
Jordan
On Monday 23 April 2001 15:58, you wrote:
> give the include() function a complete path:
>
> include '/apache/htdocs/include/yourfile.inc.php';
>
>
> -- Ben Cairns - Head Of Technical Operati
Or better yet:
include( "$DOCUMENT_ROOT/includes/header.inc" );
Martin Gottlieb
-Original Message-
From: Renzi, Sebastian [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 10:56 AM
To: 'Jordan Elver'; PHP General Mailing List
Subject: RE: [PHP] Site Struct
try
include('../includes/header.inc');
Sebastián Renzi
ConsultorÃa & Desarrollo de Sistemas.
CODES S.A
> -Mensaje original-
> De: Jordan Elver [SMTP:[EMAIL PROTECTED]]
> Enviado el: lunes 23 de abril de 2001 11:56
> Para: PHP General Mailing List
Hi,
I have a site structure like:
-> root
---> includes
---> admin
---> images
I'm using headers and footers and they are in the includes directory. My
pages in the root directory include the files like:
include('includes/header.inc');
Thats woprks fine, but i want to be able ti use the same
18 matches
Mail list logo