[suspicious - maybe spam] [PHP] [suspicious - maybe spam] Static Keyword

2004-12-30 Thread Paul Higgins
Hi, I was reading this article: http://www.phppatterns.com/index.php/article/articleview/6/1/1/ . I have a question about it. If you create this static Singleton object, does it persist in memory globally? Or is it recreated each time a .php page is requested? Thanks Paul __

[PHP] Caching Database Information

2004-08-25 Thread Paul Higgins
Hello all, I have some questions regarding caching information with PHP. I was thinking that I might cache all information that won't be changing for long periods of time...possibly only once a day or so, instead of querying the database for information every time. My question is: is there su

RE: [PHP] Re: Customer Session Handlers Using MySQL

2004-05-25 Thread Paul Higgins
Would I also have to write the sess_write() and sess_read() functions? If I want to store an array or object, how would I go about doing that? Paul From: Jason Barnett <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [PHP] Re: Customer Session Handlers Using MySQL Date: Tue, 25 May 2004 12:41:

RE: [PHP] Custom Session Handlers Using MySQL

2004-05-25 Thread Paul Higgins
Sorry for the double post, but that should be Custom not Customer. Paul From: "Paul Higgins" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [PHP] Customer Session Handlers Using MySQL Date: Tue, 25 May 2004 13:26:32 -0400 Hello all, I found a quick tutorial on how to write a

[PHP] Customer Session Handlers Using MySQL

2004-05-25 Thread Paul Higgins
Hello all, I found a quick tutorial on how to write a session handler that uses MySQL (http://phpbuilder.com/columns/ying2602.php3?page=1 ). I have a couple of questions regarding this type of session handling: 1) Does this mean that I cannot use the $_SESSION[] variable to enter informatio

Re: [PHP] PHP Session Handlers

2004-05-12 Thread Paul Higgins
Ok, thanks. One other question. If I use the example I cited earlier, are the session values still stored in a flat file? Or do I have to replace that with database entries? Thanks. From: "John W. Holmes" <[EMAIL PROTECTED]> Reply-To: "John W. Holmes" <[EMAIL

[PHP] PHP Session Handlers

2004-05-12 Thread Paul Higgins
Hi all, I just read this tutorial: http://www.phpbuilder.com/columns/ying2602.php3 I understand what each function does and what to do in each function. However, my question is this: If I write my own session handling functions, do I have to explicity call them myself? If so, when do I

Re: [PHP] Re: Active PHP Sessions

2004-05-10 Thread Paul Higgins
ction. Thanks! From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [PHP] Re: Active PHP Sessions Date: Fri, 7 May 2004 12:17:32 -0400 adodb also handles sessions in a database http://phplens.com/lens/adodb/docs-session.htm - Original Message - From: "Paul Higgins&q

RE: [PHP] PHP Website Architecture

2004-05-07 Thread Paul Higgins
Ok, thanks. I didn't think it would make a difference. And I agree, splitting things up makes things a lot easier. Thanks! From: "Ryan A" <[EMAIL PROTECTED]> Reply-To: "Ryan A" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: [PHP] PHP Website Architecture Date: Fri, 7 May 2004 17:51:

[PHP] PHP Website Architecture

2004-05-07 Thread Paul Higgins
Hi all, I have a question regarding website design with PHP. Is it better to have a single PHP script produce different content or have a separate PHP script for every action. For example, if an error occurs, should I have the same PHP script produce an error page or have a separate PHP scrip

Re: [PHP] Active PHP Sessions

2004-05-07 Thread Paul Higgins
<[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [PHP] Active PHP Sessions Date: Fri, 7 May 2004 20:50:18 +0800 On Friday 07 May 2004 20:32, Paul Higgins wrote: > I'm on a shared server, and I do not believe that I have access to the /tmp > directory where the session files are

RE: [PHP] Re: Active PHP Sessions

2004-05-07 Thread Paul Higgins
ive PHP Sessions Date: Fri, 7 May 2004 15:30:29 +0200 "Paul Higgins" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I'm on a shared server, and I do not believe that I have access to the /tmp > directory where the session files are stored

[PHP] Active PHP Sessions

2004-05-07 Thread Paul Higgins
Hi all, I'm on a shared server, and I do not believe that I have access to the /tmp directory where the session files are stored (I believe that is how it works :). I want to keep track of which sessions are active. Basically, I just want a list of the active sessions for my site. How can I

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
When I thought about what the compay really told me...it didn't make sense. All I know is that that cookie will not save on my WinXP box, but it will save on my Linux box. Are there any special headers that I could use? Paul From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [PHP

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
If there is something in $_COOKIE, what does that mean? That there is a cookie somewhere? Or is it appending the Session ID to the URL? Paul From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [PHP] PHP Sessions - Cookies Not Saving Date: Fri, 5 Mar 2004 15:24:32 +1100 (EST) Is it

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
AAAGGGH!! I asked my hosting company where they were stored...on the server...I am so mad at myself...all that time wasted. Thanks for the help though...it was much appreciated! Paul From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sub

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
When I do: print_r($_COOKIE); I get the following: Array ( [PHPSESSID] => 11781ce29c68ca7ef563110f37e43f38 ) Does that mean its setting the Cookie? I can't see the cookie on my computer. I don't have cookies disabled because I'm getting cookies from other sites. The privacy setting is set to

[PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
Hi everyone, I'm trying to create a session with PHP. I'm using the following code: print( session_id( ) ); print( ''); print( '' ); print( ' http://www.mysite.com/shopping_cart/Test2.php";>Here' ); print( '' ); print( '' ); ?> Now, I'm trying to view this site on a WinXP bo

[PHP] PHP Sessions and Cookies

2004-03-03 Thread Paul Higgins
I have a couple of questions regarding sessions and cookies: 1) Is there a way to append information to a cookie? I have read that it is, but I have also read many problems. Is there any particular way to do this? I ask this because cookies are being generated by two different types of scri

[PHP] Cookies

2004-02-29 Thread Paul Higgins
Hi everyone, I have a bit of a dilemma. I am using a Miva Shopping Cart, not through any desire of mine but my client wants it, at least for now. However, instead using the provided Store front, we want to create our own. Here is the dilemma: Miva uses cookies, which is fine. However, the

[PHP] PHP Sessions

2004-02-29 Thread Paul Higgins
Hello everyone, I'm beginning to experiment with PHP sessions. I was wondering if it is possible to place objects into the session? Thanks, Paul _ Take off on a romantic weekend or a family adventure to these great U.S. location