AW: [PHP] Help with PHP/Oracle and serializing data
| From: | Sebastian Stadtlich | Date: | Tue, 26 Jun 2001 15:42:29 +0000 |
| Subject: | AW: [PHP] Help with PHP/Oracle and serializing data | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55256@lists.php.net to get a copy of this message | ||
NO NO NO NO NO NO NO NO
NEVER use long
varchar2 for < 4k
or clob for longer
does long still exist in oracle9 ????
i thought it is supposed to be left out
( as soon as possible )
to your question at first :
why don't you try to overwrite the php session handling funktions?
serialisation is done by them and you need just to save in db
look here : http://www.phpbuilder.net/columns/ying20000602.php3
i always wanted to do that, but newer did...
if you make it code snipplets are welcome
:-]
sebastian
> -----Ursprüngliche Nachricht-----
> Von: infoz [mailto:infoz@earthlink.net]
> Gesendet: Dienstag, 26. Juni 2001 12:42
> An: Michael Champagne; PHP General Mailing List
> Betreff: Re: [PHP] Help with PHP/Oracle and serializing data
>
>
>
> If the data will be less than ~4K, use 'varchar2', otherwise
> use 'long'.
>
> - Tim
> http://www.phptemplates.org
>
> ----- Original Message -----
> From: "Michael Champagne" <mchampagne@capis.com>
> To: "PHP General Mailing List" <php-general@lists.php.net>
> Sent: Monday, June 25, 2001 2:42 PM
> Subject: [PHP] Help with PHP/Oracle and serializing data
>
>
> > I'm developing a web application and would like to be able
> to store the
> state
> > of the application in an Oracle table by serializing a
> bunch of variables
> and
> > storing them in the database. Has anyone done this? What
> datatype would
> be
> > best to use here? I'm not serializing too much data now, but other
> > applications that we do in the future may. Would this be a
> place to use a
> > CLOB or should I stick with varchar2? Thanks!
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>