On Tuesday 25 March 2003 09:02 am, "skate" <[EMAIL PROTECTED]> wrote:
> leaving the connection open creates security questions,
> and also leaves resources open, what if a user closes his
> browser window, how do you know to close the connection?

So are you saying that persistent connections  [ i.e. mysql_pconnect() ]
should never be used?

> if you really want to make it simple, you can edit your
> php.ini to have the username and password as default in
> there, but again, this can be a security risk.
>
> i'm afraid the best way is to include connection code on
> every page...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to