Re: [sqlite] SQLITE_OPEN_READONLY in PHP

2018-10-21 Thread p...@geniais.com
Thanks to Simon Slavin and Tim Streater All replies works fine. Thank you very much Ismael ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] SQLITE_OPEN_READONLY in PHP

2018-10-20 Thread Tim Streater
On 20 Oct 2018, at 17:05, "p...@geniais.com" wrote: > I'm using a C compiled program to write exclusively to a database, and a php > script for reading only (that communicates via socket). > I know I can use sqlite3_open_v2() with SQLITE_OPEN_READONLY in C, but there > is a way to open a

Re: [sqlite] SQLITE_OPEN_READONLY in PHP

2018-10-20 Thread Simon Slavin
On 20 Oct 2018, at 5:05pm, p...@geniais.com wrote: > I'm using a C compiled program to write exclusively to a database, and a php > script for reading only (that communicates via socket). > I know I can use sqlite3_open_v2() with SQLITE_OPEN_READONLY in C, but there > is a way to open a

[sqlite] SQLITE_OPEN_READONLY in PHP

2018-10-20 Thread p...@geniais.com
Hello, I'm using a C compiled program to write exclusively to a database, and a php script for reading only (that communicates via socket). I know I can use sqlite3_open_v2() with SQLITE_OPEN_READONLY in C, but there is a way to open a database for readonly in php (since just one C program is