[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

[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

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 session handler

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

[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

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 PROTECTED] To: Paul Higgins [EMAIL

Re: [PHP] Re: Active PHP Sessions

2004-05-10 Thread Paul Higgins
. 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 [EMAIL PROTECTED] To: [EMAIL

[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] Re: Active PHP Sessions

2004-05-07 Thread Paul Higgins
, 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 (I believe that is how it works :). I want to keep track of which

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 stored (I believe

[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

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:45 +0200

[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: ?php session_start( ); print( session_id( ) ); print( 'HTML'); print( 'BODY' ); print( ' a href = http://www.mysite.com/shopping_cart/Test2.php;Here/a' ); print( '/BODY' ); print( '/HTML'

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

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]

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 a

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]

[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

[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.

[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