How do you set the working directory? Where is your Sqlite DB file?
You are just opening a file name, not a pathname so your working
directory is whatever your web server uses for CGI data.
Francesco Andrisani wrote:
Hi comunity,
i have the follow problem.
I've insert into a C-CGI page a small sqlite3 code.
When i call the page from a browser, it exec a query and show on browser the
entries, but it don't work.
If i add a "printf" above the sqlite3_open() it print the message, but if i put
the instruction after the sqlite2_open() it don't swow the message.
Under i put my piece of code:
printf("\nhello [1]");
if (sqlite_open("myDB.db", &db));
error_handle(db);
printf("\n hello [2]");
Regards.
F.
________________________________________
Francesco Andrisani
Software Engineer
mailto: [EMAIL PROTECTED]
Gruppo Acotel
http://www.acotel.com <http://www.acotel.com/>
Via della Valle dei Fontanili, 29
00168 Roma
Tel: +39661141270
Fax +3966149936
________________________________________
Le informazioni contenute nella comunicazione che precede possono essere
riservate e sono, comunque, destinate esclusivamente alla persona o all'ente
sopraindicati. La diffusione, distribuzione e/o copiatura non autorizzata del
documento trasmesso da parte di qualsiasi soggetto รจ proibita. La sicurezza e
la correttezza dei messaggi di posta elettronica non possono essere garantite.
Se avete ricevuto questo messaggio per errore, Vi preghiamo di contattarci
immediatamente. Grazie.
This communication is intended only for use by the addressee. It may contain
confidential or privileged information. Transmission cannot be guaranteed to be
secure or error-free. If you receive this communication unintentionally, please
inform us immediately. Thank you.
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------