* 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
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
I would suggest putting your includes out of the web tree.
/.../website/htdocs/admin
/.../website/htdocs/images
/.../website/includes
This may be totally inappropriate for now, but is a good habit to get into.
Call the includes with the full pathname. I know this stinks, but is a good
solution
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
> Asunto: [PHP] Site Str
16 matches
Mail list logo