|
Posted by Ivαn Sαnchez Ortega on 03/23/06 02:35
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
x0054 wrote:
> Finally, try to use persistent connection. That is, create a DB
> object, open it in the beginning of the script and don't close it until
> the script has finished.
Well, technically, a persistent connection is never closed - the PHP engine
keeps it open, so the next script to "open" a persistent connection does
not open it - it reuses the connection from a previously run script.
See php.net/mysql_pconnect ...
- --
- ----------------------------------
IvΓ‘n SΓ‘nchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
Cabeza: El aparato con que pensamos quΓ© pensamos.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEIe1O3jcQ2mg3Pc8RAl3tAJ4m1A4zviByJFgYZt/vRgj1E5jzHgCfSypD
Gd9oZS+L7Ct7dLhkxadg0o8=
=naUp
-----END PGP SIGNATURE-----
Navigation:
[Reply to this message]
|