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 value in an

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

RE: [PHP] Site Structure

2001-04-24 Thread John Huggins
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 problems, bear with me it can be quite complicated

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

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 Structure try include

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 Operations

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

Re: [PHP] Site Structure

2001-04-23 Thread Toby Miller
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 23 April 2001 15:58, you wrote: give the include() function a complete path

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 Kurth Bemis
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 23 April 2001 15:58, you wrote: give the include() function

RE: [PHP] Site Structure

2001-04-23 Thread John Huggins
: 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 access to my .inc files. with this Apache config... works

Re: [PHP] Site Structure

2001-04-23 Thread Toby Miller
[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 use the .inc extension unless you've associated it with PHP. The reason is if I type the URL directly to /includes

RE: [PHP] Site Structure

2001-04-23 Thread Jaxon
- 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 directory at all and it is a more secure option

RE: [PHP] Site Structure

2001-04-23 Thread Martin Gottlieb
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 While it is true that you

Re: [PHP] Site Structure

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

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