[PHPLIB] Some suggestions From: Hamdouni El Bachir (hamdouni <email protected>)
Date: 12/09/99

Hi,
        I have just registred to this list, so i will first introduce what i'm
working on.( an apologize for my english )
        I work on a e-business site, we used php/fi before and want to migrate
to php3, and take this oportunity to rebuild the structure of the site.

- Our ISP (Rapidsite) use the CGI version, but i succeeded to install
phplib though. It's not a very beautifull method but it works, so for
thos who want to know it send me a mail, i don't want to let this method
in the mailling list because they won't appreciate it. Later when i will
rewrite "session.inc" for thos who can't change the track_vars option.
- i suggest to choose $allowcache="no", to be sure that the browser will
get the good page.
- for uniqid if you use the CGI version, you can use the time and the
process id , this will make it really unique (in the same machine). In
the mod_php i don't know if there is something like process id but for
the parsed page?
- don't use page_close after a $sess->delete!! this will insert a record
with the same id again, even if delete has deleted it. And i have a
probleme deleting the cookie by $sess->delete, because page_open calls
$sess->start and this sends it's cookie and even if $sess->delete sends
the delete cookie in the statement order, actually the order is
reversed!!!! the cookie persists whith the old value.

that's all folks
bachir
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.