Re: Writing to files
| From: | William Lovaton | Date: | Thu, 28 Feb 2002 22:07:14 +0000 |
| Subject: | Re: Writing to files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86661@lists.php.net to get a copy of this message | ||
There is no need to use cookies, sessions, write to a file or somethings
like that... just pass the vars from a page to another through hidden
fields in the next page form.
Eg.
<input type="hidden" name="myHiddenVar" value="<?= $myHiddenVar
?>">
William
El mié, 27-02-2002 a las 02:18, Chris Kay escribió:
>
> 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
> -------
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com