RE: [PHP] Writing to files
| From: | Chris Kay | Date: | Wed, 27 Feb 2002 07:43:09 +0000 |
| Subject: | RE: [PHP] Writing to files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86378@lists.php.net to get a copy of this message | ||
The data will be stored in mysql, but I don't wish to store in sql
untill its completed.
In case a user leave the application before completing it.
-------
Chris Kay, Eleet Internet Services
chris@eleet.com.au
-------
-----Original Message-----
From: Warren Vail [mailto:warren@availabletech.com]
Sent: Wednesday, 27 February 2002 6:37 PM
To: Chris Kay; php-general@lists.php.net
Subject: RE: [PHP] Writing to files
What you are describing is exactly how session management works, storing
things in a file in the /tmp directory. Perhaps you could consider
using the session save handler functions to store the session data in
your protected database (MySQL?).
Warren Vail
-----Original Message-----
From: Chris Kay [mailto:chris@eleet.com.au]
Sent: Tuesday, February 26, 2002 11:19 PM
To: php-general@lists.php.net
Subject: [PHP] Writing to files
Question I have is, Anyway know of a better way to store temp
information?
I have a problem that a script I use, uses many pages and after each
page the information from the form Is stored and the next page is shown
ect....
It uses more than 20 variables so I can not store the data in cookies. I
could store the data in a temp file created but problem is that the
webserver would need to create The file which is a security risk (I
would like to find another way other than this). I don't really want to
use sessions but if it's the last resort I guess I will have to.
Other than the above any one have a better soluition?
Running php 4.1.1 on RH7.2
-------
Chris Kay, Eleet Internet Services
chris@eleet.com.au
-------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php