Re: [PHP] Site structure and sessions

2003-07-25 Thread Curt Zirzow
* 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

RE: [PHP] Site Structure

2001-04-24 Thread John Huggins
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

RE: [PHP] Site Structure

2001-04-24 Thread Matthew M. Boulter
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

Re: [PHP] Site Structure

2001-04-23 Thread Steve Werby
"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

Re: [PHP] Site Structure

2001-04-23 Thread Meir kriheli
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

RE: [PHP] Site Structure

2001-04-23 Thread Martin Gottlieb
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

RE: [PHP] Site Structure

2001-04-23 Thread Jaxon
-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

Re: [PHP] Site Structure

2001-04-23 Thread Toby Miller
]> 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

RE: [PHP] Site Structure

2001-04-23 Thread John Huggins
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

Re: [PHP] Site Structure

2001-04-23 Thread Kurth Bemis
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

RE: [PHP] Site Structure

2001-04-23 Thread indrek siitan
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

Re: [PHP] Site Structure

2001-04-23 Thread Toby Miller
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

RE: [PHP] Site Structure

2001-04-23 Thread John Huggins
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

Re: [PHP] Site Structure

2001-04-23 Thread Jordan Elver
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

RE: [PHP] Site Structure

2001-04-23 Thread Martin Gottlieb
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

RE: [PHP] Site Structure

2001-04-23 Thread Renzi, Sebastian
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