The flags correspond to those for the open() system call. (Typically 0 means read-only, 1 means write-only, and 2 means read and write.)
Returns a dbase_identifier for the opened database, or FALSE if the database couldn't be opened.
Nota: Quando safe-mode è abilitato, PHP controlla che i file o le directory sulle quali stai andando a lavorare, abbiano lo stesso UID dello script che è in esecuzione.