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.
Not: safe-mode etkin olduğunda, PHP çalıştırdığınız betiğin işlem yaptığınız dosya(lar)/dizin(ler) ile aynı UID"e sahip olup olmadığını kontrol eder.