[PHP-DEV] Persistent Storage (Between requests) From: Dan Libby (danda <email protected>)
Date: 01/25/00

I'm writing a PHP module in C. I'm currently using PHP 4,beta 2. I
would like to store a hashtable between requests. (yes, using malloc,
not emalloc.) I found the php3_plist_insert / find functions. However,
since these only accept indexed values and require you to know the index
at lookup time, I'm unable to do this. In other words, yes I can store
my hashtable in the persistent hashtable, but I am unable to store the
index, therefore it is forever lost. The examples seem to indicate that
the index should be passed in by the caller, but in my case this should
all be transparent to the caller (cacheing).

What am I missing? If there really isn't a way to do this, how safe is
it to use globals?

thx.

-dan

ps, please reply to me directly, as I'm no longer on this list.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>